Take data from 2 sheets, search and combine

wlof

New Member
Joined
Mar 3, 2010
Messages
11
Office Version
  1. 2013
Platform
  1. Windows
Hi all,

Hoping this has a solution. My workplace uses some fairly dated software and I need to complete a lot of manual data tasks which I feel may be able to be automated.

Basically, we use two systems and I need to combine data from 2 separate sheets into one.

Sheet One - Staff names with a few results.
Sheet Two - Same again, different data.

Sheet 3 - a combined version.



Best to show by an example, perhaps? A complication would be the names on both Data1 and Data2 can vary position. Plus, sometimes 'Dave' may be listed on data2, but not in data1 or vice-versa.


1720386083128.png
1720386103478.png
1720386223877.png


Is this possible to have something Start on Data1 and copy Alf's time/emails to the correct location on Data3, repeat for Bob, Charlie and Dave

THEN

Do the same for Dave, Bob, Charlie and Alf from Data2?



Cheers!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Join the two tables with Power Query

Power Query:
let
    T1 = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    T2 = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
    MQ=Table.NestedJoin(T1,{"Agent"},T2,{"Agent"},"Merged",JoinKind.LeftOuter),
    #"Expanded Merged" = Table.ExpandTableColumn(MQ, "Merged", {"Sales", "Calls"}, {"Sales", "Calls"})
in
    #"Expanded Merged"
Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

- Follow this link to learn how to install Power Query in Excel 2010 / 2013.

- Follow this link for an introduction to Power Query functionality.

- Follow this link for a video which demonstrates how to use Power Query code provided.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top