0

I created a multi-page spreadsheet file originally in LibreOffice Calc (herein after "Calc") and I am now working with it using Microsoft Excel. This is a tool I use to create a week-based report of stores I need to visit. There's a separate data entry sheet, and then four successive report sheets, each identical in layout but each one showing the next successive set of entries. This enables me to enter up to one month's worth of scheduling.

Some days, I am not visiting a particular store. On such a day, I would leave the store number cell blank on the data entry sheet. On the corresponding report entry for that day, I expect all the cells containing formulas (mostly vlookup formulas, but some just straight math formulas) to appear blank. Now, whether I'm using Calc or Excel, I expect that the default thing it will do is to show me some kind of message stating there's no valid data to display. Both show the statement "#N/A". What I want to happen is to change that text to white, so that the cell appears to be blank. The fact that "#N/A" is actually in there doesn't matter.

In Calc, I'm able to use Conditional Formatting to control for this, wherein I tell it if the cell's value doesn't equal anything (strictly, if it's equal to 0) then color the text white.

I can't for the life of me get this to work in Excel. For laughs, I even tried the conditional value of "#N/A" and that also didn't work. Does anyone here have an idea how I might achieve a similar result to what I get in Calc?

5
  • 1
    Is Excel showing the Error #NA or a string #NA? Commented Apr 11, 2021 at 20:13
  • Sorry, I didn't see this question earlier. How can I tell the difference?
    – mclark2145
    Commented Apr 11, 2021 at 20:49
  • =ISNA(cellRef) Commented Apr 12, 2021 at 1:18
  • @RonRosenfeld Ok, cool! I entered =ISNA(C6) (or the appropriate cell) in the various different fields' respective conditional formatting and it worked! Since that is a heck of a lot of cells, this is going to take me some time to retrofit, but thanks so much!
    – mclark2145
    Commented Apr 17, 2021 at 19:42
  • Depending on what you are really doing, you may be able to enter it as a single formula, possibly with mixed or relative addressing, and adjust the Applies To section appropriately. Commented Apr 18, 2021 at 0:29

1 Answer 1

0

If you are showing the error value #NA then use the formula =ISNA($A1)

3
  • I'm assuming you mean to paste that into the conditional formatting area under what the value of the cell should be to get the conditional formatting. I put it in, and it made no difference. Hmm...
    – mclark2145
    Commented Apr 11, 2021 at 21:02
  • Have you tried calling =ISNA(cell)  from another cell? Commented Apr 12, 2021 at 0:21
  • @mclark2145 No. It is a formula. So you would use it in the use a formula section. Commented Apr 12, 2021 at 1:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .