Named Ranges with If Statement

orangecasa

New Member
Joined
Jan 23, 2018
Messages
2
Hello,
I want to use named ranges in my formula to reduce the size of my if statement. If I type 530,000 into H7 then I want a formula in F8 to reference the "starting range" and "end range" to include the corresponding multiplier range number that will be multiplied by the H7 value. Example is below along with named ranges and table. I know how to do this with a long if statement, but am looking to shorten it.



Named Ranges

"Starting Range"= I:I
"Ending Range" =J:J
"Multiplier"= K:K


<tbody>
</tbody>
Column GColumn H
I1(Starting Range)
J (Ending Range)
K (Multiplier Range)
0
500,000
.1
500,001
600,000
.12
600,001
700,000
.14
700,001
800,000
.16
H7 Value
530,000
H8 Calc.
63,600

<tbody>
</tbody>

Example


If F7 Value=$530,000
Then F8 Value= H7 "530,000"*K2 ".12"
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Unknown
GHIJK
1Column GColumn HI1(Starting Range)J (Ending Range)K (Multiplier Range)
205,00,0000.1
35,00,0016,00,0000.12
46,00,0017,00,0000.14
57,00,0018,00,0000.16
6
7Value530000
8Calc.63600
9
Sheet3
Cell Formulas
RangeFormula
H8=LOOKUP(H7,$I$2:$I$5,$K$2:$K$5)*H7
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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