+ Reply to Thread
Results 1 to 5 of 5

add values from multiple columns in one worksheet to another worksheet based on a match

Hybrid View

  1. #1
    Registered User
    Join Date
    02-04-2019
    Location
    Pennsylvania
    MS-Off Ver
    MS Office 365
    Posts
    3

    Question add values from multiple columns in one worksheet to another worksheet based on a match

    Worksheet 1= there is data in each cell in Columns A – K For any given row, the values in Columns G, H, I, J, K directly correspond to the Value in Column B
    NOTE: there are 17000+ rows in Worksheet 1, and each value in column B is unique (unique email addresses)

    Worksheet 2= there is data in each cell in Columns A – P
    I would like a formula so that: Whenever a Value in Column B on Worksheet 1 matches any same value in Column N on Worksheet 2, it will deliver the corresponding values from Columns G,H, I, J, K in Worksheet 1 to Columns Q, R, S, T, U within Worksheet 2

    NOTE: Another forum suggested VLOOKUP, but I was thinking it's a bit more complicated than that, since the Values in Worksheet 1, Column B (email addresses) are all unique. In Worksheet 2, any given email address may appear multiple times.

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,767

    Re: add values from multiple columns in one worksheet to another worksheet based on a matc

    Can you attached any samples file, please?
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    02-04-2019
    Location
    Pennsylvania
    MS-Off Ver
    MS Office 365
    Posts
    3

    Question Re: add values from multiple columns in one worksheet to another worksheet based on a matc

    I believe I was able to attach an example that corresponds to my question

    Worksheet 1= there is data in each cell in Columns A – K
    Values in Column B are unique
    For any given row, the values in Columns G, H, I, J, K correspond to the Value in Column B

    Worksheet 2= there is data in each cell in Columns A – P
    Values in Column N are NOT unique

    I would like a formula so that:
    Whenever the Value in Column B on Worksheet 1 matches ANY same value in Column N on Worksheet 2,
    deliver the corresponding values from Columns G,H, I, J, K in Worksheet 1 TO Columns Q, R, S, T, U in Worksheet 2

    THANK YOU FOR YOUR HELP
    Attached Files Attached Files

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,767

    Re: add values from multiple columns in one worksheet to another worksheet based on a matc

    Into cell Q2 on Worksheet2:
    Formula: copy to clipboard
    =IFERROR(INDEX('Worksheet 1'!G:G,MATCH('Worksheet 2'!$N2,'Worksheet 1'!$B:$B,0)),"not found")

    drag it right to col U and down as much as you need. Should be fine.

  5. #5
    Registered User
    Join Date
    02-04-2019
    Location
    Pennsylvania
    MS-Off Ver
    MS Office 365
    Posts
    3

    Re: add values from multiple columns in one worksheet to another worksheet based on a matc

    YOU ARE AMAZING! I am grateful. You really helped me out. Like I said, there are 17,000+ email addresses to match in the real file
    Have a wonderful 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] Filter two columns based on cell values in another worksheet
    By theglowcloud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2017, 07:43 AM
  2. [SOLVED] trying to delete columns in a worksheet that dont match header values
    By Rob69mfj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2014, 03:46 PM
  3. [SOLVED] Pulling data from one worksheet to another based on certain values in certain columns
    By foxkevinj in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2013, 01:39 PM
  4. Replies: 4
    Last Post: 05-08-2013, 02:07 PM
  5. Split worksheet columns into more columns (same worksheet) based on numer of rows
    By Ribka40 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 10:49 AM
  6. Merge multiple worksheet to summary worksheet based on column header value match
    By rafiomeon in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-23-2012, 03:37 AM
  7. Matching columns of 2 Workbooks and copying the match values to a worksheet.
    By shrimic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-10-2012, 08:08 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