INDEX / MATCH and empty cells

theta

Well-known Member
Joined
Jun 9, 2009
Messages
960
Hi,

I want to be able to format a cell so that if it is empty I get a blank cell, instead of a 0. Which is what I was getting

I have formatting all of my lookup cells as Custom : ""

This leaves them blank when the lookup return a null

But there must be an easier way to format all of my cells (not just my lookups) to appear blank if there is no value?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
General;;

That seems to work? But is it 'legal'

Basically treat all positive and negative as General, everything else is empty

Only problem is this won't let text 'spill' onto adjacent cells. And I do not want to merge them
 
Last edited:
Upvote 0
That will hide negatives.
 
Upvote 0
Replace zeroes with Date format. You asked for not showing zeroes in cell. The third section of this format does this thing - it doesn't display zeroes.
 
Upvote 0
You can use condtional format for it

Select cells to be formated and go to condtional format (if you using excel 2007 or 2010) and select format cells that contain and select cells equal to zero and then go to format and in custom format Type "" and ok and apply.
 
Upvote 0
If you are using Excel 2007 do as follows: Use the excel options dialog box, go to the Advanced category and scroll down to the section "Display options for this worksheet" and remove the tick in the option that reads "show zero values in cells that have zero values"
 
Upvote 0
But some cells do contain zeros (sum cells) so need to be specific which cells I 'ignore zeros' for?
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,841
Members
452,948
Latest member
UsmanAli786

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