+ Reply to Thread
Results 1 to 5 of 5

SOLVED IF Function Question maybe -Autofilling account numbers to...

  1. #1
    Registered User
    Join Date
    01-13-2016
    Location
    rhode island
    MS-Off Ver
    2009
    Posts
    3

    SOLVED IF Function Question maybe -Autofilling account numbers to...

    Please Login or Register  to view this content.
    This is an example of the document I work with everyday. It is a booking sheet for my display team. My boss has asked me to include account numbers next to each account name. I do have a master excel list with all account names and corresponding account numbers. Is there a way that I can save all of the account names and numbers in excel's memory, so that I when I start typing an account name, the account number will autofill to the next column. I do not want to have to manually look up each account number and type it in. Does that make any kind of sense? Any help would be much appreciated. Thanks so much.
    Last edited by smb311; 01-19-2016 at 04:45 PM. Reason: SOLVED

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: IF Function Question maybe -Autofilling account numbers to corresponding account name

    You can keep the account numbers and names in another worksheet, then use a VLOOKUP formula to automatically fill in the account number if you type in a valid name. It will not do the lookup until you have typed the entire name and hit ENTER (not when you start typing).

    So let's say you have a worksheet called "Account Numbers" where column A has the list of account names and column B has the corresponding account numbers. In the sheet above, starting in row 2, you can use this formula:

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


    to provide the account number corresponding to the name in column A. Note that the names must be unique!
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    01-13-2016
    Location
    rhode island
    MS-Off Ver
    2009
    Posts
    3

    Re: IF Function Question maybe -Autofilling account numbers to corresponding account name

    Jeff, thank you so much. I actually got it to work, although it seems to be cap sensitive/font sensitive (I also triple checked my spelling to make sure the account names in both documents were an exact match). The formula only seems to work if I go into my "Account Names" worksheet and copy and paste the account name into my other worksheet. Even when I use the same exact font, type size as the "Account Names" worksheet, it still doesn't work, it has to be copy and pasted. I have attached the two documents, if you'd like to take a look. Perhaps, I should just start each document over, using the same font, size, capsize. Or perhaps, there is some kind of hidden setting that I need to turn off/turn on. Thanks again.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: IF Function Question maybe -Autofilling account numbers to corresponding account name

    First, your file "Display Bookings....xlsx" has VLOOKUP formulas that refer to a different file, which you did not attach. So I can't verify what you did.

    Second, in the list of account numbers in both files that you did provide, almost all of the account names have spaces at the end. Those will not match a version that does not have spaces. That's why it works when you copy and paste, because your paste includes the spaces. You need to get rid of those spaces. See attached.

    VLOOKUP is not case-sensitive and there is no built-in Excel function that cares about bold, font, or any other formatting aspect.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-13-2016
    Location
    rhode island
    MS-Off Ver
    2009
    Posts
    3

    Re: IF Function Question maybe -Autofilling account numbers to corresponding account name

    I would have never figured that out. The trimmed version worked perfectly. Thanks so so much.

+ 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: 0
    Last Post: 03-14-2015, 04:44 PM
  2. [SOLVED] Remove an account range form a column with account numbers.
    By kokapelly in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-09-2013, 11:34 AM
  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] 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
  5. IF Function for multiple account numbers
    By lost in excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2012, 04:40 PM
  6. Replies: 1
    Last Post: 09-07-2012, 12:00 PM
  7. Replies: 9
    Last Post: 03-12-2012, 05:30 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