This one has me stumped, can anybody help.

nyrfan

Board Regular
Joined
Feb 6, 2006
Messages
130
How do I write this formula?

If e5 contains a # >0 then e5+k5* 3%, if e5 is <0 then k5 / L5


Thanks,
Felix
 

Some videos you may like

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
Code:
=IF(E5>0,(E5+K5)*0.03,IF(E5<0,K5/L5))
 

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Hi,

Try:

=IF(E5>0,E5+K5*0.03,IF(E5<0,K5/L5,0))

Dom
 

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
They may all work but bear in mind that you get a different answer for (E5+K5)*0.03 than to E5+K5*0.03 due to the postioning of the parenthesis.

Dom
 

Watch MrExcel Video

Forum statistics

Threads
1,122,961
Messages
5,599,061
Members
414,281
Latest member
Engjamal2021

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
Top