If Formula

tmk0427

Board Regular
Joined
Dec 14, 2005
Messages
61
Office Version
  1. 365
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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
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.
 
Upvote 0
That's a different range than you originally posted, but perhaps:

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

Forum statistics

Threads
1,211,686
Messages
6,103,296
Members
447,853
Latest member
olddutch7

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
Back
Top