suppressing blanks

I

Iain Wicks

Hi,
I need help with a simple suppression issue.
On worksheet1, in cell A1, I am displaying the contents of
worksheet2 cell A1 by using the expression '=(sheet2!A1)' .

I am doing this for all cells in the A column down to
number 20. But I want to get rid of blanks.
e.g. if sheet2 A1 and A3 are populated but A2 is not
populated I do not want to see a gap on Sheet1, I want to
just see a list of the populated ones.

I hope this makes sense.

Regards
Iain
 
P

Paul Corrado

Iain,

=IF(Sheet2!A1="","",Sheet2!A1)

or

=IF(ISBLANK(Sheet2!A1)=TRUE,"",Sheet2!A1)

PC
 

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

Top