Multiple IF statement - Alternative method

mrsushi

Board Regular
Joined
Nov 18, 2006
Messages
180
Office Version
  1. 2010
HI, I have an IF statement which cannot add more if statements because it uses more levels of nesting than are allowed in the current file format.

Is there an alternative way of writing the below formula?

Many thanks

=IF(G3="ORDINARY SHARE","YES",IF(G3="AUTH UNIT TRUST-CAPITAL UNITS","YES",IF(G3="RIGHTS","YES",IF(G3="AUTH UNIT TST-INC(CGT EXEMPT)","YES",IF(G3="ICAV Capital Units","YES",IF(G3="ADR","YES",IF(G3="REIT","YES",IF(G3="OEIC","YES","NO"))))))))
 
How about
Excel Formula:
=IF(OR(N8={"JPM EM-BIG Price","High Yield","BarCap-GCF","Bloomberg BVAL(BVIC)"}),N8&" Ladder used",IF(N8="Manual","Manually Overwritten",""))

Thanks Fluff...worked a treat!
(y)
 
Upvote 0

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
You're welcome & thanks for the feedback.
 
Upvote 0
I have another issue which is an IF statement.....

Column D has the narrative "BID". Column E has a BID price and Column G has a Ask Price.

My formula is trying to make the above work ie if D is BID, if E = G, then apply a spread. If not equal to each other then "OK"

Struggling with the below formula

=IF(D5,E5=BID(E5=G5),"INPUT SPREAD","ok")
 
Upvote 0
How about
Excel Formula:
=IF(AND(D5="BID",E5=G5),"Input spread","Ok")
 
Upvote 0
How about
Excel Formula:
=IF(AND(D5="BID",E5=G5),"Input spread","Ok")
Thank you Fluff.

Addition condition, aswell as having the condition "BID", how can the formula be changed and also include "USA". If this is the case and B = USA and E5=G5, I would like the return to be "OK" ( instead of applying a spread)? So effectively 2 conditions ie if E5=G5 and "BID" then "Input Spread, if E5=G5 and "USA" "OK"

Many thanks
 
Upvote 0
No need to change anything, that formula will already do that.
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,981
Members
449,058
Latest member
oculus

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