Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I would like a formula that will add preset amounts to another amount.
If my cost for an item is <$25 I would like to mark it up by $5, if it is $25 but <$100 I would like to mark it up by $10, if it's 100 but <250 I would like to mark it up by $15, etc. Is there a formula that will do this for me? Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Duke,
There a many ways of accomplishing this. One way would be (assuming your data is in cell A1): =A1+INDEX({5,10,15,20},MATCH(A1,{0,25,100,250},1)) HTH, Ryan "Duke" wrote: I would like a formula that will add preset amounts to another amount. If my cost for an item is <$25 I would like to mark it up by $5, if it is $25 but <$100 I would like to mark it up by $10, if it's 100 but <250 I would like to mark it up by $15, etc. Is there a formula that will do this for me? Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Mon, 6 Mar 2006 15:11:44 -0800, Duke
wrote: I would like a formula that will add preset amounts to another amount. If my cost for an item is <$25 I would like to mark it up by $5, if it is $25 but <$100 I would like to mark it up by $10, if it's 100 but <250 I would like to mark it up by $15, etc. Is there a formula that will do this for me? Thanks. You didn't cover amounts exactly equal to 25 and 100, so I've assumed a "=" =A1+IF(AND(A1=100,A1<250),15,IF(AND(A1=25,A1<100 ),10,5)) I didn't know whether your "etc." comment meant you have other ranges. If so just adjust to taste. HTH Richard Buttrey __ |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is exactly what I'm looking for....Thanks for all your help guys!!!
-Duke "Richard Buttrey" wrote: On Mon, 6 Mar 2006 15:11:44 -0800, Duke wrote: I would like a formula that will add preset amounts to another amount. If my cost for an item is <$25 I would like to mark it up by $5, if it is $25 but <$100 I would like to mark it up by $10, if it's 100 but <250 I would like to mark it up by $15, etc. Is there a formula that will do this for me? Thanks. You didn't cover amounts exactly equal to 25 and 100, so I've assumed a "=" =A1+IF(AND(A1=100,A1<250),15,IF(AND(A1=25,A1<100 ),10,5)) I didn't know whether your "etc." comment meant you have other ranges. If so just adjust to taste. HTH Richard Buttrey __ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HOW DO MATCH AND ELIMINATE AMOUNTS IN TWO COLUMNS IN EXCEL | Excel Worksheet Functions | |||
Linking total amounts | Excel Worksheet Functions | |||
How can I sum amounts formated as B O L D only? | Excel Discussion (Misc queries) | |||
How can I sum only amounts that are in BOLD format within a column | New Users to Excel | |||
sumproduct to add total amounts for the month | Excel Worksheet Functions |