+ Reply to Thread
Results 1 to 11 of 11

Combining cells matching email

  1. #1
    Registered User
    Join Date
    09-01-2023
    Location
    Sweden
    MS-Off Ver
    MS365 (16.76)
    Posts
    11

    Question Combining cells matching email

    Hello, I have an extensive master document with flight and hotel information, Now I need to insert additional information for each guest.
    How do I do that the easiest way?

    Is there any code that could match each email address that is in both sheet A (master) and sheet B (additional) and import new/additional information from sheet B and add it to the correct person's row in sheet A?
    I attached a example file with the corresponding columns that I have in my original file, I haven't hidden any columns so forgive me for it being a wide spreadsheet.

    So to sum it up, I want the information in sheet additional column J-O to be copied over to sheet master in the correct line for each person matching their email address and to have the information be filled in column AL+AM+AN+Ao+Ap+AQ

    Could anyone please help me with this?

    Please note that all names/informational are fictional

    Thank you so much
    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 (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,747

    Re: Combining cells matching email

    What is 16.76? Is it a version of 365? Please update your profile to make this clearer.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,747

    Re: Combining cells matching email

    The master has no data - what are you expecting to match?

    Please mock up a few rows of expected outcomes. Some form of VLOOKUP or INDEX MATCH should work once we know exactly what you want.

  4. #4
    Registered User
    Join Date
    09-01-2023
    Location
    Sweden
    MS-Off Ver
    MS365 (16.76)
    Posts
    11

    Re: Combining cells matching email

    Hi thank you for quick reply!

    To clarify,
    I want to have the details in sheet Additional, column J-O to be copied over to sheet Master in column AL + AM + AN + AO + AP +AQ.

    Please see sheet additional for the data to be copied over =)

    Thank you

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

    Re: Combining cells matching email

    There's nothing there. So how are you intending on matching the data? Nothing can match with blank cells ...

    I asked you to mock up some expected results. Please do that.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,747

    Re: Combining cells matching email

    Sorry - I just found the data!

    Variations of this:

    =INDEX(additional!$J$2:$J$9,MATCH($F2,additional!$E$2:$E$9,0))

    =INDEX(additional!$J$2:$J$9;PASSA($F2;additional!$E$2:$E$9;0))

    Change the bit in RED for the column you want to return in each case.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,747

    Re: Combining cells matching email

    Seen, but no reply ...

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

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  8. #8
    Registered User
    Join Date
    09-01-2023
    Location
    Sweden
    MS-Off Ver
    MS365 (16.76)
    Posts
    11

    Re: Combining cells matching email

    Thank you for your help!

  9. #9
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2412
    Posts
    1,514

    Re: Combining cells matching email

    Hello.

    Another approach for a single formula would require matching columns headings on both tabs.
    So, if you can make headings in range AL1:AQ1 on master tab read the same as their target columns in additional tab, use this formula in AL2 and copy across and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Good luck!
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-01-2023
    Location
    Sweden
    MS-Off Ver
    MS365 (16.76)
    Posts
    11

    Re: Combining cells matching email

    Thank you very much E for your help also and the attached explanation file, I will play around with this also.

  11. #11
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2412
    Posts
    1,514

    Re: Combining cells matching email

    You’re welcome.
    Thank you for the feedback and for the reputation added.
    Have a blessed day.

+ 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. [SOLVED] Combining text in cells A,B,C,D and E into cell F to make an email address.
    By MECO in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-10-2014, 04:05 PM
  2. [SOLVED] Matching and combining data from 2 csv files
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-22-2012, 03:20 PM
  3. [SOLVED] Combining vertical cells into one and between blank rows start combining again?
    By mike_m1 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-21-2012, 12:19 PM
  4. Matching and combining data from 2 csv files
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2012, 11:45 AM
  5. [SOLVED] Combining, Matching, Multiple Worksheets
    By strikinglyfamiliar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-14-2012, 09:15 AM
  6. Matching columns and combining numbers
    By hunnel in forum Excel General
    Replies: 6
    Last Post: 04-19-2012, 10:40 AM
  7. Matching and combining data out of 3 columns
    By Tino XXL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2011, 05:14 AM
  8. Replies: 1
    Last Post: 01-26-2011, 04:44 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