Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

VLOOKUP over multiple sheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jaisenm - 21 Aug 2006 23:59 GMT
I have a workbook with a summary tab and one tab for ever week.

I need to write a formula that looks for a value from column a, find the
sheet with a matching value in cell e4 and returns the value of cell ac1 of
the worksheet.

This formula will live in column b of the summary sheet.

Example:

Summary Tab

      A              B
1     19-Jul        19,000(formula result)
2     16-Jul        
3     23-Jul
4     30-Jul

Data Tab 1

      E                AC
1     9-Jul           19,000

It will need to look in cell E1 of every tab in the work book (52 tabs) for
the value found in $a1.
Peo Sjoblom - 22 Aug 2006 02:50 GMT
Does the lookup value occur more than once in all of the sheets?

Signature

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)

>I have a workbook with a summary tab and one tab for ever week.
>
[quoted text clipped - 23 lines]
> for
> the value found in $a1.
Jaisenm - 22 Aug 2006 04:54 GMT
No the value of E1 on every sheet is equal to the sheet name.

Basically this formula will be copied on the main tab in rows B7 through B58.

It should look in the adjacent cell in Column A, find the value, then search
through Cell E1 of all sheets in the workbook looking for the sheet with a
matching value.

All E1's will be unique.

When it find the sheet with with the matching value, it should return the
value of AC1 as the result.

> Does the lookup value occur more than once in all of the sheets?
>
[quoted text clipped - 25 lines]
> > for
> > the value found in $a1.
Peo Sjoblom - 22 Aug 2006 05:02 GMT
Then Biff's solutions should work

Signature

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)

> No the value of E1 on every sheet is equal to the sheet name.
>
[quoted text clipped - 42 lines]
>> > for
>> > the value found in $a1.
Jaisenm - 22 Aug 2006 05:52 GMT
How do i remove the #N/A! where the sheet has not been populated with data yet?

> Then Biff's solutions should work
>
[quoted text clipped - 44 lines]
> >> > for
> >> > the value found in $a1.
Biff - 22 Aug 2006 05:59 GMT
Use the Sumproduct formula (it is better now that we have more info to go
on). It'll just return 0.

Biff

> How do i remove the #N/A! where the sheet has not been populated with data
> yet?
[quoted text clipped - 51 lines]
>> >> > for
>> >> > the value found in $a1.
Jaisenm - 22 Aug 2006 05:06 GMT
Would SUMIF work better for this since it is just bringing the value of one
cell?

> No the value of E1 on every sheet is equal to the sheet name.
>
[quoted text clipped - 38 lines]
> > > for
> > > the value found in $a1.
Biff - 22 Aug 2006 05:21 GMT
You still need the list of sheet names:

=SUMPRODUCT(SUMIF(INDIRECT("'"&H$1:H$4&"'!E1"),A1,INDIRECT("'"&H$1:H$4&"'!AC1")))

Biff

> Would SUMIF work better for this since it is just bringing the value of
> one
[quoted text clipped - 48 lines]
>> > > for
>> > > the value found in $a1.
Biff - 22 Aug 2006 03:14 GMT
Hi!

One way:

Create a list of the sheet names:

H1 = Sheet2
H2 = Sheet3
H3 = Sheet4
H4 = Sheet5

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDIRECT("'"&INDEX(H$1:H$4,MATCH(TRUE,COUNTIF(INDIRECT("'"&H$1:H$4&"'!E4"),A1)>0,0))&"'!AC1")

Biff

>I have a workbook with a summary tab and one tab for ever week.
>
[quoted text clipped - 23 lines]
> for
> the value found in $a1.
Biff - 22 Aug 2006 03:21 GMT
>matching value in cell e4 look in cell E1 of every tab

Which is it, E1 or E4? I used E4 in the formula.

Biff

> Hi!
>
[quoted text clipped - 41 lines]
>> for
>> the value found in $a1.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.