+ Reply to Thread
Results 1 to 6 of 6

Select row based on cell value

  1. #1
    Registered User
    Join Date
    10-12-2021
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2

    Question Select row based on cell value

    Hello Excel Forums! First time poster here (Just created an account just now). My question is this. Is there a way to select a row based on the value in a cell?


    Cell A1's value is 105
    So I want to have row 105 selected


    Is there a way to do this? I'd like resources and/or hints instead of the complete answer. Thanks in advance!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,819

    Re: Select row based on cell value

    Welcome to the forum.

    The way I would approach this, honestly, is like this: https://www.google.co.uk/search?q=vb...client=gws-wiz

    Does this provide the sort of hint and/or resources you need?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Question Re: Select row based on cell value


    Hello !

    Quote Originally Posted by FullStackFailure View Post
    Is there a way to select a row based on the value in a cell?
    Yes under a VBA procedure but as any good enough code does not need to select anything
    so the question is : what is really the final purpose ?!

  4. #4
    Registered User
    Join Date
    10-12-2021
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2

    Re: Select row based on cell value

    The final purpose is based on a cell value I want to copy contents of 3 cells in that row into another spreadsheet tab. Does that make sense?

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Question Re: Select row based on cell value


    So according to cell A1 content aka 105 what are those « 3 cells » you want to copy and where ?!

    As Accuracy leads to a proper & quick solution …

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,819

    Re: Select row based on cell value

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. Normally I would provide the link for you, as you are new. I understand the cross-post is on the MS Office Forums.)

+ 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. Randomly Select Cell from Array based on cell interior color
    By KidZest in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-03-2017, 03:25 PM
  2. [SOLVED] select entire column based on activecell - multiply cells based if found empty cell
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-08-2016, 01:52 AM
  3. [SOLVED] Select cell in a stepwise pattern that is either blank, or based on value in other cell
    By zippityzeb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2014, 08:08 AM
  4. [SOLVED] VBA: Select a Cell Based on a Value
    By iluvfnky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2014, 07:02 AM
  5. [SOLVED] Find cell based on its text value in row 1, then select the cell directly below that
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2014, 09:40 AM
  6. Select row based on a cell value...
    By rybussell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2012, 06:26 PM
  7. VBA select cell range based upon the # of rows that make up a certain merged cell?
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-04-2012, 12:22 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