+ Reply to Thread
Results 1 to 8 of 8

Return ID's of account managers

  1. #1
    Registered User
    Join Date
    05-23-2020
    Location
    Middlesbrough, England
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Return ID's of account managers

    Hi,

    I have a table with a list of account managers and their unique ID's. There are three other worksheets that contain a list of the manager's names and I want to replace them with their ID's taken from the account managers table.

    I have used V-Lookup but I can only get it to increment instead of returning the respective ID of the account managers. Some of the account managers are repeated in the worksheets so I want their correct ID's instead of just 1,2,3,4,5,6,7... in the column.

    Please find the attached file with the dummy data. The version is 97-2003. If you could advise me of the correct formula so I can find out how to do it that would be great!
    Attached Files Attached Files

  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,647

    Re: Return ID's of account managers

    Welcome to the forum.

    I do not see where you have mocked up what you want. Please add this manually for a few rows and post the workbook again once added. Thanks.
    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
    05-23-2020
    Location
    Middlesbrough, England
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: Return ID's of account managers

    Hi,

    I have stated in the worksheets what I would like to do. I hope it helps.
    Attached Files Attached Files

  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,647

    Re: Return ID's of account managers

    Ah, I see. Sorry, but you can't replace a cell value using a formula. You would need to use INDEX MATCH in an adjacent cell.

    For example, in E2:

    =INDEX('Account Managers'!$A$2:$A$149,MATCH(D2,'Account Managers'!$B$2:$B$149,0))

  5. #5
    Registered User
    Join Date
    05-23-2020
    Location
    Middlesbrough, England
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: Return ID's of account managers

    Thank you, that was very helpful. Seems Index Matches are a bit more complicated than V-Lookups!

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

    Re: Return ID's of account managers

    No, thy aren't, and they allow a lookup from right to left.

    =INDEX(return_value_array,MATCH(lookup_value,lookup_array,return_type))

  7. #7
    Registered User
    Join Date
    05-23-2020
    Location
    Middlesbrough, England
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: Return ID's of account managers

    Ah. The syntax makes it more clear. Thanks!

  8. #8
    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,647

    Re: Return ID's of account managers

    No problem.

+ 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: 12
    Last Post: 10-17-2016, 07:03 AM
  2. if Account number = return Account Name
    By mom2carisa in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-04-2013, 06:03 PM
  3. Return Account Nickname if Account Number Matches
    By spacle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-03-2013, 11:04 AM
  4. [SOLVED] Return list of unique account numbers
    By trumpetman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-17-2012, 06:42 PM
  5. Running monthly rate of return for investment account.
    By donfm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-11-2011, 10:47 AM
  6. Choose account managers from pivot table
    By ronlau123 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-14-2011, 11:07 AM
  7. Formula to return first 3 numbers in account code
    By Jogier505 in forum Excel General
    Replies: 3
    Last Post: 08-03-2010, 03:48 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