Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm not sure if this is possible or not but what I would like to do is take a
value of a cell say E2 and then in another cell perform a calculation that varies depending on the value in E2, for example: If E2 is between 0.01 and 29.99 calculate E2*5.25% or If E2 is between 30.00 and 599.99 then calculate 1.57+(E2-29.99)*3.25% In another cell I would like to have a set value inserted based on the value of E2, for example: If E2 is between 0.01 and 0.99 then insert 0.15 If E2 is between 1.00 and 4.99 then insert 0.20 If E2 is between 5.00 and 14.99 then insert 0.35 etc. Is any of this possible? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try the two formulas:
=CHOOSE(MATCH(E2,{0.01,30,600}),E2*5.25%,1.57+(E2-29.99)*3.25%,NA()) =LOOKUP(E2,{0.01,1,5},{0.15,0.2,0.35}) Michael Wright wrote: I'm not sure if this is possible or not but what I would like to do is take a value of a cell say E2 and then in another cell perform a calculation that varies depending on the value in E2, for example: If E2 is between 0.01 and 29.99 calculate E2*5.25% or If E2 is between 30.00 and 599.99 then calculate 1.57+(E2-29.99)*3.25% In another cell I would like to have a set value inserted based on the value of E2, for example: If E2 is between 0.01 and 0.99 then insert 0.15 If E2 is between 1.00 and 4.99 then insert 0.20 If E2 is between 5.00 and 14.99 then insert 0.35 etc. Is any of this possible? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Lori,
They work perfectly. "Lori" wrote: Try the two formulas: =CHOOSE(MATCH(E2,{0.01,30,600}),E2*5.25%,1.57+(E2-29.99)*3.25%,NA()) =LOOKUP(E2,{0.01,1,5},{0.15,0.2,0.35}) Michael Wright wrote: I'm not sure if this is possible or not but what I would like to do is take a value of a cell say E2 and then in another cell perform a calculation that varies depending on the value in E2, for example: If E2 is between 0.01 and 29.99 calculate E2*5.25% or If E2 is between 30.00 and 599.99 then calculate 1.57+(E2-29.99)*3.25% In another cell I would like to have a set value inserted based on the value of E2, for example: If E2 is between 0.01 and 0.99 then insert 0.15 If E2 is between 1.00 and 4.99 then insert 0.20 If E2 is between 5.00 and 14.99 then insert 0.35 etc. Is any of this possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
shading a cell based on another cell with not value | Excel Discussion (Misc queries) | |||
Cell Limitations ? Formatting and Size when exporting to Tab based Text file? | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Linking a cell to another workbook cell based on a variable name | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |