+ Reply to Thread
Results 1 to 8 of 8

finding and going to the middle row of a column in a table

  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    22

    finding and going to the middle row of a column in a table

    Hi I have a large column and would like for quick navigation purposes to go to the middle of the visible number of rows in the column however with the code I have written its gives me an 'object required' error. what is it that I am missing?

    Thanks


    Please Login or Register  to view this content.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: finding and going to the middle row of a column in a table

    Remove Set

    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: finding and going to the middle row of a column in a table

    Try this.

    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    03-29-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: finding and going to the middle row of a column in a table

    that was it Debraj Roy! Thanks.
    ah that's an interesting alternative Norie, I'll experiment with that. thanks

    Whilst were here how would I count the number of visible rows for a collapsed/filtered column as the previous formula will to go the same middle row regardless of whether the column is filtered to show fewer rows?

    thanks

  5. #5
    Registered User
    Join Date
    03-29-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: finding and going to the middle row of a column in a table

    Regarding the last question, I've tried the code below

    Please Login or Register  to view this content.
    however of course this does find the middle number of the visible row count however but that actual row number is different.

  6. #6
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: finding and going to the middle row of a column in a table

    Just a sample..

    I hope someone will able to help me also in this.. still as a start.. try this

    Please Login or Register  to view this content.

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: finding and going to the middle row of a column in a table

    The code I posted seems to find the middle even when there's a filter.

  8. #8
    Registered User
    Join Date
    03-29-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: finding and going to the middle row of a column in a table

    youre right Norie! it works great. thanks.

+ 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