+ Reply to Thread
Results 1 to 4 of 4

Find and match names on a different sheet and then copy the adjacent cells

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    washington
    MS-Off Ver
    Excel 365
    Posts
    66

    Find and match names on a different sheet and then copy the adjacent cells

    Good morning everyone!
    I have a workbook with 2 sheets. Current Tab is where I need the formula. Change things here Sheet is where to update information.

    I have 3 locations in my sample. On the 'Current Tab' I am needing a formula for columns F - S, rows 10-13, rows 18-21 and rows 26 - 29. I have outlined these in red. Hopefully to make this easier. All of the blue cells should have an X if the formula is working. The other cells within the Red outlines should be blank.
    The information is to come from Sheet 'change things here K3-X8 in my sample.
    So for the formula I want to find the name on 'change things here J3:J8 that matches Current Tab B10:B29 and then populate Current Tab F - S, rows 10-13, rows 18-21 and rows 26 - 29, with what is adjacent to 'change things here J3:J8 in columns K-X
    'Current Tab' F10:S11 have formulas I have tried but obviously don't work!

    In short we have 50+ people that occasional change locations and when I make changes on 'change things here' B4:H6 I need the characteristics to follow the names.

    I really hope this makes since. Please let me know if you need more clarification!
    Thank you in advance all who look at my question!!
    Attached Files Attached Files

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

    Re: Find and match names on a different sheet and then copy the adjacent cells

    You can use this formula in K10 of the Current sheet:

    =IFERROR(INDEX('change things here'!K$3:K$8,MATCH($B10,'change things here'!$J$3:$J$8,0))&"","")

    You can copy this across and down the top block (probably better to use Copy then Paste Special | Formulas | OK, so as to not mess up your formatting). You can also copy the formula into the lower blocks, and the cell references will automatically adjust.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    washington
    MS-Off Ver
    Excel 365
    Posts
    66

    Re: Find and match names on a different sheet and then copy the adjacent cells

    This works perfectly! Thank you so much!
    I was wondering, I have seen this & used in alot of formulas, but I am not sure what it is used for and when to use it??

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

    Re: Find and match names on a different sheet and then copy the adjacent cells

    The ampersand symbol, & , is used to join text together. It can be used instead of the CONCATENATE function, and is obviously much shorter to type. In this particular case, if the cell from which the data is to be returned is empty, then Excel will treat this as zero, but by joining on a null string, "", then this will also be converted to a null string and the receiving cell will also appear empty. It's a shorter way than doing:

    =IF(long_formula="","",long_formula)

    Hope this helps.

    Pete

    P.S. Thanks for the rep, and if that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

+ 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. How to match cells and copy adjacent cells once matched.
    By eekbubble in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-16-2015, 11:29 AM
  2. [SOLVED] Match one cell with another, if match found copy adjacent cells
    By Xiophoid in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-07-2013, 05:50 AM
  3. Replies: 7
    Last Post: 12-04-2012, 06:23 AM
  4. [SOLVED] find value, copy value of adjacent cell and paste it on another sheet
    By Ajgor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2012, 04:21 PM
  5. Find Adjacent Data In One Sheet and Copy/Paste Into Other Sheet
    By jaylotheman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2011, 07:19 PM
  6. If match between two sheets, copy adjacent cell from sheet 2 to sheet 1?
    By VBnoob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2011, 04:02 AM
  7. Search to find matching cells and copy/transpose adjacent data to original sheet?
    By thump4r in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-12-2009, 09:20 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