+ Reply to Thread
Results 1 to 6 of 6

Search for text and return values

Hybrid View

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Ireland
    MS-Off Ver
    Office 2010
    Posts
    34

    Search for text and return values

    I have two sheets in my workbook, Main Specs is where I have a list of specifications, I need to tidy them into my sheet named specs.

    I need a formula to do something like this:

    Using the Text in G4 to V4, I want to search main specs for that text and return the value from column B

    I want to put the values into g6, H6 etc

    I need the the first set of values to go on row 6 the second on row 7 etc


    E.g.

    Search for Product Description in the sheet Main Specs
    Finds Product Description at 'Main Specs'!A2
    Return Value Toshiba Satellite Pro L830-17T - 13.3" - Core i3 3227U - Windows 8 64-bit - 2 GB RAM - 500 GB HDD
    Put value at G6


    Can this be done wit ha formula?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Search for text and return values

    Put this in Specs!G6 and drag to the right

    =VLOOKUP(G4;'Main Specs'!$A:$B;2;FALSE)

    Maybe my semicolons should be commas for you


    Edit: just saw that there are several products in the main specs sheet; the formula above only works for the first product
    Last edited by L-Drr; 09-29-2013 at 09:10 AM.
    When I say semicolon, u say comma!

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    Ireland
    MS-Off Ver
    Office 2010
    Posts
    34

    Re: Search for text and return values

    So far so good, is there anyway to get this working for the other products?

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Search for text and return values

    Hello, Are you looking for this !!



    If answer helps you, click " * " add rep icon in the bottom left post of my corner and mark thread as solved.

    Just drag the formula down and left to right.

    Regards
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-24-2013
    Location
    Ireland
    MS-Off Ver
    Office 2010
    Posts
    34

    Re: Search for text and return values

    Quote Originally Posted by hemesh View Post
    Hello, Are you looking for this !!

    If answer helps you, click " * " add rep icon in the bottom left post of my corner and mark thread as solved.

    Just drag the formula down and left to right.

    Regards
    That is one complicated formula, you have done this before :D thanks for that! Much appreciated.

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Search for text and return values

    you just need to change the references for your formula and thats all! then Drag the formula top to bottom and left to right!! If you have any problem you can always be in touch

+ 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. Replies: 4
    Last Post: 12-21-2012, 10:35 AM
  2. Replies: 3
    Last Post: 10-03-2012, 03:09 AM
  3. Search text file and return values
    By skyblues in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-27-2011, 11:44 AM
  4. Search text string for range of text values - return match
    By crugg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2010, 09:55 AM
  5. macro to search text & return values
    By leni in forum Excel General
    Replies: 11
    Last Post: 01-10-2009, 04:38 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