+ Reply to Thread
Results 1 to 7 of 7

Only show rows that match tab name until a new row value

  1. #1
    Registered User
    Join Date
    09-23-2022
    Location
    Houston, Texas
    MS-Off Ver
    365
    Posts
    64

    Only show rows that match tab name until a new row value

    Excel File included.

    I have put together a same excel file of what i am hoping to achieve. Essentially, I only want to populate rows that match the tab name and be able to return the value in the next column over. I have tried using some vlookups, match, if statement that try to say " if this cell in column A matches the tab name, then show the values in column B until a new value in column A (which now matches another tab) no longer matches the (original) tab name. Hopefully the included spreadsheet can show what i am trying to achieve.
    Attached Files Attached Files

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Only show rows that match tab name until a new row value

    for this to work i needed your data in zone group to have a zone group for every zone.
    To accomplish this easily I selected the data in A3:A23 on the DATA tab. then i went to the home ribbon and under Find and Select i chose "Go to Special".
    Then i select "Blanks: and then hit ok.
    Now i press =
    Then i press the up arrow on the keyboard.
    Theni use CTRL and Enter at the same time. This should copy the zone groups donw correctly.
    Finally i select all of column A and copy and paste as values so that there are no longer formulas.


    as for the individual tabs , in A2 on every tab i used the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    09-23-2022
    Location
    Houston, Texas
    MS-Off Ver
    365
    Posts
    64

    Re: Only show rows that match tab name until a new row value

    for some reason the formulas turn to n/a when i enable editing. i also posted a new thread of how i meant to include the spreadsheet.

  4. #4
    Registered User
    Join Date
    09-23-2022
    Location
    Houston, Texas
    MS-Off Ver
    365
    Posts
    64

    Re: Only show rows that match tab name until a new row value

    I included an updated file of the spreadsheet.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Only show rows that match tab name until a new row value

    Sheet Nord
    a1 = Nord

    A2 =IF((ROW()-1)<=COUNTIF(Data!$A$1:$A$22,$A$1),INDEX(Data!$A$1:$B$22,MATCH($A$1,Data!$A$1:$A$22,0)+ROW()-2,2),"") and drag down.

    Same for the other sheets.




    Edit:

    Please also reply on your other questions or mark the question solved.

    See the attached file.
    Last edited by oeldere; 09-26-2022 at 01:34 PM. Reason: Please also reply on your other questions or mark the question solved.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    09-23-2022
    Location
    Houston, Texas
    MS-Off Ver
    365
    Posts
    64

    Re: Only show rows that match tab name until a new row value

    Thank you, that worked.

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Only show rows that match tab name until a new row value

    Glad I could help.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation , to all members who helped you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Can't show different images on different rows that match cell contents
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2021, 11:20 AM
  2. [SOLVED] Have excel show word match instead of partial match
    By rayted in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2020, 05:21 AM
  3. [SOLVED] Index match show all matches from list (only showing the first match...)
    By jakeh2475 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2018, 02:11 PM
  4. Replies: 3
    Last Post: 08-07-2014, 06:01 AM
  5. Replies: 3
    Last Post: 03-16-2014, 02:33 PM
  6. Index Match: Show blank instead of #NA for no match
    By cedarhill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2011, 03:21 PM

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