Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

MS Excel, formular with blank cells.

I have an excel file (attached),  the column H shows #VALUE.
I have to move cursor to F2 then press delete key to delete nothing, then the column H show correct data.

Please help me this.
2 Solutions
Rory ArchibaldCommented:
You could simply change the formula in H2 to:
and copy it down.
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:

where does the data come from? Even though the cells look empty, Excel considers some of the empty cells as text, which is the reason for the VALUE error. Some of the empty cells are seen as numbers, even if they are empty, and some of them are neither text nor numbers, i.e. just really empty.

Did you copy and paste the data from another application? That would explain the behaviour.

To repair the data, you could do the following,

In K2 enter


copy across to N2 and down to row 17. Then copy the results and use Paste Special > Values to paste into D2. Now all empty cells will have a zero, but your formulas will calculate correctly.

You can hide the zeros with formatting.

cheers, teylyn
Try the following in cell H2 and then copy it to the other cells

JameMeckAuthor Commented:

With your solutions, I could make it works now.

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now