View Single Post
  #1  
Old June 17th, 2009, 09:49 PM posted to microsoft.public.excel.worksheet.functions
olssonj
external usenet poster
 
Posts: 5
Default Lookup to return multiple matching values

Hi!

I have one workbook with two sheets. Sheet one is used to define where our
consultants are booked every day through the fiscal year. The sheet includes
one table called "data" (Excel 2007) with following columns:
"ConsultantName", "Date" and "CustomerName". In the second sheet I have every
days date in column A and then each consultants' name in A2, A3, etc. also in
a 2007-table called "Gantt".

The problem:
As the user adds data in the data sheet I want the CustomerName to end up on
the right date (row) and the right consultant (column) in the Gantt-sheet.
The thing is that Lookup and Index and Match and everything I have tried only
returns the first match not all matches, i.e. the same date:

ConsultantName: Kristina
Date: 090615
CustomerName: Lehman

and

ConsultantName: Linda
Date: 090615
CustomerName: HiQ

only return the data that matches the first hit, which is Lehman...

How can I make the function return all matches...? What am I missing here

Thanks!

//Jonas