+ Reply to Thread
Results 1 to 8 of 8

How to Show name to corresponding account number.

  1. #1
    Registered User
    Join Date
    12-28-2023
    Location
    Chicago IL usa
    MS-Off Ver
    365
    Posts
    2

    How to Show name to corresponding account number.

    Basic Excel user here. This question is probably very simple.
    I need a formula to show a customer's name when user types in account number.

    We have been using the find function to locate but this is confusing some newer staff and time consuming.

    I have gotten myself confused by complicated online examples of IF and IFERROR and VLOOKUP

    My layout is very simple,
    A1 is blank and is where user will enter in the account number needed to be matched to customer name.
    A2 is where we want name to auto fill
    Column B is customer name list B1:B1000
    Column C is corresponding account numbers C1:C1000

    Any help is appreciated.
    Last edited by MowersMike; 12-28-2023 at 03:09 AM.

  2. #2
    Forum Contributor
    Join Date
    02-04-2017
    Location
    chennai
    MS-Off Ver
    MS OFFICE 365
    Posts
    253

    Re: How to Show name to corresponding account number.

    Dear MowersMike

    You can use the VLOOKUP function in Excel to achieve this. Assuming that you want to input an account number in cell A1 and auto-fill the corresponding customer name in cell A2, you can use the following formula
    In cell A2, enter the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to Show name to corresponding account number.

    Maybe something like this?

    =index(C1:C1000,match(A1,B1:b1000,0))

    If you want it "empty" until you enter an account number...
    =if(A1="","",index(b1:b1000,match(A1,c1:c1000,0)))
    Last edited by FDibbins; 12-28-2023 at 02:31 AM. Reason: Thanks BSB, had the columns swapped
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to Show name to corresponding account number.

    HI and welcome

    Enter the below formula in A2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that helps.

    BSB

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to Show name to corresponding account number.

    Quote Originally Posted by sudbhavani View Post
    Dear MowersMike

    You can use the VLOOKUP function in Excel to achieve this. Assuming that you want to input an account number in cell A1 and auto-fill the corresponding customer name in cell A2, you can use the following formula
    In cell A2, enter the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    A simple vlookup wont work, because the count number - which is your search criteria - is to the right of what you want to return.

  6. #6
    Registered User
    Join Date
    12-28-2023
    Location
    Chicago IL usa
    MS-Off Ver
    365
    Posts
    2

    Re: How to Show name to corresponding account number.

    Thanks everyone for the help, I had been working on this for hours!!

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to Show name to corresponding account number.

    Glad we could help.

    BSB

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to Show name to corresponding account number.

    Happy to help, thanks for the feedback

+ 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. on My top 20 account the last one does not show
    By NicBKK in forum Excel General
    Replies: 3
    Last Post: 02-21-2019, 06:08 AM
  2. Replies: 1
    Last Post: 10-24-2018, 10:21 AM
  3. IF Statement that will assign account types based on "account number"
    By aladdin16 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-08-2014, 05:04 PM
  4. formulas that show other data only from Account Number ( need help plz )
    By zitno in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 09-13-2014, 07:35 PM
  5. if Account number = return Account Name
    By mom2carisa in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-04-2013, 06:03 PM
  6. Return Account Nickname if Account Number Matches
    By spacle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-03-2013, 11:04 AM
  7. [SOLVED] How to censor account numbers based on how many characters are in the account number
    By Mcorydon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2013, 01:06 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