Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
Can anyone assist me in finding out what would be the best way to search for a matching value within 5 different worksheets simultaneously? Thanks, |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you could create a named range containing the data on the 5 worksheets,
you could use something like VLOOKUP. "Jurassien" wrote: Hello, Can anyone assist me in finding out what would be the best way to search for a matching value within 5 different worksheets simultaneously? Thanks, |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Jurassien,
I got this from Peo Sjoblom. Which is an array formula... use Ctrl + Shift + Enter to commit. You will get { }brackets around the formula if done correctly. =VLOOKUP(A2,INDIRECT("'"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'"&MySheets&"'!A2:A200"),A2)0) ,0))&"'!A2:C200"),3,0) Where A2 is the lookup value. (adjust to suit) MySheets is a named range of the 5 worksheets you want to lookup. (Make a list of the sheet names, select them and in the name box type in your choosen name.) A2:C200 is the Lookup Array of each sheet. (adjust to suit) The ...,3,0) returns the value from the 3rd column, if you have two columns then change to 2, and the ...,0) says to look for an exact match. HTH Regards, Howard "Jurassien" wrote in message ... Hello, Can anyone assist me in finding out what would be the best way to search for a matching value within 5 different worksheets simultaneously? Thanks, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Helps: Type Mismatch Error | Excel Discussion (Misc queries) | |||
Combining a Vlook up with and If then statement | Excel Worksheet Functions | |||
How do i get the character(usually a paperclip) that helps you? | Excel Discussion (Misc queries) | |||
Vlook in VBA with If statement | Excel Discussion (Misc queries) | |||
If Then Lookups - If Someone helps me, Then I will be happier!!!! | Excel Worksheet Functions |