Using a pop up menu to assign selections to a number

Hello,
I'm trying to setup a bonus calculator based on a pop up menu box selection.  The pop up menu box contains 3 different job levels.  I wanted to assign each job level to a number.  Then I have a different formula using that result in its selection of data.  What would be the best route to go about this? I thought an if statement but not having much luck. =IF(C9='Restaurant','1',=Else(C9='Market','2',=Else(C9='Region','3')))
Cell C9 is my pop up menu with selections of Restaurant, Market, Region
Thanks for the help everyone. For some reason my mind is blocked at the moment.
Billy Grace

If you have only three possible values then a nested IF statement can do the job:
=IF(C9="Restaurant",1,IF(C9="Market",2,3))
Not there is no explicit "else" in the syntax. The "else is implied.
=IF(<expression>,<value displayed if the expression is true>, <value displayed if expression is not true, i.e. the "else">)
If you have more than three possible values, then a lookup table will be more practical.
SG

Similar Messages

  • I want to keep a Pop Up Menu blank when not used?

    I've got a spread sheet that in several cells that I have a Pop Up Menu assigned and the first menu shows up in the cell in all of the cells for the Pop Up Menu. What I'd like to have is to keep those cells blank with no text or anything unless I click on the cell and use the Pop Up Menu.
    Hopefully someone understands what I'm trying to do here.

    Todd,
    Your new question can be construed as, sort of, similar if you use the Conditional Format route.
    Select all the cells where you want to have this effect, and set a Conditional Fornat where "Equal To: 0" results in Text Color of the same as your cell background Fill, usually White.
    An IF-test in the cells with the percentage calculation will wortk too. Let's say your base value is in Column A.
    =IF(A>0, A*X%, "")
    where X is the amount of the percentage you are calculating will blank the cell on a zero result.
    Regards,
    Jerry

  • Using COUNTIF on time values in pop-up menu (employee schedule template)

    I have modified the Numbers employee schedule template to my liking and it works very well. I would like to add a column to the beginning which shows, at a glance, how many people I have scheduled for AM shifts and PM shifts on a given day. My AM shifts start at 9:00 AM and my PM shifts end at 6:30 or 8:30 PM.
    So I thought I could use COUNTIF, but after I set the array, I cannot get the condition right to return anything except "0". How do you make it detect the appropriate times? The times in each cell for In and Out times are selected using a pop-up menu, just like the template.
    Here is what I tried: =COUNTIF(E3:AE3,"9:00 AM")
    What should the condition be to return a proper count?

    ac,
    You shouldn't feel badly about having trouble with this template. It is a rather tricky one. The values in the Pop-Up menus are Date/Time values. That is to say, they have year, month, day, hour and minute components, even if only the hours and minutes are displayed. So if you only compare to the hours and minutes, you will never get a match.
    I don't know if you have experienced this yet, but when you changed the Pop-Up menu content, you probably entered the current year, month and day unknowingly and will have trouble doing math against the Pop-Up content that was originally in the template.
    My suggestion in your case would be to convert the time references to decimal hours before doing a comparison. For instance, if the time you wish to compare to is in cell C4, you could extract the decimal hours with =HOUR(C4)+MINUTE(C4)/60
    Remember that the hours will reflect a 24-hour day, so times in the afternoon will run from 12.0 to 23.99...
    Then after converting to decimal, instead of using "9:00 AM" for the COUNTIF criteria, use 9.
    There are probably ways to do this using the Duration format as well, but I prefer the decimal hours.
    Hope this helps.
    Jerry

  • Chart from pop up menu values

    I have a table that lists project names on the Y axis and a month/year designation on the X axis.  For each project, I have a status assigned for each month.  The statuses are selected from a custom pop-up menu in the Numbers table. 
    I would like to create a bar chart that uses the same Y and X axis labels, but designate a different color for each status and have it displayed on the bar.  Attached below is a graphic of a manually updated table in Excel that I would like to automate in Numbers.

    Wayne's suggestions regarding software dedicated to this purpose is well taken. Here are some further thoughts on using Numbers to produce a GANT-like chart.
    The first is similar to what you appear to have done in Excel—each month is represented by a coloured cell. In the example below, I've used a pop=up menu in each cell to select one of the stages in your projects, and conditional formatting to set the colour of the cell and the text according to the choice made.
    I chose slightly different colours for the text and fill so that the text resulting in the colours can be seen. Pretty much a hands-pn do-it-yourself solution; no bells or whistles at this point.
    The second, below is a bit closer to automated, but has some flaws, nted below the images.
    "Data" is the table on which the start dates for each stage are recorded. Where one stage is skipped (as in Project 2) the 'start' date for that stage (evaluation) is set to the same date as for the next stage.
    For chart is an auxiliary table, where DATEDIF(start,finish) is used to calculate the number of days between beginning and end of each stage. The chart is a Stacked Bar Chart, with the first bar's fill set to 'none'.
    For Chart uses three fomulas:
    A2: =Data :: A2
    This copies the project name from the first column of "Data". Fill down from A2.
    B2: =IFERROR(DATEDIF($A$1,Data :: D2,"D"),"")
    Fill down to the end of column B.
    A1 of this table contains the date and time value for the last day of the previous year (Dec 31, 2011 00:00:00). I've left this displayed , but it could be hidden.
    Data::D2 contains the start date for the first stage (Exploring) of the project.
    C2: =IFERROR(DATEDIF(Data :: D2,Data :: E2,"D"),"")
    Fill down the rest of column C, and right to column F (Delivery).
    This is the same formula as in column B. It differs only in the cell references containing the dates between which the difference is calculated.
    The chart is constructed by selecting cells B2:F5 on For Chart, then choosing the (horizontal) stacked bar chart from the Chart button's menu. Click the three bars icon that appears at the top left of the selected cells to change from 'series in column' to 'series in row'.
    Limitations:
    Except for a scatter chart,Numbers charts cannot use Date and Time values on a Value axis. Here, I've used numbers representing the day-of-year number.
    Numbers permits a maximum of 10 divisions on a Value axis, which isn't enough to break a year into months. The best possible, for appearance, is to set the maximum to 360 days, then use six divsions, each 60 days, to place the vertical grid lines.
    If you also fix the size of the chart, you could replace these numbers along the x axis with the equivalent dates, entered into one or more text boxes, then spaced to match the chart's vertical grid lines (and points between these lines).
    An interesting exercise, but not, I'm afraid, a fantastic solution.
    Regards,
    Barry

  • Pop-up menu feature and IE issues

    I am using Firework MX 2004, Version 7.0 Build 288, to create drop down menus using the “Pop-up Menu” feature. The pop-up menus that I create work great in Netscape and Firefox, but fair in IE 6.0. The pop-up menus appear under certain elements such as select boxes in IE 6.0. I have read and tried some of the solutions on Blogs in regard to setting the z-index in div tags, but to no avail. Any help or work around would be greatly appreciated! Unfortunately, the huge company I work at switched from Netscape to IE 6.0 as the corporate platform, and I don’t have the patients to upgrade Fireworks if that is the solution. The last time I upgraded from Fireworks 4 toFirework MX 2004 the Macromedia Tech Support area had to e-mail me special registry entries for the product registration to work, and it took a very long time. I still have the emails to remind me of the pain. Thanks William!

    I found this:  http://kb2.adobe.com/cps/158/tn_15842.html
    And this:
    Fireworks generated html and javascript calls its layers with a z-index beggining with a value of 1. Try doing a search of text external JS file and you will see your menus.
    I would rename the offending layer that runs over the top of the menu layers in the with z-index:0
    Also this:  http://www.adobe.com/devnet/fireworks/articles/fw8_popups.html
    Hope something here works, that being said...the menus from that version arenb't very good. a better solution is CSS menus. A quick solution is from Project Seven here:http://projectseven.com/products/menusystems/pmm2/index.htm for $95. It's a DW extension and simple to use. Alkso compatiple with most browsers.

  • Pop-up menu to list multiple time values (8:00 AM etc.) ?

    I was looking at the option of using a pop-up menu to select times (8:00 AM etc.) from to keep from having to enter all the times in my spreadsheet manually. Has anyone done this before and is there a download or widget for this? Unfortunately for me, I would need it to be in increments of 5 minutes starting from 7AM to 7PM or so, which would be a tremendous amount of parameters added to a traditional pop-up menu.
    Thanks for any input.

    T25 wrote:
    Thanks for the insight, it seems to make good sense to me with your process to create multiple pop-ups and/or sliders. Since I'm still new to iWork Numbers though, are the tables you illustrated in your reply saved in a separate spreadsheet to use as a reference for the pop-up in other, separate spreadsheets? Is that what LOOKUP is used for (to reference another sheet)?
    My invoice has a single cell for an "IN" time and another for an "OUT" time; all incorporated to a fairly "busy" invoice that can't accommodate any additional cells in those areas.
    Both tables are on the same sheet, but I placed them on separate tables on that sheet.
    They don't have to be on separate tables, and they don't have to be on the same sheet, but they do have to be in the same document, as Numbers does not provide for linking to separate documents/files.
    With the busy invoice in your case, you could place the popup and slider cells (two of each) on a separate table, and only the result cells on the same table as your invoice. The popups and sliders could go on the same table as the lookup array, but that table would then have to be both visible and unlocked.
    Placing the Lookup array on a separate table allows you to lock that table to prevent accidental changes to it. You can also easily hide the Lookup table by placing it behind the main table (your invoice), or on a second sheet in your document.
    Placed on the same table as the rest of the invoice, you can still hide it simply by hiding the two columns containing the lookup information.
    An alternate method, requiring no extra cells or tables would be to Use Insert Date and Time (in the Insert menu, or from the keyboard with shift-option-command-D ) to insert the date and time directly.
    There are some complications with this which might make it unusable, depending on how many people need to be trained and how well they take to training. Insert Date and Time starts with the assumption that what you really want to do is insert the date. Changing its mind takes a couple of extra steps that must be done immediately, and each time.
    1. Click on the cell to select it.
    2. Go Insert > Date and Time (or press shift-option-command-D )
    3. Before taking any other action, double click the cell (which will now be displaying the current date) to open a small dialogue.
    4. In the dialogue, use the popup menu to choose one of the Time only formats.
    5. Click outside the dialogue to dismiss it.
    The cell will now contain the current Date and Time value, and will display the current time.
    Note that the Time, when inserted this way, will be the time that the insertion was done, and won't be rounded to the nearer five minutes.
    You'll find a discussion of LOOKUP (and the two related functions, VLOOKUP and HLOOKUP in the iWork Formulas and Functions User Guide, and an excellent overview of Numbers (including explanation of the terms I've used above) in the Numbers '09 User Guide. Both can be downloaded using the menu items in the Help menu in Numbers. Both are recommended reading for new and old users of Numbers alike.
    Regards,
    Barry

  • Formula to paste data that exists beside a pop-up menu.

    I'm using a pop-up menu that I share between two tables, Table-A and Table-B. (I copy the original pop-up menu in Table-A to Table-B)
    In Table-B want to populate the cell beside the value I select from the pop-up menu with the value of the cell beside the pop-up selection in Table-A
    How can that be done?

    Hi Dean,
    There are several ways to do this. LOOKUP() and its variants VLOOKUP() and HLOOKUP() are made for this. LOOKUP() will settle for a close match which is great in some cases, deadly in others and in your case irrelevant since you are using popups.
    quinn

  • Pop up menu links dont work

    i have created a pop up menu in fw then brought it into my
    page using "fw insert html" into dw. saved the page as template. i
    then modified it w/ behaviours to have internal page links. i have
    already resolved the issue of the menu text showing thru the menu
    colors by adding a wider border and making it dark so they wont be
    seen. now the links from the pop up menu dont find the pages. i
    have partially resolved the issue on the first page view but once
    the page is found the menu doesnt work at all on the second page
    using the pop up menu that are duplicated into all the pages from
    the template.
    any ideas?? help!!

    Well, I found a coworker with CS4 and the popup menu editor appears to work.  Further confirming that this may be a bug.

  • How to sum a specific category in pop up menu?

    For my expences i use a pop up menu
    how can i make a cell that will only add the numbers under ( eg. grocery )
    Thank you

    Trad,
    The function SUMIF was designed to do what you are asking.
    SUMIF
    The SUMIF function returns the sum of a collection of numbers, including only numbers that satisfy a specified condition.
    SUMIF(test-values, condition, sum-values)
    test-values:  The collection containing the values to be tested. test-values is a collection containing any value type.
    condition:  An expression that results in a logical TRUE or FALSE. condition is an expression that can contain anything as long as the result from comparing condition to a value in test-values can be expressed as a Boolean value of TRUE or FALSE.
    sum-values:  An optional collection containing the numbers to be summed. sum- values is a collection containing number, date/time, or duration values. It should have the same dimensions as test-values.
    Regards,
    Jerry

  • Importing multiple files using the Import File menu.

    For some reason I am never able to add more the 5 mp3 files using the Import File menu. All of my files are located on the NAS device and if I select the Import Folder menu all the files in the folder will be imported. However, time after time I add more files to the same folder and then need to import just the new files to iTunes. For that I am using the Import File menu. If select more then 5 files, only 5 files will be imported. Some times I have 100 new files that I want to add, and moving 5 files a time is time consuming and painful. I try opening the folder, selecting all files and dropping them into iTunes, but that did not work. Is there a way to import more than 5 files at a time, or iTunes is not capable doing that?

    I am often surprised how many ways there are to add songs to iTunes. Selecting a number in the open file dialog must have a maximum string length for the file names. I bet that the path and file name are long on those songs and that is why you can only load 5 at a time from your NAS. What I have had luck with and is very easy is to select a group of songs and right click and "play" them. My iTunes is set to import and organize on play. The first song starts playing and they all load. I routinely do this with entire albums without problem.
    Paul

  • Pop-up Menu with numbers and letters

    When using a pop up menu i only have numbers in there e.g. $50. What i want to have in there is 3hrs instead of $50 because that's what will be relevant but
    the formula sees 3hrs as $50 so the spreadsheet still works. If i add letters eg $50 = 3hrs I get the following error message
    It would be great if its could say 3hrs instead of $50  4hrs instead of $70  5 hrs instead of $80
    Hope that all makes sense and someone can help me
    Many thanks
    Danny Kirk

    Hi Danny,
    When you put a mixture of numbers and letters into a cell, Numbers treats it as a (text) string. The arithmetic operators ( +, - * and / ) work only with numbers, duration values, and Date & Time values. You are getting an error because a formula using the value placed in the cell by the pop-up menu expects a number, but you have given it a (text) string.
    You can supply the operator with the number 50, formatted as currency ( $50 ), or you can provide a duration ( 3h ). If you place the operator into a formula that can use the type of value you choose, you will not get the error message.
    There does not appear to be a linear relationship between the number of hours and the number of dollars. Unless you can specify a relations ship that can be expressed mathematically, you will need to use a lookup table to match the hour values in the pop-up's menu to the related dollar value to be returned.
    Here's a simple example. Note that "3h" (without the quotes) as used in SGIII's example above is a Duration value, "3hrs" (again without the quotes) will be interpreted by Numbers as a duration, and will be automatically reformatted to display as "3h". The dollar amount has been entered (and displayed) as a number. The Amount column on the Main table has been formatted as Currency, with the default two decimal places.
    The formula in each cell of Main::Column A is: =LOOKUP(B,Lookup :: A,Lookup :: B)
    (LOOKUP is the name of the function used. "Lookup" is the name of the table from which the information is retrieved.)
    Regards,
    Barry

  • Pop-up menu in cell format is missing categories

    In one column I have been using a pop-up menu. It has been working fine until now. When data is added to a new row the pop-up has no catagories. If I copy and paste the appropriate catagory from another row it works fine.
    Tried to copy into the whole column without success.
    Don't know how to fix it.
    OS 10.8.4
    Number '09 version 2.3

    As far as I know, and I've had Numbers 09 since the day it was released, nothing has changed in this regard.
    I wonder if previously you were meeting the autofill requirements, without knowing what they were, and then changed something in your layout.
    I'd be happy to take a look at your layout and suggest changes to fix this for you.
    Jerry

  • Print menu different since upgrading to Lion 10.7.4.  Pop up menu no longer has Preview and lost paper size selection.  Photos all printing credit card size.  Still using iPhoto 6.0.6.  Have upgraded printer drivers.

    Print menu is different since upgrading to Lion 10.7.4.  Pop up menu no longer has Preview and lost paper size selection.  Photos are all printing credt card size and I can't get it changed.  (Have tried changing in Page Setup.)  Have upgraded my printer drivers, but still no luck.  Still using iPhoto 6.0.6.

    A slow boot time can be caused by login items.
    User Login Items:
        Flux
        NoSleep
        ClipMenu
        Canon IJ Network Scanner Selector2
        BetterTouchTool
        USBOverdriveHelper
        TotalFinder
        Gmail Notifr
    Open System Preferences > Users & Groups > Login Items
    Remove one login item noted above then restart your Mac to test. It may be one or multiple items causing the slow boot.

  • How do you assign a value for Products in a Pop-up menu?

    I am preparing production cost spread sheet. In one column I2 - I have a pop up menu with lamination types to be selected - ie: None, Standard Film, Vehicle Film, Liquid Coating. I want to be able to associate values of these costs in column J2 - On another table (Laminating Costs) I have set values for each product ie: None = 0, Standard Film = $1, Vehicle Film =$2 and Liquid Coating =$0.5 -
    Therefore if I select Liquid Coating from the from the Pop-up menu in I2 on the main spread sheet - I want to see the associated cost of $0.5 appear in J2 by referencing the Laminating Costs table - I have tried various SUMIF formulas with no luck - Could someone point me in the right direction please.
    Thanks

    You can assign values to the items using a lookup table.
    http://discussions.apple.com/thread.jspa?threadID=2539456&tstart=0

  • Keyboard shortcut to open a cells pop-up menu and select from list of options.

    I guessed Option-Return would be the shortcut from this, as it typically lets you edit a cells contents, but no. Read the keyboard Shortcuts list in Numbers>Help but didn't see anything.

    Hi ts,
    Thanks for drawing my attention to this! Let's add some missing detail…
    While "you just press spacebar" to open the pop-up menu, that won't select a menu item.
    After you've opened the menu, 'you could press the first letter' of an entry, ( 'like every other pop-up list on Earth,') or you could press the down arrow to step down the list (and the up arrow to step up, if you went beyond the item you wanted to choose).
    And you can change your mind; the menu will stay open until you confirm your choice (by pressing the space bar again, OR by pressing return OR by pressing enter).
    Note that pressing the first letter will select the 'smallest' item name beginning with that letter. To move to another item name starting with that letter, you'll need to use the up or down arrow key (or the mouse).
    Thanks again for posting. With luck, WideEyedPupil will still be monitoring this discussion, and will see these posts.
    Regards,
    Barry

Maybe you are looking for

  • Share an itunes between two separate accounts on the same macbook pro

    My Partner and I share a macbook pro - we both have indidiual accounts. Our itunes music is all showing on the iTunes in his account. However, I log him out and then log into mine the iTunes is empty.... Is there a way that we can share the iTunes an

  • Need information regarding ILM

    Hi All, Can anybody tell me about ILM product? I know it has 3 main component as Data Archiving, Retention Management, Retention Warehouse.  As per my understanding i think it comes with NetWeaver 7.0.1. But is it a SAP product or add-on? With help o

  • [solved] Printing via Cups fails

    Hello Community, software: extra/poppler 0.20.0-1 [installed] extra/cups 1.5.3-4 [installed] extra/cups-filters 1.0.18-2 [installed] aur/cups-xerox 2008.01.21-1 [installed] for some days I have some bad problems with my two printers (a dell and a xer

  • Failed upgrade from 2.1 to 3.0

    OS: Fedora Core 6 Oracle: oracle-xe-univ-10.2.0.1-1.0 Current Apex: Product Build:      2.1.0.00.39 I used Apex that was bundled with XE for some time. Now I tried to upgrade, but ran into many errors like this: create or replace package body wwv_flo

  • Study Material for 1Z0-146

    Hi All, I have recently completed my Developers OCA and wish to complete OCP as well. Have gone through the the exam topics, can anyone suggest reference or books which be sought useful for 1z0-146. Regards, Gaurang