IF Formula

Roopen

Board Regular
Joined
Apr 10, 2008
Messages
158
Hi All,

As always, I am after your help....

I have in column H either "ESPS" "LDCS" "NGDB" and in another workbook (called Assumptions I have the above with say "ESPS = 20%" LDCS = "11% and "NGDB = 30%" Assume cells A1 A2 A3

I want a formula that will state that if the cell in H states ESPS it will multiply column B by 20% (from the assumptions workbook)

Hope the above makes sense :eek:
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Roopen - maybe not an IF formula but a VLOOKUP.

Create a small table in the Assumptions workbook where:

A1 = ESPS, A2 = LDCS, A3 = NGDB and B1 = 20%, B2 = 11%, B3 = 30%

Then you formula in cell H2 will be:

=B2*VLOOKUP(H2,Assumptions!$A$1:$B$3,2,0)

trust this helps, Ian R.
 
Upvote 0
Try this array formula

=B2*MID(INDEX([Book2]Sheet1!$A1:$A10,MIN(IF(ISNUMBER(FIND(H2,[Book2]Sheet1!$A1:$A10)),ROW([Book2]Sheet1!$A1:$A10)))),
FIND("= ",INDEX([Book2]Sheet1!$A1:$A10,MIN(IF(ISNUMBER(FIND(H2,[Book2]Sheet1!$A1:$A10)),ROW([Book2]Sheet1!$A1:$A10)))))+2,99)
 
Upvote 0
XLD,

Thank you also, the formula is huge but also works a treat...

Appreciate the swift response

Regards

Roopen
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,649
Members
448,975
Latest member
sweeberry

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