Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke
 
Posts: n/a
Default How do I add 5 to amounts <25, 10 to amounts 25<100, etc?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ryan Poth
 
Posts: n/a
Default How do I add 5 to amounts <25, 10 to amounts 25<100, etc?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Richard Buttrey
 
Posts: n/a
Default How do I add 5 to amounts <25, 10 to amounts 25<100, etc?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke
 
Posts: n/a
Default How do I add 5 to amounts <25, 10 to amounts 25<100, etc?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW DO MATCH AND ELIMINATE AMOUNTS IN TWO COLUMNS IN EXCEL SNOWBREEZE3 Excel Worksheet Functions 1 October 13th 05 10:10 PM
Linking total amounts Lenora B via OfficeKB.com Excel Worksheet Functions 0 September 7th 05 07:49 AM
How can I sum amounts formated as B O L D only? wanda Excel Discussion (Misc queries) 4 March 12th 05 06:32 PM
How can I sum only amounts that are in BOLD format within a column Wanda New Users to Excel 1 March 11th 05 08:32 PM
sumproduct to add total amounts for the month Annette Excel Worksheet Functions 6 November 24th 04 04:39 PM


All times are GMT +1. The time now is 04:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"