+ Reply to Thread
Results 1 to 5 of 5

Need to Match Incident #'s in file Excel Zone A tab"old" and tab "new"

  1. #1
    Forum Contributor
    Join Date
    03-06-2015
    Location
    houston, tx
    MS-Off Ver
    MS 365
    Posts
    494

    Need to Match Incident #'s in file Excel Zone A tab"old" and tab "new"

    I have a file "Zone A" with two tabs "old" and "new" see attached.

    The "old" tab has Lat and Long in columns D & E whereas tab "new" does not. I need to match the incident#'s in "old" and "new" and when they match, then Lat and Long from "old" to be added to tab "new" in the columns named Lat and Long columns ( blank now in "new")

    If incident#'s in tab "old" does not match to incident#'s in tab "new", then leave Lat and Long blank for the incident#'s in tab "new".
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Need to Match Incident #'s in file Excel Zone A tab"old" and tab "new"

    Try these:

    =IFERROR(INDEX(old!$D$2:$D$65,MATCH(new!A2&new!B2&new!C2,INDEX(old!$A$2:$A$65&old!$B$2:$B$65&old!$C$2:$C$65,0),0)),"")

    and:

    =IFERROR(INDEX(old!$E$2:$E$65,MATCH(new!A2&new!B2&new!C2,INDEX(old!$A$2:$A$65&old!$B$2:$B$65&old!$C$2:$C$65,0),0)),"")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    03-06-2015
    Location
    houston, tx
    MS-Off Ver
    MS 365
    Posts
    494

    Re: Need to Match Incident #'s in file Excel Zone A tab"old" and tab "new"

    AliGW

    Thanks for reply. Not working for me. The LAT and LONG in old needs to be in "new" LAT and LONG when Incidents match in "old" and "new".
    I keep trying but not working. Can you help? Thank you

  4. #4
    Forum Contributor
    Join Date
    03-06-2015
    Location
    houston, tx
    MS-Off Ver
    MS 365
    Posts
    494

    Re: Need to Match Incident #'s in file Excel Zone A tab"old" and tab "new"

    AliGW

    It works now. I must have done something. Thank you very much. Have a blessed weekend

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Need to Match Incident #'s in file Excel Zone A tab"old" and tab "new"

    Yes, it works - I tested it on your data before posting. Glad you got it sorted!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 02-05-2019, 12:03 AM
  2. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  3. Replies: 4
    Last Post: 06-11-2017, 02:03 PM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  6. MSoffice Outlook 2003 message to be saved in C dir with the file name "From" "Sent" "Sub"
    By shailendra0509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 01:32 AM
  7. Replies: 3
    Last Post: 02-16-2011, 02:55 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