Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
Excel 2002: Return blank when VLOOKUP on blank cells Mr. Low Excel Discussion (Misc queries) 2 June 4th 09 05:12 PM
Nested IF - return a blank when compared cells are blank Struggling in Sheffield[_2_] New Users to Excel 2 February 9th 09 08:14 PM
Maximum Number of Blank Cells between Non Blank Cells in a Range Mal Excel Worksheet Functions 5 November 3rd 07 08:21 AM
Imported Data creates blank cells that aren't really blank JackieD Excel Worksheet Functions 14 February 23rd 06 12:57 AM


All times are GMT +1. The time now is 04:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"