![]() |
Querying a range returned by another function
I have a log file that has three columns in it: User ID, Action, Date. There are multiple entries of the same User ID and what I would like to do is present the data in the following so there is a single row for each User ID followed by the dates of specific Actions by that user: User ID, Action 1 Date, Action 2 Date, etc I've sorted the data by User ID, now I want to get a range back of each users actions and do a lookup for each action to get the corresponding dates. I'm having a lot of trouble producing the formula. Could I get a hand please? -- Bill Steamshove ------------------------------------------------------------------------ Bill Steamshove's Profile: http://www.excelforum.com/member.php...o&userid=33309 View this thread: http://www.excelforum.com/showthread...hreadid=531322 |
Querying a range returned by another function
Use following formula in resulting cells:
=SUMPRODUCT(($A2=Sheet1!$A$2:$A$99)*(B$1=Sheet1!$B $2:$B$99)*Sheet1!$C$2:$C$9 9) See example: http://cjoint.com/?ejrSpzlFAs HTH -- AP "Bill Steamshove" <Bill.Steamshove.2603zz_1144593002.3342@excelfor um-nospam.com a écrit dans le message de news:Bill.Steamshove.2603zz_1144593002.3342@excelf orum-nospam.com... I have a log file that has three columns in it: User ID, Action, Date. There are multiple entries of the same User ID and what I would like to do is present the data in the following so there is a single row for each User ID followed by the dates of specific Actions by that user: User ID, Action 1 Date, Action 2 Date, etc I've sorted the data by User ID, now I want to get a range back of each users actions and do a lookup for each action to get the corresponding dates. I'm having a lot of trouble producing the formula. Could I get a hand please? -- Bill Steamshove ------------------------------------------------------------------------ Bill Steamshove's Profile: http://www.excelforum.com/member.php...o&userid=33309 View this thread: http://www.excelforum.com/showthread...hreadid=531322 |
Querying a range returned by another function
That's perfect! Thanks for your help. -- Bill Steamshove ------------------------------------------------------------------------ Bill Steamshove's Profile: http://www.excelforum.com/member.php...o&userid=33309 View this thread: http://www.excelforum.com/showthread...hreadid=531322 |
All times are GMT +1. The time now is 10:16 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com