#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default IF formula

I need a formula that gives a value based on what is typed in cell b2.
Lets say b2 is less that 1000 I need it to multiply b2 by 10%, but if it
between 1000 and 2000 then multiply by 15%, or if greater than 2000 multiply
by 20%

Can someone help me out with this. Thanks
--
Greg KY
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF formula

Try one of these:

=B2*LOOKUP(B2,{0,1000,2000},{0.1,0.15,0.2})

=B2*IF(B2<1000,10%,IF(B2<2000,15%,20%))

--
Biff
Microsoft Excel MVP


"Greg KY" wrote in message
...
I need a formula that gives a value based on what is typed in cell b2.
Lets say b2 is less that 1000 I need it to multiply b2 by 10%, but if it
between 1000 and 2000 then multiply by 15%, or if greater than 2000
multiply
by 20%

Can someone help me out with this. Thanks
--
Greg KY



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default IF formula

Is this what you want:

=IF(B2<1000,B2*10%,IF(B2<2000,B2*15%,B2*20%))


--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast
Noida, India


"Greg KY" wrote:

I need a formula that gives a value based on what is typed in cell b2.
Lets say b2 is less that 1000 I need it to multiply b2 by 10%, but if it
between 1000 and 2000 then multiply by 15%, or if greater than 2000 multiply
by 20%

Can someone help me out with this. Thanks
--
Greg KY

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default IF formula

I used the second one and works great Thanks
--
Greg KY


"T. Valko" wrote:

Try one of these:

=B2*LOOKUP(B2,{0,1000,2000},{0.1,0.15,0.2})

=B2*IF(B2<1000,10%,IF(B2<2000,15%,20%))

--
Biff
Microsoft Excel MVP


"Greg KY" wrote in message
...
I need a formula that gives a value based on what is typed in cell b2.
Lets say b2 is less that 1000 I need it to multiply b2 by 10%, but if it
between 1000 and 2000 then multiply by 15%, or if greater than 2000
multiply
by 20%

Can someone help me out with this. Thanks
--
Greg KY




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default IF formula

Works great Thank you
--
Greg KY


"Satti Charvak" wrote:

Is this what you want:

=IF(B2<1000,B2*10%,IF(B2<2000,B2*15%,B2*20%))


--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast
Noida, India


"Greg KY" wrote:

I need a formula that gives a value based on what is typed in cell b2.
Lets say b2 is less that 1000 I need it to multiply b2 by 10%, but if it
between 1000 and 2000 then multiply by 15%, or if greater than 2000 multiply
by 20%

Can someone help me out with this. Thanks
--
Greg KY



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF formula

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Greg KY" wrote in message
...
I used the second one and works great Thanks
--
Greg KY


"T. Valko" wrote:

Try one of these:

=B2*LOOKUP(B2,{0,1000,2000},{0.1,0.15,0.2})

=B2*IF(B2<1000,10%,IF(B2<2000,15%,20%))

--
Biff
Microsoft Excel MVP


"Greg KY" wrote in message
...
I need a formula that gives a value based on what is typed in cell b2.
Lets say b2 is less that 1000 I need it to multiply b2 by 10%, but if
it
between 1000 and 2000 then multiply by 15%, or if greater than 2000
multiply
by 20%

Can someone help me out with this. Thanks
--
Greg KY






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



All times are GMT +1. The time now is 05:22 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"