Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

IF(ISBLANK for multiple cells A1:N1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SCrowley - 18 Mar 2008 22:50 GMT
I have read many posts regarding this issue and I thought I wrote my formula
correctly.

I have tried it as a formula AND as an array formula

=IF(ISBLANK(A1:N1),"Delete","OK")

When I use this formula, whether the range has something in it or not, it
returns "OK".

The spreadsheet is an exported report from a mailing/shipping software
program. It has 600 rows, A:N, some with only one Cell containing data. I
need to delete all the blank rows (I've read all those posts too). I'm either
very thick in the head or there is some invisible data lurking in the cells?

I've even reversed the formula =IF(ISBLANK(A1:N1),"OK","Delete"). Arrrggg!

Thank you,

scrowley(AT)littleonline.com
Gaurav - 18 Mar 2008 23:09 GMT
Try this instead.

=IF((COUNTA(A1:N1)=0),"DELETE","OK")

Hope that helps.

>I have read many posts regarding this issue and I thought I wrote my
>formula
[quoted text clipped - 19 lines]
>
> scrowley(AT)littleonline.com
T. Valko - 18 Mar 2008 23:10 GMT
Try this:

=IF(COUNTA(A1:N1)=0,"Delete","OK")

If the result is "OK" but you can't see anything in any cells then that
means you have invisible data lurking.

Signature

Biff
Microsoft Excel MVP

>I have read many posts regarding this issue and I thought I wrote my
>formula
[quoted text clipped - 19 lines]
>
> scrowley(AT)littleonline.com
SCrowley - 18 Mar 2008 23:23 GMT
THANK YOU! You and Gaurav both suggested =IF(COUNTA(A1:N1)=0,"Delete","OK")
and it worked perfectly! I'm also going to try Ken's suggestion for some
other data I need to sort out.

I really appreciate this community!
Signature

Thank you,

scrowley(AT)littleonline.com

> Try this:
>
[quoted text clipped - 26 lines]
> >
> > scrowley(AT)littleonline.com
T. Valko - 19 Mar 2008 01:55 GMT
You're welcome. Thanks for the feedback!

Signature

Biff
Microsoft Excel MVP

> THANK YOU! You and Gaurav both suggested
> =IF(COUNTA(A1:N1)=0,"Delete","OK")
[quoted text clipped - 36 lines]
>> >
>> > scrowley(AT)littleonline.com
Ken Hudson - 18 Mar 2008 23:13 GMT
Hi,
Not sure what you want to do but it sounds like you want to delete all the
rows that are blank between columns A and N.
A macro would be the "correct" way to go.
A cheap solution would be to insert a helper row to re-sort the rows.
Assuming that column O is empty, enter 1 in O1 and copy down all the rows,
increasing the number for each row.
Then sort all the data to get all the blank rows together.
Delete the blank rows and then use column O to re-sort the rows to their
orignal order and delete column O.
Might this work?

Signature

Ken Hudson

> I have read many posts regarding this issue and I thought I wrote my formula
> correctly.
[quoted text clipped - 16 lines]
>
> scrowley(AT)littleonline.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.