Excel Query
 

MegaSack DRAW - 6pm Christmas Eve - LIVE on our YouTube Channel

[Closed] Excel Query

7 Posts
6 Users
0 Reactions
77 Views
Posts: 15977
Free Member
Topic starter
 

I have a list of names on one spreadsheet (A).

On another spreadsheet (B)I have a pivot table with names down the left, months across the top, and the value is a payroll deduction.

Apr 16 May 16 Jun 16
Joe Blogs 150.00 150.00

How can I automatically return the month the deduction started in to spreadsheet A?

Thanks

Ah bugger formatting doesnt work on here...

Apr 16 = 0
May 16 = 150
Jun 16 = 150

So I would want the formula to return May 16


 
Posted : 08/03/2017 11:15 am
Posts: 17
Free Member
 

Any reason you can't put the sheet with the names in the other one?
If you list the months as numbers and return MIN of something


 
Posted : 08/03/2017 11:17 am
Posts: 8702
Full Member
 

It may be easier to get from the data than the pivot table


 
Posted : 08/03/2017 11:17 am
Posts: 15977
Free Member
Topic starter
 

I have 100 + names to return, the value for, and the date range is April 2014 to Feb 2017, so a lot of columns !

Once the deductions start it is always the same value, it is just returning the first month 🙁


 
Posted : 08/03/2017 11:24 am
Posts: 0
Free Member
 


 
Posted : 08/03/2017 11:25 am
Posts: 13554
Free Member
 

Could you do a VLOOKUP from the pivot in to spreadsheet A?


 
Posted : 08/03/2017 11:31 am
Posts: 15977
Free Member
Topic starter
 

A work colleague has just done something that works on the pivot table, and then a simple lookup to spreadsheet A

=INDEX(B$4:AV$4,MATCH(TRUE,INDEX(B5:AV5<>0,),0))


 
Posted : 08/03/2017 11:31 am
Posts: 0
Free Member
 

Google is your friend


 
Posted : 08/03/2017 11:46 am