=if help

coaster123

New Member
Joined
May 26, 2012
Messages
25
hi this is the formula i have at the moment

=IF('results '!G2=L2,F2,-E2)

this works fine but until i input data into the cells in the results i would like it to display a blank cell now obviously we have a true and false value here

is there a way to edit this function so i can have 2 false values

so the function would look something like this but work

=IF('results '!G2=L2,F2,-E2,"")
or
=IF('results '!G2=L2,F2,-E2,if('results '!G2="",""))

these dont work but is there one that will

thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
thanks its a bit closer but that shows #value! i wanted the cell to display blank if at all possible
 
Upvote 0

Forum statistics

Threads
1,203,691
Messages
6,056,756
Members
444,889
Latest member
ibbara

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