+ Reply to Thread
Results 1 to 9 of 9

Looking up data:What I would like to do in G

  1. #1
    Registered User
    Join Date
    11-18-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    88

    Talking Looking up data:What I would like to do in G

    Hi and Help.

    Iam using 2003.

    In Column A I have a set list of about 20 names.

    I paste into Column E a list of names and in Column F data matching name (numbers).

    What I would like to do in G, is display only names in Column E with the matching data in Column F...

    As Iam new to excel I have no idea what to look for in the books and forums.. So sorry if this type of thing has been asked before

    Jason

  2. #2
    Valued Forum Contributor Rahul Nagar's Avatar
    Join Date
    09-18-2008
    Location
    nasik
    MS-Off Ver
    Excel 2003
    Posts
    465

    Re: Newbie Question - Looking up data

    Hi Trainer

    Please attached a file with what do you want.
    So that i can help you.

    Rahul

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,825

    Re: Newbie Question - Looking up data

    can you give an example

    From what you said (I have used - as the forum rmoves spaces )

    You have
    E - F
    tom - 1
    **** - 2
    harry - 3
    **** - 2
    john - 67
    tom - 5

    So for that info above
    column G would have
    G
    ****

    because Dic has the number 2 assigned to it more than once

    is this correct

    can you perhaps attach a sample

  4. #4
    Registered User
    Join Date
    11-18-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    88

    Re: Newbie Question - Looking up data

    How quick....

    Attached is example.....

    I would really like Colum D to check Colum B, for exact matches it will display Data from column D & column E in Colum F & Colum G.
    Attached Files Attached Files

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Newbie Question - Looking up data

    With your supplied data set:

    F1 =VLOOKUP(B1,$D$1:$E$6,1,FALSE)

    G1 =VLOOKUP(B1,$D$1:$E$6,2,FALSE)

    copy down.

    Edit: Added $ signs to make range absolute. Sorry for any confusion. Where is my head?! .
    Last edited by teylyn; 11-18-2009 at 07:46 AM.

  6. #6
    Registered User
    Join Date
    11-18-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    88

    Re: Newbie Question - Looking up data

    Done and Dusted many thanks teylyn

    You have saved me hours and hours of work....

    And I understand how it's been done as well.

    Quality

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Newbie Question - Looking up data

    @etaf, you can use code tags to prevent the forum software from removing spaces and indentation. Like this

    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]

    hth

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,825

    Re: Newbie Question - Looking up data

    Vlookup will do that for you

    Looks up the name
    =VLOOKUP(B1,$D$1:$E$6,1,FALSE)

    Looks up the number
    =VLOOKUP(B1,$D$1:$E$6,2,FALSE)

    We can add statements so #n/a does not appear
    Attached Files Attached Files

  9. #9
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,825

    Re: Newbie Question - Looking up data

    teylyn
    brilliant thanks for that - happens on a lot of the forums I use
    I'll go and try at techguy.org right now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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