+ Reply to Thread
Results 1 to 4 of 4

If row is hidden than the hidden row is not referenced

  1. #1
    Forum Contributor
    Join Date
    04-30-2013
    Location
    arizona
    MS-Off Ver
    365
    Posts
    147

    If row is hidden than the hidden row is not referenced

    Hello, I have a list that I want to reference. I want the reference to only show the rows that are not hidden with no blanks.

    For example, I hid row 4 and I would like the cell references in G13:H17 to not reflect row 4. I don't want the same data to be hidden in both spots and I don't want a row that is blank. I simply don't want it to show up at all in the reference and in the same order.

    Sheet 2 is what I would like the results to look like if I were to hide just row 4.

    In addition, if I were to unhide row 4 I would like row 4 to reappear in the referenced cells.

    Does anyone know a way to do this?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: If row is hidden than the hidden row is not referenced

    1. Insert a row and apply a header row.

    2. Filter values out using the header row.

    3. Use this formula, copied across and down:


    =IFERROR(INDEX(A:A,AGGREGATE(15,6,1/(1/(SUBTOTAL(3,OFFSET($A$2,ROW($A$2:$A$7)-ROW($A$2),))*(ROW($A$2:$A$7)))),ROWS(G$13:G13))),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    04-30-2013
    Location
    arizona
    MS-Off Ver
    365
    Posts
    147

    Re: If row is hidden than the hidden row is not referenced

    This is great! Thank you. Much appreciated!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: If row is hidden than the hidden row is not referenced

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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] UserForm super slow to initialize when referenced cells are hidden
    By Kris1201 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-25-2021, 01:24 AM
  2. ActiveCell.Rows(row number.Hidden returns false when row is hidden sometimes
    By Brandon2013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2014, 04:08 PM
  3. [SOLVED] Format all cells in all sheets to Protection Hidden on visible and hidden tabs
    By DeRo22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-28-2014, 03:17 PM
  4. Replies: 0
    Last Post: 01-15-2014, 05:17 PM
  5. [SOLVED] trying to access the excel sheets/Tabs in the hidden/very hidden mode through hyperlinks
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-30-2013, 06:50 AM
  6. VBA Function Vlookup data from Hidden sheet in hidden workbook
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2008, 11:22 PM
  7. [SOLVED] Rowsource referenced to a hidden workbook
    By borg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2006, 07:15 PM

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