Making cells blank after formula inserted "" text string

derek.hughes

Board Regular
Joined
Mar 16, 2012
Messages
53
I wrote nested IF formulas and for the "false" result I told it to enter the text string "" so the cell would appear blank.

I can filter out those cells as blank, but not sort them. I have tried a copy/paste special (values) and it still leaves something behind that the sort is picking-up. I can tell because I tried an IF(ISBLANK(A3),"","XXX") and X's appeared.


  1. Any way I can get rid of the residual blank I entered in the text string ""?
  2. Should I use something different in the initial IF formulas besides the text string ""?

Thank you in advance - this one has me very puzzled.

Derek
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Oh my goodness! Thank you, Andrew - that is so easy! I was stuck on the formula and didn't see the obvious right in front of me - thank you for setting me on course.
 
Upvote 0
if the objective is to sort after pastespecial values, use a character or charcters that doesn't appear elsewhere in your data:
Code:
=IF(A1<10,B1,REPT("z",10))
or
Code:
=IF(A1<10,B1,"~")
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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