Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bill Steamshove
 
Posts: n/a
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bill Steamshove
 
Posts: n/a
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
How do I set up a range within a IF function? RevoProphet Excel Worksheet Functions 1 December 8th 05 04:00 PM
Offset Function works in cell, not in named range DragonslayerApps Excel Worksheet Functions 0 July 25th 05 04:39 PM
Number range function Sonya T Excel Discussion (Misc queries) 2 July 19th 05 01:19 AM
Function to determine if any cell in a range is contained in a given cell [email protected] Excel Worksheet Functions 3 February 7th 05 04:19 PM


All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"