+ Reply to Thread
Results 1 to 6 of 6

Reading and displaying numbers from one sheet to another

  1. #1
    Registered User
    Join Date
    02-09-2010
    Location
    Dayton
    MS-Off Ver
    Excel 2007
    Posts
    23

    Reading and displaying numbers from one sheet to another

    I have a list of client names with their respective numbers on a sheet 1 and I have a list of jumbled client names with the names repeated in the next sheet 2. I would like to retrieve the client number from the data sheet and display the number for that respective client name in the second sheet

    Sheet 1:

    Client Number Client Name
    1 David
    2 Tom
    3 Suzan
    4 Richard
    . .
    . .
    . .
    . .



    Sheet 2:
    Client Name Client Number
    Richard
    Tom
    David
    Suzan
    Richard
    Tom
    David
    .
    .
    .

    I want the program to retrieve the client number for the names from sheet 1 and display it accordingly in sheet 2
    For eg:- it should retrieve Richard's client number as 4 from sheet 1 and display digit 4 next to richard's name in the client number column.

    I have attached the sample document....

    Thanks
    Ramanan
    Attached Files Attached Files
    Last edited by ramanan256; 02-11-2010 at 07:51 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,963

    Re: Reading and displaying numbers from one sheet to another

    In column N and copied down:
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-09-2010
    Location
    Dayton
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Reading and displaying numbers from one sheet to another

    Thanks for the help !!!

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Reading and displaying numbers from one sheet to another

    FYI you can achieve the same with a basic INDEX/MATCH

    =INDEX(Sheet1!$A:$A,MATCH($M2,Sheet1!$B:$B,0))

    the above is non-volatile - the prior suggestion is not given use of INDIRECT
    (for more info. on Volatility see link in sig.)

    Another alternative given the value being returned is Numeric would be a basic SUMIF

    =SUMIF(Sheet1!$B:$B,$M2,Sheet1!$A:$A)

  5. #5
    Registered User
    Join Date
    02-09-2010
    Location
    Dayton
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Reading and displaying numbers from one sheet to another

    Hey theer,

    The formula that you have posted does not work if the cell has a character starting with # , ~, % what do I do to get that too??

    Thanks,
    Ram

  6. #6
    Registered User
    Join Date
    02-09-2010
    Location
    Dayton
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Reading and displaying numbers from one sheet to another

    I see it happen intermittently...when I try it on 3000 rows few rows dont get teh values on sheet 2

+ 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