PC Review


Reply
Thread Tools Rate Thread

Calculation of a number in a range

 
 
=?Utf-8?B?S3Jpc3Rh?=
Guest
Posts: n/a
 
      5th Jul 2006
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 With Quote
 
 
 
 
=?Utf-8?B?ZGFudw==?=
Guest
Posts: n/a
 
      5th Jul 2006
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

 
Reply With Quote
 
=?Utf-8?B?U2xvdGg=?=
Guest
Posts: n/a
 
      5th Jul 2006
=A1*CHOOSE((A1>0)+(A1>100000)+(A1>250000),0.15,0.12,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

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      5th Jul 2006
=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" <(E-Mail Removed)> wrote in message
news:954B627B-A655-42AE-9096-(E-Mail Removed)...
> 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 With Quote
 
=?Utf-8?B?ZGFudw==?=
Guest
Posts: n/a
 
      5th Jul 2006
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

 
Reply With Quote
 
=?Utf-8?B?S3Jpc3Rh?=
Guest
Posts: n/a
 
      5th Jul 2006
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" <(E-Mail Removed)> wrote in message
> news:954B627B-A655-42AE-9096-(E-Mail Removed)...
> > 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 With Quote
 
S Davis
Guest
Posts: n/a
 
      5th Jul 2006
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with range value calculation rda Microsoft Excel Worksheet Functions 5 7th Apr 2008 03:25 AM
highlight range, apply calculation to data in cells and paste special to same range S Himmelrich Microsoft Excel Discussion 2 6th Nov 2007 11:48 PM
convert range of numbers in one record into range of single-number records shadowsong@gmail.com Microsoft Access Queries 15 28th Jul 2007 02:39 AM
Manual Calculation For Range Only =?Utf-8?B?RnJlZA==?= Microsoft Excel Misc 2 1st Apr 2004 01:11 PM
range.calculation with UDF not working when calculation is set to automatic Brian Murphy Microsoft Excel Programming 5 14th Oct 2003 07:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.