If Formula

tmk0427

Board Regular
Joined
Dec 14, 2005
Messages
50
I'm trying to create a formula that goes like =if(b4 is between 0 and 10000, b5*b4, if(b4 is between 10001 and 20000, b6*b4, if(b4 is between 20001 and 30000, b7*b4 etc...

Please advise.

Thanks.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Perhaps:

=INDEX($B$5:$B$7,-INT(-($B$4/10000)))*B4
 

tmk0427

Board Regular
Joined
Dec 14, 2005
Messages
50

ADVERTISEMENT

IF Formula Clarification

Here's how my spreadsheet looks: I'm trying to get a result in cell A1 that shows =if(b4 is between 0 and 10,000, c4*b4, if(b4 is between 10,001 and 20,000, d4*b4, if(b4 is between 20,001 and 30,000, e4*b4).

b4
10000
c4
2%
d4
4%
e4
6%

I hope this amply clarifies my need. Thanks again.
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
That's a different range than you originally posted, but perhaps:

=INDEX(C4:IV4,-INT(-(B4/10000)))*B4
 

Forum statistics

Threads
1,141,720
Messages
5,708,090
Members
421,546
Latest member
delatollas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top