Pop up menu and specific result in another cell
I have a cell with a pop up menu that displays the numbers 0-50 (in increments of 10 (0,10,20,30,40,50). I need another cell to display a specifice value once the pop up cell is chosen. How do i do this?
HI flacko,
Your best choice here is probably a lookup table containing the possible values of the popup in column A, and the desired result value in column B.
Here's an example.
I've added a "Choose" item to the pop-up menus ( "--" ) and made that the default value. The VLOOKUP function is included as the do-if-false part of an IF statement that keeps its cell 'blank' if a choice hasn't yet been made.
Main::B2: =IF(A="--","",VLOOKUP(A,Lookup :: $A:$B,2,FALSE))
The fourth argument of VLOOKUP ( FALSE ) makes VLOOKUP require an exact match, and isn't really necessary here, as every possible search value is included in column A of the Lookup table.
Regards,
Barry
Similar Messages
-
Where is the Patterns pop-up menu, and how do I make the little ?
Where is the Patterns pop-up menu, and how do I make the little crapper pop up? (huh. They don't have and emoticon for furious.)
I have been searching the "Help" system for hours. All I want to do is find a picture of an empty blue sky to put behind two airplanes.From the Toolbox, select the Paint bucket tool
In the Paint bucket options at the top, change from "Foreground" to "Pattern".
Click on the Pattern block to the right and the Pattern dialog will pop up. -
is there a formula I can use to link a choice from pop-up menu to a $ amount in adjacent cell? i.e. if Item 1 is chosen, adjacent cell populates $125. if Item 2 is chosen, adjacent cell populates $250. it seems like this must be possible. Help please!
Hi Gabe,
You could use an IF statement in the second cell.
Popup in column B, two items: "This", That" (without the quotes)
Formula in same row of column C
Format the cell in column C as currency.
If there are more than two items in the popup menu, it's better to use a lookup table containing the same list as the popup in column A, with the corresponding values in column B:
C5: =LOOKUP(B,List :: $A,List :: $B)
Regards,
Barry -
Drag the contents of a cell and drop it into another cell
dear frankson,
pls send the source code for drag the contents of a cell and drop it into another cell.When I drag and Drop on a Mac (OS 10.2.3), the OS
builds a transparent image of the component being
dragged and uses it instead of the default cursors.
This wouldn't be a big problem except that the
component it renders is the ENTIRE spreadsheetThis is the default behavior on Mac. You can manually set the dragimage in startdrag(...) in dragGestureRecognized(). So you just need to create an image of what your are actually dragging.
If you simple want to remove the image just set it to some 1x1 pixel image or a transparent gif... -
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 -
In table 1 I have 4 sets of options under the heading "CATEGORY" which will make up a pop up menu in the first cell. "Slat fencing", "standard pool fencing", "Non standard pool and garden fencing" and "Louvres" if I choose one of these 4 categories from a pop-up menu I need the next column to indicate another set of pop up menu's that change according to the first cell that I chose. I.E. I have 2 cells in a table. If I choose "Standard pool fencing" from a pop up menu in the first cell I need the pop up menu in the second cell to show the options Flat top Black, Flat top other colour, Semi frameless glass, Frameless glass.
Any help would be greatly appreciated.
Regards, Brendan.
TABLE 1
CATEGORY
SUB CATEGORY
Slat fencing
Aluminium privacy screens
Knotwood timber grain
knotwood standard powder coated
Standard pool fencing
Flat top Black
Flat top other colour
Semi frameless glass
Frameless glass
Non standard pool and garden fencing
Flat top
loop top
rod top
loop and spear
rod and spear
level spear
hi/lo spear
florence
mondello
venice
sorrento
carini
verona
milan
Pisa 2
Pisa
Meditteranean
Pescara
Louvres
fixed horizontal louvre 85mm elliptical blades
operable horizontal louvres
Vertical louvres (Stefmar) using 65x16 aluminium slats
160mm vertical louvres
TABLE 2
CATEGORY
SUB CATEGORY
Slat fencing
Knotwood timber grainBrendan,
Let me try to explain using a similar but different method:
All the lines are shown for information flow and would not normally be included.
The table in the top left is a working table where you interact with the information:
You first select a category using a slider. As you slide left and right the "value" (shown as 2 in column B) will change. As the value changes the Category changes because the information is looked up from the category table (highlighted with a blue shaded background in the first picture.
The subcategory will also change as you modify the slider in column "B" because you are changing the category, which selects which table is used for the sub-category (sub-category tables are highlighted in light green). Once you select the category you can then slide through the possible selections for the subcategory (column "D").
There are only two formulas and they are in the "Work" table:
A2=IFERROR(VLOOKUP(B2,Category :: A:C, 2, FALSE), "<Not Found>")
C2=IFERROR(VLOOKUP(D2, INDIRECT(A2),2,FALSE), "<NOT FOUND>")
For A2=IFERROR(VLOOKUP(B2,Category :: A:C, 2, FALSE), "<Not Found>").... this means in cell A2 enter the text "=IFERROR(VLOOKUP(B2,Category :: A:C, 2, FALSE), "<Not Found>")" omit the first and last double quote
This whole scheme requires the tables be named the same as the categories in the "Category" table
I hope this helps. If not please indicate what is causing you trouble. -
Need help with pop-up menu and applied Rules
I'm working on a spreadsheet that calculates my profit and losses. I drive a big rig so it needs to keep track of a lot of variables so I know if I'm going to make money on a run or lose money.
I get fuel discounts of various amounts depending on which vendor I fuel at.
I went to a section of the sheet and did a pop-up menu that contains the vendor names.
In the trip section I have cost of fuel per gallon, gallons purchased, total fuel cost, cost minus fuel surcharge.
What I would like to do is apply a rule to cost per gallon box (H7) that takes a variable from the pop-up menu (B40).
So if H7 has $2.58 entered as a cost and B40 has pilot selected then $0.050 will automatically be deducted from the $2.58. This way I will have a history of where I fuel, the deduction is made automatically, and I have a history of fuel prices in a certain region.
If anyone looks at this and sees a simpler way of figuring this calculation please make the suggestion. I want to keep this sheet as small and hassle free as possible.
I have 3 fuel stops per trip with totals that are connected to other areas. Once I get all of this done I will be adding a chart for easy comparison and long range simple tracking to see where improvements can be made and costs are going.
Thanks in advance all help will be appreciated.
Message was edited by: Hwoodwriter for clarification.The IF Lookup table worked. Did a little modification by placing the table in another part of the chart then hiding that part.
I tried doing the discount as a negative but got a negative total which had a negative affect on my total trip income.
Here is how it works in it's final version.
Gallons on board minus gallons required for trip.
Cost per gallon (retail) multiplied by gallons purchased.
Fuel cost equals (Gallons purchased multiplied by Retail gallon price) minus ("IfLookup" multiplied by Gallons purchased)
Fuel Cost Minus Fuel Surcharge (the actual price I pay, which includes all my savings) equals (Retail Gallon Cost minus Fuel Surcharge minus "IfLookup") multiplied by Gallons Purchased.
Some of my trips take up to 3 fuel stops. So this helps me keep track of each fuel stop and all savings per trip.
I now have where I fueled, the retail price, with discount and surcharge applied. A few keystrokes and I know if a trip is going to be profitable or a loss for me.
Thank you for the help. I now have what I need at my fingertips to make my job more effective.
Thanks again. -
Fireworks pop up menu and flash
hi,
I want to have a page layout like adobe.com. Fireworks Pop up
menu on top and flash swf file beneth it, but my Fireworks css pop
up menu is hidden by flash swf file embeded when I bring it all
together in Dreamweaver.
I guess this is because embeded files superceed the css
z-indexing but how do I overcome this isue. As I can see it can be
done at adobe.com.All Active content on a page will always rise to the top, so
to speak,
including Flash, certain form elements, Java applets, and
Active X controls.
This means that each of these will poke through layers. There
is not a good
cross-browser/platform reliable way to solve this issue, but
if you can be
confident in your visitors using IE 5+ or NN6+, then you can
use the Flash
wmode parameter.
MM articles:
http://www.macromedia.com/support/flash/ts/documents/flash_top_layer.htm
http://www.macromedia.com/support/flash/ts/documents/wmode.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"sonneym" <[email protected]> wrote in
message
news:e3tgtr$kbb$[email protected]..
> hi,
> I want to have a page layout like adobe.com. Fireworks
Pop up menu on top
> and
> flash swf file beneth it, but my Fireworks css pop up
menu is hidden by
> flash
> swf file embeded when I bring it all together in
Dreamweaver.
> I guess this is because embeded files superceed the css
z-indexing but how
> do
> I overcome this isue. As I can see it can be done at
adobe.com.
> -
Pop up menu and if function ?
i am try to do set a if function, but it keep getting error
there is a pop up menu in C1, Lunch and Dinner
if C1 = Lunch, Sushi tip out is 4%
If C1 = Dinner, Sushi tip out is 5%
=if(C1="lunch",(B9*0.04),(B9*0.05)
isn't working
can anyone help?
thxHere is my suggestion:
C9=B9*(0.04+IF(C1="Lunch", 0, 0.01))
I think the only problem you had was that lunch in your formula was spelled "lunch" but was being compared to the value from the pop-up menu spelled "Lunch"... which is different -
Copying a cell /results/ into another cell
i have a set of totals in different sections and i want to COPY this number result so that it actively updates in the destination cell. the originating cell is a SUM of about ten items above it and when i simply copy and paste this origination cell into the destination cell the destination cell wants to SUM up the ten cells above /it/.
i am using "numeric" for all my cells and i am wondering if i need to change the destination cells to some other format so that it will simply accept the final number but i also want to make sure this destination cell will UPDATE when the origination cell changes.
any advice please and/or search terms for this operation?
i've gotten backed up by weeks getting OCD (and a little carpal tunnel) with my formatting so i am trying to close out the learning curve on this effort ASAP before going back in and studying documentation on numbers 3.0.
THANK YOU for any help with this.HW,
you are thinking of how data flows backwards. you are thinking that copy takes the result from a cell, when, in fact, it takes the formula OR the value (if it is not a formula). To "get" the value out of a cell you refer to that cell from another cell-- thereby "pulling" the result out of the cell.
The search terms woudl be "cell", "reference"
In the destination cell (the cell where you want a /COPY/ type the equal sign, then click the cell where the sum resides (even if its in another table, or another sheet).
If you you do not want to try the click method, then you can type the reference as follows:
assume the cell where the sum resides is
Sheet 1
Table 1
cell A20
Then in the cell where you want the /COPY/ type:
"=Sheet 1 :: Table 1 :: A20" without the double quotes
All the best.
Wayne -
Making a cell required based on specific input in another cell
Well I am posting this again but I am guessing that nobody in the Adobe forum world knows the answer to my question. Maybe LiveCycle can't do this....
I have a table with 6 columns and 3 rows. 1 row equals 1 record of data. Not all the cells within each row are required to make a complete record of data. Staff cannot remember all the whne's and why's for each cell's data so I want to make the form interactive. If they enter specific data into one field then I want the required fields to highlight in RED.
Example:
If staff enter a code that begins with a "3" into the CODE cell, then I need the Location, DUp Svc, & SS cells within the same row to turn RED. I know this is basic but I am stumped and cannot locate an answer that is helping me at this moment. Any help - GREATLY APPRECIATED!!!
Name
CODE
Location
Time
Dup Svc
SS
Joe
300
Sarah
301
Jenny
359In the exit event of the code field you would put (in formcalc):
if (Left($,1) == 3) then
[name of your location cell].validate.nullTest = "error"
[name of your DUp Svc cell].validate.nullTest = "error"
[name of yourSS cell].validate.nullTest = "error"
endif
then you would put in the location etc cells in the exit event (also in formcalc)
if ($.isNull == 0) then
$.validate.nullTest = "disabled"
endif -
I wish to link or send a cell from one file or "shell" with a specific quantity or text to another cell in another file or "shell". For example. I wish to send all general ledger (one data enty File or "sheet") entries into their specific individual accounts. (in seperate files or "sheets"). Is this possible in Numbers?
Hi cochise0011;
A picture of tables would be much easier to comprehend the querry.
Regards, -
I thought I was doing just great with my pop up menus. They
were working great...until I took a look a the site with IE. The
little arrow for the sub menu is blanked out with the ugly red x. I
checked with both a new mac and my PC. I wouldn't mind if the arrow
totally didn't show up, but that place holder stinks. How do I get
rid of it? I have tried adjusting the code, but just know a fix for
the IE problem.
Anyone have any ideas? I can't have menus that don't work
right.Heh - did I ever say I was on vacation? NOT.... 8)
Driving my youngest daughter to college for a summer research
project would
be more like it.... 8)
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Virginia Carter" <[email protected]>
wrote in message
news:g3ugjs$sgq$[email protected]..
> With laptops and wireless access...is anyone ever REALLY
on vacation? :)
> --
>
> Virginia Carter
> Carolina Web Creations
> ======================
> www.carolinawebcreations.biz
>
> Mad Dog wrote:
>> I thought you were on vacation?
>>
>> Murray *ACE* wrote:
>>> Any broken image link in IE shows a red "x".
>>>
>>> Of course, we can't know about yours without
looking at your code.
>>>
>>>
>>>
>>> "obietemp" <[email protected]>
wrote in message
>>> news:g3ud9n$p2c$[email protected]..
>>>> I thought I was doing just great with my pop
up menus. They were
>>>> working great...until I took a look a the
site with IE. The little
>>>> arrow for the sub
>>>> menu is blanked out with the ugly red x. I
checked with both a new
>>>> mac and my
>>>> PC. I wouldn't mind if the arrow totally
didn't show up, but that
>>>> place holder
>>>> stinks. How do I get rid of it? I have tried
adjusting the code,
>>>> but just know
>>>> a fix for the IE problem.
>>>> Anyone have any ideas? I can't have menus
that don't work right.
>> -
Calculate a box and put result in another
I'm trying to get the multiple of a decimal box so for example
Box1 will have the number 100
You then need to tick a check box to multiply it
Box2 will store the answer
I have the following but it doesn't work
var Aprox = topmostSubform.IFFPage6.Page.FirstCustomer.decApproxNetIncom.rawValue
Aprox=Aprox*7
topmostSubform.IFFPage9.Page.decFirstExpend.rawValue = Aprox
**THIS CODE IS PLACED ON THE MULTIPLY BUTTON**
It's also a click function as I have another button that I want to do a divided by 12
Any help would be greatMaybe this could help you:
And then you use the following script in the calculate event of the box2 field.
Hope it will helps you,
Mandy -
Query database and return result set to cells.
hello all i have vsto solution im building im trying to put together a generic query text box for my end user the only problem is that it appears to be that with oracle data access when you do a query you must pass all the values to a variable.
Sub Orcl()
Dim oradb As String = "Data Source=(DESCRIPTION=(ADDRESS_LIST=" _
+ "(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))" _
+ "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xxx)));" _
+ "User Id=xx;Password=xx;"
Dim conn As New Oracle.DataAccess.Client.OracleConnection(oradb) ' Visual Basic
conn.Open()
Query = select * from fabinvh
Dim cmd As New Oracle.DataAccess.Client.OracleCommand
cmd = conn.CreateCommand()
cmd.Connection = conn
cmd.CommandText = Query
Dim dr As Oracle.DataAccess.Client.OracleDataReader = cmd.ExecuteReader()
While dr.Read()
Globals.ThisAddIn.Application.ActiveCell.Value = (dr.Item(1))''' HOW DO I CHANGE HERE TO JUST BRING IN ALL THE COLUMNS AND HEADERS?
Globals.ThisAddIn.Application.ActiveCell.Offset(1, 0).Select()
End While
dr.Dispose()
cmd.Dispose()
conn.Dispose()
End Subthanks in advance im able to do this with oo4o rather easily but I'm tryint go learn more of the odp.net oracle data access and learning is pretty slow right now.ok I think im getting closer to my answer i believe i need to use the
GetValues. property. does anyone have an example on how to use this i keep getting errors when i try it.
Maybe you are looking for
-
File - File integration scenario in SAP XI 3.0
I am trying a simple file <-> file scenario in XI 3.0 . I am reading file content from an FTP server , having a simple mapping program in XI and then writing it to another foler on the FTP server. I am completely new to XI , however worked on TIBCO E
-
Education Cess and Sec Edu Cess not appearing in Excise Invoice
Hi all i have a small issue and I am not very familiar with the CIN configuration. When I capture the excise invoice, only Basic Excise Duty is appearing in the invoice but Education Cess and Secondary Education Cess which is there in Sales Invoice i
-
How far back in time does iCal go (accurately)?
Silly question, I know, but is there a built in limit or a point at which iCal becomes inaccurate?
-
Hi everyone, May I ask something of you guys? I have a question that no one can seem to answer. I don't know which is the best profile to use--the HP sRGB Profile, the ICC sRGB BPC, the ICC sRGB with no BPC, or no profile (just colorspace tagged as s
-
"Help About" dialog still shows 8.0 after applying 8.0.1 patch
Hello all, I was wondering if anyone who has successfully applied the patch sees version 8.0.1 in the Help > About dialog box. I updated via the Help > Update option and I did see the update downloaded. I was then asked to close Elements 8 so the pat