+ Reply to Thread
Results 1 to 6 of 6

Ignore Blank Cells

  1. #1
    Registered User
    Join Date
    05-04-2009
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2003
    Posts
    53

    Ignore Blank Cells

    I'm trying to take data from tab 1
    Col A Col B through G
    Text Numeric Data

    to
    tab 2

    Col A Col B through G
    Display text only if there is any Data in B through G Numeric Data


    There are numerous blank data rows

    Thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,603

    Re: Ignore Blank Cells

    Post an example workbook - we can't see what you've got or what you want to do with it.

    Pete

  3. #3
    Registered User
    Join Date
    05-04-2009
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Ignore Blank Cells

    Here is an example file.

    Data File is copied to Recap Tab without blank cells.

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,603

    Re: Ignore Blank Cells

    Put this formula in L2 of the Data Sheet:

    =IF(COUNTA(B2:I2)=0,"-",MAX(L$1:L1)+1)

    and copy it down beyond your data - the hyphens will indicate how far you have copied it.

    Then you can put this formula in A2 of the Recap sheet:

    =IFERROR(INDEX('Data Sheet'!A:A,MATCH(ROWS($2:2),'Data Sheet'!$L:$L,0)),"")

    This can be copied across to column J on that row, and the cells formatted as on the Data Sheet (use the Format Painter from there). Then that row can be copied down as far as you need it.

    The attached file shows this in operation.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Ignore Blank Cells

    Or without the helper column this non-array formula in Sheet "Recap" A2, Drag Across to Column J, then Down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    05-04-2009
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Ignore Blank Cells

    Thanks so much for this formula! It works great.

    Mike

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1