Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Calculation of a number in a range

I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Calculation of a number in a range

Try
=IF(A15<100000,A15*0.15,IF(A15<250000,A15*0.12,A15 *0.1))

"Krista" wrote:

I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 252
Default Calculation of a number in a range

=A1*CHOOSE((A10)+(A1100000)+(A1250000),0.15,0.1 2,0.1)

this should get you what you need.

"Krista" wrote:

I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 380
Default Calculation of a number in a range

=A1*LOOKUP(A1,{0,100001,250001},{0.15,0.12,1})

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Krista" wrote in message
...
I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Calculation of a number in a range

SORRY...REPLACE "A15" WITH "A1"

"danw" wrote:

Try
=IF(A15<100000,A15*0.15,IF(A15<250000,A15*0.12,A15 *0.1))

"Krista" wrote:

I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Calculation of a number in a range

Thanks much everyone!

--
Krista


"Bob Phillips" wrote:

=A1*LOOKUP(A1,{0,100001,250001},{0.15,0.12,1})

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Krista" wrote in message
...
I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default Calculation of a number in a range

Hmm, this is fun:)

Alright, create a little table first (dashes - signify new column)
......D - .....E - .................F
1) 0 - 100000 - ...........0.15
2) 100001 - 250000 - 0.12
3) 251000 - 500000 - 0.10

Now your formula is:

=A1*(VLOOKUP(A1,$D$1:$F$3,3))

That's it:) I know someone beat me to this, but I had this window open
for an hour:)

Krista wrote:
I need to create a formula for the following:

If A1=any number from 0 to 100,000 then A1*.15
If A1=any number from 101,000 to 250,000 then A1*.12
If A1=any number from 251,000 to 500,000 then A1*.10

Any suggestions?

Thanks much!
--
Krista


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 I stop Excel interpretting a number range as a date? Paul Excel Discussion (Misc queries) 2 April 26th 06 11:49 PM
End of range changes when I add a number Julian New Users to Excel 2 April 5th 06 09:04 AM
how can I return a value in excel that looks at a range of number Help in Excel Excel Worksheet Functions 1 March 9th 06 08:27 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
How to add one number to a range of numbers BatonRougeguy Excel Worksheet Functions 1 February 16th 05 06:47 AM


All times are GMT +1. The time now is 10:07 AM.

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

About Us

"It's about Microsoft Excel"