+ Reply to Thread
Results 1 to 3 of 3

Autofill values if they match in another column

  1. #1
    Registered User
    Join Date
    03-04-2018
    Location
    Bucharest
    MS-Off Ver
    2012
    Posts
    1

    Autofill values if they match in another column

    Hello everyone!

    I'm a newbie here, so please don't hate me if I'm asking a stupid question!

    I'm having the table below.

    Now, when I start filling data in column B, I want all the rows in column B to get the same value if they match in column A.
    For example, if I write "Ana" in B1, I want that value to appear in all the rows that have the same value as A1.
    If I write "Laura" in B2, I want to get the value "Laura" also in B3, B5 and B8, because they match in column A (same value - 222)

    Any help?

    asda.png

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Autofill values if they match in another column

    Hello entranced & Welcome to the Forum,

    I would suggest you build a lookup table and then use a vlookup function to return the correct value.

    http://www.contextures.com/xlFunctions02.html
    HTH
    Regards, Jeff

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: Autofill values if they match in another column

    Put this formula in B2:

    =IFERROR(VLOOKUP(A2,A$1:B1,2,0)&"","")

    then copy down.

    Then you can add your names to B1, B2 etc. (over-writing the formula in B2).

    Hope this helps.

    Pete

+ 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: 5
    Last Post: 07-01-2015, 05:59 AM
  2. [SOLVED] AutoFill to match nearest column
    By athar1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-01-2015, 05:01 PM
  3. [SOLVED] Index-Match: Increasing the column count through a vertical autofill
    By Dr_Orpheus in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2014, 10:19 AM
  4. Autofill values in specific column
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2013, 06:44 PM
  5. [SOLVED] AutoFill the first emty column based on the values of the last filled column
    By runneer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-20-2013, 01:04 PM
  6. [SOLVED] AutoFill Function to Match Range created by Column & Row
    By Trevasaurus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2013, 11:38 AM
  7. autofill to match column
    By rmp478 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-20-2012, 05:41 PM

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