If...it is an If????????

billyboyuk2000

Board Regular
Joined
Apr 29, 2005
Messages
52
Hello All.

Can anyone help with this one!

Trying to return a value based on the following: -

I have 2 numbers to look at but three possible combinations.

If I have two negative numbers then I want my "If" to return nothing.
I also may have 2 positive numbers so again I want it to return nothing.
However, if I have 1 negative and then 1 positive number I want it to return the value of the positive.

Can't quite get it to work!

Can anyone shed any light on this for me? I'm probably using the wrong function!
 

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.
What does zero count as, as a sign? For example, if one cell is 24, and the other 0, what's your result? Same for -24 and 0 please?
 
Upvote 0
Thank you Mr Houdini

That works a treat.

I got to this: - =IF(D2<0,IF(D6<0,"L","K"),"J") this showed me when I had a negative and a positive etc but not the value.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,203,182
Messages
6,053,974
Members
444,695
Latest member
asiaciara

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