Index and Match - Gathering data from columns with no headers

bagman002

New Member
Joined
Dec 9, 2016
Messages
6
Hi guys,

I am having some issues with Index and Match for a project that I am working on. I have a list of employees where I wish to gather data to calculate their targets.

Where I get stuck is the source table is not setup the way a typical index table would be. Column A has the employees name, Column C has the shift date & lastly Column D has the Target.


first_namesurnameshift_datetarget
Name 103-04-1895.35%
Name 104-04-1898.35%
Name 105-04-1888.73%
Name 109-04-1895.00%
Name 110-04-18101.27%
Name 111-04-18
Name 112-04-18
Name 113-04-18100.00%
Name 116-04-1899.08%
Name 117-04-18
Name 123-04-180.00%
Name 124-04-18100.00%
Name 130-04-1893.10%
Name 203-04-1899.58%
Name 204-04-18100.23%
Name 209-04-1899.58%
Name 210-04-18103.57%
Name 211-04-18
Name 216-04-18100.00%
Name 223-04-18100.00%
Name 224-04-1899.34%
Name 226-04-1899.79%
Name 227-04-18100.00%
Name 230-04-18106.75%

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


The purpose of this is so I can clean up the data. I want to use the index and match function to import the above data into another sheet in order to average the targets. The below is what the destination would look like. I want the target for employee 1 to be listed under "Name 1" for the matching date they got that score.

As currently there is a lot of manual work to get this done and I am wanting to try and simplify the process.

DateName 1Name 2
01-04-18
02-04-18
03-04-18
04-04-18
05-04-18
06-04-18
07-04-18
08-04-18
09-04-18
10-04-18
11-04-18
12-04-18
13-04-18
14-04-18
15-04-18
16-04-18
17-04-18
18-04-18
19-04-18
20-04-18
21-04-18
22-04-18
23-04-18
24-04-18
25-04-18
26-04-18
27-04-18
28-04-18
29-04-18
30-04-18
Average0.00%0.00%
FailFail

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>


I hope I have explained what I am attempting well and I do hope I will be able to get a formula that will work for this application


Regards
bagman002
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Paste your first table so that "first_name" is in A1
Paste your second table so that "Date" is in F1

in G2
=IFERROR(LOOKUP(2,1/(G$1=$A$2:$A$27)/($F2=$C$2:$C$27),($D$2:$D$27)),"")
copy across and down the columns
format the second table as required
 
Upvote 0
The first table is how the systems dumps the data as a CSV. I am trying to use the index and match to setup the bottom table.

Ideally I do not want to manually manipulate the data if I can help it as I am trying to limit the amount of manual work I need to do to save time.

I am using this formula "=IFERROR(INDEX(Rawdata!D32:D45,MATCH(A3,Rawdata!C32:C45,0)),"-")" However there is not expanding on this as the dataset will only be looking at a small cell range.

I have attached a sample of what my document currently looks like in hopes that it might explain what I am attempting to do a little easier.

https://1drv.ms/x/s!AnEMENezPc2BhuNPLnFHBEoNS7lFjQ
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,304
Members
448,886
Latest member
GBCTeacher

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