Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I hope someone can help me.
I have two different workbooks, one to track "tickets" written during the month, this will correspond with a sheet in another workbook for each employee. For ease of entry I am try to get the employee workbook do a lookup of the name in the first workbook and return all results. I did get a formula to work with lookup; however, it only returns the last ticket written, there will be instances where more than one ticket is written to an indivdiual within the month. This is the function that I have that returns 1 result: =LOOKUP('[Ticket Tracking.xls]March'!$I$89,'[Ticket Tracking.xls]March'!$B$4:$B$600,'[Ticket Tracking.xls]March'!$D$4:$D$600) How can I adjust this or write a new formula to return all results. Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In Cell F2, enter this
=MATCH('[Ticket Tracking.xls]March'!$I$89,OFFSET('[Ticket Tracking.xls]March'!$B$5,SUM($F$1:F1),0,COUNTA('[Ticket Tracking.xls]March'!$B$4:$B$600)-SUM($F$1:F1),1),0) and in cell G2, enter this =IF(ISERROR(OFFSET('[Ticket Tracking.xls]March'!$B$5,SUM($F$2:F2)-1,2)),"",OFFSET('[Ticket Tracking.xls]March'!$B$5,SUM($F$2:F2)-1,2)) Copy those two cells down for at least as many row as you expect possible duplicates. This assumes there are headers in row 4 of the sheet March, and that you don't want to extract them. -- HTH, Bernie MS Excel MVP "SafetyIntern" wrote in message ... I hope someone can help me. I have two different workbooks, one to track "tickets" written during the month, this will correspond with a sheet in another workbook for each employee. For ease of entry I am try to get the employee workbook do a lookup of the name in the first workbook and return all results. I did get a formula to work with lookup; however, it only returns the last ticket written, there will be instances where more than one ticket is written to an indivdiual within the month. This is the function that I have that returns 1 result: =LOOKUP('[Ticket Tracking.xls]March'!$I$89,'[Ticket Tracking.xls]March'!$B$4:$B$600,'[Ticket Tracking.xls]March'!$D$4:$D$600) How can I adjust this or write a new formula to return all results. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup with Multiple results | Excel Worksheet Functions | |||
Lookup multiple results with gaps | Excel Worksheet Functions | |||
Lookup Multiple results has gaps | Excel Worksheet Functions | |||
Lookup multiple results that has gaps | Excel Worksheet Functions | |||
How can I do a lookup and get multiple row results? | Excel Worksheet Functions |