IF Statement with multiple conditions - getting error

jwoo89

New Member
Joined
Jan 5, 2021
Messages
32
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

Just wanted to say thank you for this forum as it has helped me greatly and has taught me a lot!!

I am having an issue with my nested if statement.

=IF(OR($H11="BOND",$H11="EQUITY",$H11="WARRANT"),($C11*$D11)/$E11,IF(OR($H11="FUTURE",$H11="SWAP"),INDEX(Current!T:T,MATCH($B11,Current!AX:AX,0),IF($H11="OPTION",(($C11*$D11)/$E11)*100),IF($H11="PIPE",(($C11*($D11-10))/$E11)))))

It works well until i get to the word SWAP, OPTION and PIPE. I am getting a error or a value error.

Does anyone know how to fix this?

Any help would be greatly appreciated!! :)
 
Glad we could help & thanks for the feedback.
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,214,891
Messages
6,122,105
Members
449,066
Latest member
Andyg666

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