A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

x if six cells are blank



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 05:46 PM posted to microsoft.public.excel.misc
Jim
external usenet poster
 
Posts: 1,404
Default x if six cells are blank

Hello,

I have about 5k lines of data. Columns A, B and C all have data. D, E, F,
G, H and I may or may not have data. In K I would like to have a formula
that would read D, E, F, G, H and I and if they are all blank I would like
for K to return a X.

Thanks in advance for the help.
Jim
  #2  
Old November 9th, 2009, 05:56 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default x if six cells are blank


Try this

=IF(COUNTA(D1:I1)=0,"X","")

Mike

"Jim" wrote:

Hello,

I have about 5k lines of data. Columns A, B and C all have data. D, E, F,
G, H and I may or may not have data. In K I would like to have a formula
that would read D, E, F, G, H and I and if they are all blank I would like
for K to return a X.

Thanks in advance for the help.
Jim

  #3  
Old November 9th, 2009, 05:57 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default x if six cells are blank

'if all are blank (no formulas)
=IF(COUNTBLANK(D9:I9)=6,"X","")
=IF(COUNTA(D10:I10)=0,"X","")

'if you have formulas returning blank try
=IF(COUNTIF(D11:I11,"?*")+COUNT(D11:I11)=0,"X","")

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hello,

I have about 5k lines of data. Columns A, B and C all have data. D, E, F,
G, H and I may or may not have data. In K I would like to have a formula
that would read D, E, F, G, H and I and if they are all blank I would like
for K to return a X.

Thanks in advance for the help.
Jim

  #4  
Old November 9th, 2009, 05:58 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default x if six cells are blank

Try this...

=IF(COUNTA(D2:I2),"","X")

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Jim" wrote in message
...
Hello,

I have about 5k lines of data. Columns A, B and C all have data. D, E,
F,
G, H and I may or may not have data. In K I would like to have a formula
that would read D, E, F, G, H and I and if they are all blank I would like
for K to return a X.

Thanks in advance for the help.
Jim



  #5  
Old November 9th, 2009, 06:00 PM posted to microsoft.public.excel.misc
Rick Rothstein[_2_]
external usenet poster
 
Posts: 2,013
Default x if six cells are blank

Give this formula a try and copy it down as needed...

=IF(COUNTA(D1:I1),"","X")

--
Rick (MVP - Excel)


"Jim" wrote in message
...
Hello,

I have about 5k lines of data. Columns A, B and C all have data. D, E,
F,
G, H and I may or may not have data. In K I would like to have a formula
that would read D, E, F, G, H and I and if they are all blank I would like
for K to return a X.

Thanks in advance for the help.
Jim


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.