+ Reply to Thread
Results 1 to 3 of 3

Show 3 cells across a row on shhet 2 w/ no gaps IF an X is in column C

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    Dallas, Tx.
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Show 3 cells across a row on shhet 2 w/ no gaps IF an X is in column C

    This is an inspection form, but there's so much data on it that its a little small to print & leave for the builders. I want sheet 2 "Print Tag" to show the code and code reference numbers if an X is in the fail column. The thing is, there can't be any gaps on sheet 2. If the 5th, 12th, and 17th codes fail I need them to be listed one on top of the other on sheet 2. I can make an extra sheet just to make the formula work if need be.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Show 3 cells across a row on shhet 2 w/ no gaps IF an X is in column C

    In A10 of E1-2 sheet enter:

    =IF(C10="x",COUNT(A$9:A9)+1,"")

    copied down

    Then in Print Tag sheet, B21 enter:

    =IFERROR(INDEX('E1-2'!E$10:E$55,MATCH(ROWS($B$21:$B21),'E1-2'!$A$10:$A$55,0)),"")

    copied down.

    Do similar for other column adjusting the INDEX range.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-08-2012
    Location
    Dallas, Tx.
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Show 3 cells across a row on shhet 2 w/ no gaps IF an X is in column C

    This works perfectly!!! Exactly what I needed!!!
    THANK YOU!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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