Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If/Or Formula - Which formula do I use?
I'm trying to set up a formula that pulls a dollar amount from a separate
worksheet. If the cell in my worksheet contains the number 1, I want it to pull a certain dollar amount. If the same cell contains the number 3, I want it to pull a different dollar amount. If the same cell contains the number 6, I want it to pull a different dollar amount. If the same cell contains the number 11, I want it to pull a different dollar amounts. All of these dollar amounts are listed in a worksheet in the same document. Can this be done? If so, what type of formula should I use? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If/Or Formula - Which formula do I use?
An If statement like this should do what you want:
if(a1=1,certain dollar amount,if(a1=3,different dollar amount,if(a1=6,still different,if(a1=11,more different,"Not 1,3,6 or 11")))) Or you could use Vlookup. -- Regards, Fred "JenniferS30" wrote in message ... I'm trying to set up a formula that pulls a dollar amount from a separate worksheet. If the cell in my worksheet contains the number 1, I want it to pull a certain dollar amount. If the same cell contains the number 3, I want it to pull a different dollar amount. If the same cell contains the number 6, I want it to pull a different dollar amount. If the same cell contains the number 11, I want it to pull a different dollar amounts. All of these dollar amounts are listed in a worksheet in the same document. Can this be done? If so, what type of formula should I use? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If/Or Formula - Which formula do I use?
How about a making a VLOOKUO table on sheet2 with the dollar amounts and a
VLOOKUP formula on sheet1 that pulls depending upon what value is in a cell? Sheet2 Column A contains the numbers 1, 3, 6, 11 etc. Column B contains appropriate dollar amounts. Sheet1 has a variable number in A1 B1 contains this formula =VLOOKUP(A1, Sheet2!$A$4:$B$4,2,FALSE) Gord Dibben MS Excel MVP On Tue, 18 Dec 2007 14:44:00 -0800, JenniferS30 wrote: I'm trying to set up a formula that pulls a dollar amount from a separate worksheet. If the cell in my worksheet contains the number 1, I want it to pull a certain dollar amount. If the same cell contains the number 3, I want it to pull a different dollar amount. If the same cell contains the number 6, I want it to pull a different dollar amount. If the same cell contains the number 11, I want it to pull a different dollar amounts. All of these dollar amounts are listed in a worksheet in the same document. Can this be done? If so, what type of formula should I use? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible | Excel Discussion (Misc queries) | |||
copy formula down a column and have cell references change within formula | New Users to Excel | |||
Build excel formula using field values as text in the formula | Excel Worksheet Functions | |||
Excel 2002 formula displayed not value formula option not checked | Excel Worksheet Functions | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions |