Excel 'IF' formula issue

FLOGINEEDHELP

New Member
Joined
Apr 16, 2011
Messages
5
Hi,

Im having an issue with the formula below...

If cell B25 has 'OPTION1' or 'OPTION2' in it, they should return the same result as the formulas are the same, but currently they do not. I assume i have misplaced a bracket, any help greatly appreciated

thanks in advance

=SUM((I45/(1+(F45/100)))-IF($B$25="OPTION1",(N45-(P45/2))),IF($B$25="OPTION2",(N45-(P45/2))))/((I45/(1+(F45/100))))
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Without knowing exactly what you want to it's a little tough to follow the formula, but it looks like you are closing your IF statements before you are entering the if_false condition.

If the box will ONLY have Option 1 or option 2, you can use the following expression:

IF($B$25="OPTION1",option_1_formula,not_option_1_formula)

If the box could have something other than option 1 or 2 then, you'd need something like this:

IF($B$25="OPTION1",option_1_formula,IF($B$25="OPTION2",option_2_formula,if_both_are_false_formula))
 
Upvote 0
At a guess I would say

=SUM((I45/(1+(F45/100)))-IF($B$25="OPTION1",(N45-(P45/2)),IF($B$25="OPTION2",(N45-(P45/2)))))/((I45/(1+(F45/100))))
 
Upvote 0
One more guess...
Code:
=(I45/(1+F45/100)-IF($B$25="OPTION1",N45-P45/2,N45-P45/2)) / (I45/(1+F45/100))
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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