How do I insert a "true blank" into a cell?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I insert a "true blank" into a cell as the result of a calculation or
IF() statement? "Help" says "Use NA to mark empty cells. " But #NA is NOT
the same as an empty cell:
1. If the cells are truly blank, both the function (AVERAGE()) and the plot
work like they should.
2. If the blank cells are used as input to an arithmetic operation, zeros
are inserted, resulting in zeros being plotted where you don't want them.
3. Inserting blanks with double quotes still works OK with the AVERAGE()
function, but the plot sees them as zeros, still unwanted.
4. Putting "NA()" in the null cells fixes the plot, but now the AVERAGE
function is fouled up.
 
I think what you are looking for is "". I use this in IF statements a lot.
Example:
A5=1
G5=2

=IF(A5>$G$2,A5,"")

This will return a blank cell.

I this helps.
 
Monique,

Keep using the NA()'s to fix the plot, but use an array function (entered
with Ctrl-Shift-Enter)

=AVERAGE(IF(NOT(ISERROR(A1:A10)),A1:A10))

to do your averaging. Update both range references to reflect the range that
you want to average.

HTH,
Bernie
MS Excel MVP
 
Use two ranges: one for calculations, the other for charting.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
cwilson

Info only.......

A cell with "" is not blank, just looks like it.

Try =ISBLANK(cellref) on one of these and see what you get.

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top