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
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,559
Messages
5,832,467
Members
430,136
Latest member
Asir Jefferson

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