Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi is there a way to use the lookup function and return all the values in ONE
cell that match the criteria, and not just the first or largest one? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use a User Defined Function
-- Gary''s Student - gsnu200810 "Andy" wrote: hi is there a way to use the lookup function and return all the values in ONE cell that match the criteria, and not just the first or largest one? Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I assume this is related to your previous post. How about a UDF. Alt+F11 to open VB editor, Right click 'This Workbook' and insert module and paste the code below in on the right Call with =ListProjects(A1:A100,A1) Where a1 - a100 is your list of names and a1 is the name your looking for. Function ListProjects(rng As Range, mgr As String) As String For Each c In rng If c.Value = mgr Then ListProjects = ListProjects + c.Offset(, 1).Text & " , " End If Next End Function Mike "Andy" wrote: hi is there a way to use the lookup function and return all the values in ONE cell that match the criteria, and not just the first or largest one? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup to return multiple values | Excel Worksheet Functions | |||
LOOKUP TO RETURN MULTIPLE VALUES | Excel Discussion (Misc queries) | |||
Lookup and Return Multiple Values | Excel Worksheet Functions | |||
how to lookup a value and return multiple corresponding values | Excel Worksheet Functions | |||
Lookup and return multiple Values | Excel Worksheet Functions |