+ Reply to Thread
Results 1 to 11 of 11

Need help to find a specific text in multiple columns then return the cell

  1. #1
    Registered User
    Join Date
    04-06-2021
    Location
    US
    MS-Off Ver
    2019 Home Edition
    Posts
    3

    Question Need help to find a specific text in multiple columns then return the cell

    I have watched many videos on YouTube about lookup, vloopup, hlookup, search, find, countif, if, or... to just find for me a solution to do it faster than hit Ctrl+F, type the item and scroll up to see which box contains it. Can anyone give me a function at G3? Or I am too overthink or something? Thank you!


    ask-excel.png
    Attached Images Attached Images
    Last edited by lilcarp87; 04-06-2021 at 02:26 AM.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,969

    Re: Need help to find a specific text in multiple columns then return the cell

    Welcome to the forum.

    Try this:

    =INDEX($A$1:$C$1,SUMPRODUCT(($A$2:$C$6=G2)*COLUMN($A$1:$C$1)))
    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
    Registered User
    Join Date
    04-06-2021
    Location
    US
    MS-Off Ver
    2019 Home Edition
    Posts
    3

    Re: Need help to find a specific text in multiple columns then return the cell

    Edit! It works .... thank you !! I forget to input data in G2 ... my bad!!!
    Attached Images Attached Images
    Last edited by lilcarp87; 04-06-2021 at 02:25 AM.

  4. #4
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,969

    Re: Need help to find a specific text in multiple columns then return the cell

    Sorry!

    =INDEX($A$1:$C$1,SUMPRODUCT(($A$2:$C$6=F2)*COLUMN($A$1:$C$1)))

  5. #5
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,969

    Re: Need help to find a specific text in multiple columns then return the cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    Registered User
    Join Date
    04-06-2021
    Location
    US
    MS-Off Ver
    2019 Home Edition
    Posts
    3

    Re: Need help to find a specific text in multiple columns then return the cell

    I did, thank you alot. You have saved my time. I really appreciate your quick reply!

  7. #7
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,969

    Re: Need help to find a specific text in multiple columns then return the cell

    You're welcome.

    In future, attach workbooks, not pictures of them, and that will save our time.

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Need help to find a specific text in multiple columns then return the cell

    Administrative Note:

    Welcome to the forum.

    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. https://www.mrexcel.com/board/thread...value.1167199/.)
    Last edited by AliGW; 04-06-2021 at 03:04 AM.

  9. #9
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,969

    Re: Need help to find a specific text in multiple columns then return the cell

    Pepe - as this is a new member, we provide the link for them this time. Thanks.
    Last edited by AliGW; 04-06-2021 at 03:04 AM.

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Need help to find a specific text in multiple columns then return the cell

    I know that ,boss, but I'm p... off because he made me loose my time at MrE

  11. #11
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,969

    Re: Need help to find a specific text in multiple columns then return the cell

    That shouldn't have any bearing on the way he or she is treated here.

    @lilcarp87

    Please familiarise yourself with our rules before posting again. Thanks.

+ 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. find two text conditions in cell and return specific text
    By Excelidiot01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2020, 08:15 AM
  2. Replies: 5
    Last Post: 10-21-2019, 10:13 PM
  3. Find cell containing specific text, and copy row to new columns?
    By kendog819 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2015, 04:33 PM
  4. Find specific value in Row, Return Text from Adjacent Cell
    By oneforfive in forum Excel General
    Replies: 5
    Last Post: 07-21-2015, 03:57 PM
  5. [SOLVED] Formula to find a specific text within a range and return the value in the next cell
    By 00pumpkin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2013, 02:11 PM
  6. [SOLVED] Find cell with specific text in a row, then rearrange the columns
    By cyin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2012, 11:10 AM
  7. Find specific text in column and return cell value from its immediate right
    By cneff in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-08-2012, 07:59 AM

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