+ Reply to Thread
Results 1 to 5 of 5

IF(copy information from cell to another cell)

  1. #1
    Registered User
    Join Date
    06-13-2019
    Location
    Los Angeles, California
    MS-Off Ver
    2010
    Posts
    9

    IF(copy information from cell to another cell)

    Hello I would like some help trying to figure out a formula. I am using excel 2010

    I would want to be able to have the formula enter the info from 1 cell to another if the number entered in this cell matches another cell. This is how it looks

    A B C D
    Fuentes, Marta 81572
    Herrera, Bryan 81575
    Okafor, Alexander 81577
    Piedrasanta, Eldyn 81578


    I would like to be able to do is IF I enter the ID number under the B column in any other cell to copy the name next to it to another cell. for example: If in D3 I enter 81572 from B1 then I want the name Fuentes, Marta From A1 enter to C3, then if I enter 81577 from B3 In D8 then I want the name from A3 to be enter in C8.

    I hope I explained this well

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: IF(copy information from cell to another cell)

    don't know if you have these requirements sporadically or together (like D3 and D8 or from D3 to D8 (each cell in between too)) but this should work in C3 and any other cells in column C.
    =IFERROR(INDEX(A:A,MATCH(D3,B:B,0)),"")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

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

    Re: IF(copy information from cell to another cell)

    Use this in C3:

    =IF(D3="","",IFERROR(INDEX(A:A,MATCH(D3,B:B,0)),""))

    then copy down as far as you need to.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    06-13-2019
    Location
    Los Angeles, California
    MS-Off Ver
    2010
    Posts
    9

    Re: IF(copy information from cell to another cell)

    Thank you so much it worked perfectly

  5. #5
    Registered User
    Join Date
    06-13-2019
    Location
    Los Angeles, California
    MS-Off Ver
    2010
    Posts
    9

    Re: IF(copy information from cell to another cell)

    Thank you both of you... i actually tried both formulas and they both game the result that I needed. You saved me so much time

+ 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: 4
    Last Post: 02-28-2014, 02:56 PM
  2. copy cell information - both ways - cell link
    By rubz71 in forum Excel General
    Replies: 3
    Last Post: 09-04-2013, 12:56 AM
  3. Copy cell information from one worksheet if a cell matches the criteria
    By grammydeb52 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2013, 01:00 AM
  4. Copy cell information based on another cell criteria
    By brian807 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2013, 09:14 AM
  5. Replies: 24
    Last Post: 01-17-2012, 12:06 PM
  6. Copy information from cell in below cell(s)
    By rafaexcel in forum Excel General
    Replies: 3
    Last Post: 10-28-2011, 09:57 AM
  7. Replies: 1
    Last Post: 08-29-2009, 01:10 PM
  8. Copy information from one cell to another
    By wfufan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2007, 02:51 AM

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