Struggling with blank cells

Red Bull

New Member
Joined
Jan 22, 2015
Messages
32
Group,

I have a formula in A2 that I am struggling with to show correctly: =IF(A1>=0.5,B1,IF(A1="","",IF(A1<.5,B2)))

What I am trying to do is look in A1 for a value. If the value is greater than or equal to .5, give me B1 and if it's less than .5, give me B2.
However the problem I'm having is if F1 is blank, I would like A2 to be blank but it's not working.

A1 has a formula in it that makes it display as ""

Thanks,
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Is F1 an extra condition to the formula you provided ??
 
Upvote 0
Sorry, no. That should read A1.



I have a formula in A2 that I am struggling with to show correctly: =IF(A1>=0.5,B1,IF(A1="","",IF(A1<.5,B2)))

What I am trying to do is look in A1 for a value. If the value is greater than or equal to .5, give me B1 and if it's less than .5, give me B2.
However the problem I'm having is if A1 is blank, I would like A2 to be blank but it's not working.

A1 has a formula in it that makes it display as ""
 
Upvote 0
Maybe this
Code:
=IF(A1=CHAR(34)&CHAR(34),"",IF(A1>=0.5,B1,B2))
 
Upvote 0
I guess my next question would be .....why would you have a cell result in A1 as "".
If you wanted to do counting or other queries, that cell would skew the results...?
 
Upvote 0
you could remove the "" from the formula in cell A1 and then just use cond, formatting to mark the text as white if = to 0... i know its cheap and kinda cheating but it works....
 
Upvote 0
That will cause the same issues as I have mentioned in the previous post.
 
Upvote 0
you could remove the "" from the formula in cell A1 and then just use cond, formatting to mark the text as white if = to 0... i know its cheap and kinda cheating but it works....

I'm ok with cheap and cheating but the problem with this is that sometimes the value in A1 is actually zero and then I would want to return B2 (in regular font). :)
Nice try though - I like where you're coming from. lol
 
Upvote 0

Forum statistics

Threads
1,214,549
Messages
6,120,149
Members
448,948
Latest member
spamiki

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