Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
WendiL99
 
Posts: n/a
Default Lookup info in support sheets and enter in summary sheet

I have a workbook with a summary sheet and 7 supporting sheets. I need a
macro that will take an account number from the summary sheet, find where it
is in one of 6 of the supporting tabs and return the amount corresponding to
that account number to my summary sheet and put it in the specified column.
Each account will occur only once in the 6 tabs, which means that each
account occurs in 1 of the tabs and not in the other 5. Ideas?? Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Lookup info in support sheets and enter in summary sheet

See this:

http://tinyurl.com/q3x4w

Biff

"WendiL99" wrote in message
...
I have a workbook with a summary sheet and 7 supporting sheets. I need a
macro that will take an account number from the summary sheet, find where
it
is in one of 6 of the supporting tabs and return the amount corresponding
to
that account number to my summary sheet and put it in the specified
column.
Each account will occur only once in the 6 tabs, which means that each
account occurs in 1 of the tabs and not in the other 5. Ideas?? Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
WendiL99
 
Posts: n/a
Default Lookup info in support sheets and enter in summary sheet

The array formula only worked for the first worksheet in my defined list.
What am I doing wrong? My formula is below.

=VLOOKUP(A4,INDIRECT("'"&INDEX(Tablist,MATCH(TRUE, COUNTIF(INDIRECT("'"&Tablist&"'!A1:B100"),A4)0,0) )&"'!A1:B1000"),2,0)
"Biff" wrote:

See this:

http://tinyurl.com/q3x4w

Biff

"WendiL99" wrote in message
...
I have a workbook with a summary sheet and 7 supporting sheets. I need a
macro that will take an account number from the summary sheet, find where
it
is in one of 6 of the supporting tabs and return the amount corresponding
to
that account number to my summary sheet and put it in the specified
column.
Each account will occur only once in the 6 tabs, which means that each
account occurs in 1 of the tabs and not in the other 5. Ideas?? Thanks!




  #4   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Lookup info in support sheets and enter in summary sheet

You're formula works just fine on my end.

Is this a typo:

A1:B100")...........A1:B1000")

Both ranges need to be the same or you could get incorrect results.

Biff

"WendiL99" wrote in message
...
The array formula only worked for the first worksheet in my defined list.
What am I doing wrong? My formula is below.

=VLOOKUP(A4,INDIRECT("'"&INDEX(Tablist,MATCH(TRUE, COUNTIF(INDIRECT("'"&Tablist&"'!A1:B100"),A4)0,0) )&"'!A1:B1000"),2,0)
"Biff" wrote:

See this:

http://tinyurl.com/q3x4w

Biff

"WendiL99" wrote in message
...
I have a workbook with a summary sheet and 7 supporting sheets. I need
a
macro that will take an account number from the summary sheet, find
where
it
is in one of 6 of the supporting tabs and return the amount
corresponding
to
that account number to my summary sheet and put it in the specified
column.
Each account will occur only once in the 6 tabs, which means that each
account occurs in 1 of the tabs and not in the other 5. Ideas??
Thanks!






  #5   Report Post  
Posted to microsoft.public.excel.misc
WendiL99
 
Posts: n/a
Default Lookup info in support sheets and enter in summary sheet

I got the formula working ok, but it returns #N/A if there is no match in the
supporting sheets. How can I make this be a zero instead of #N/A?

"Biff" wrote:

You're formula works just fine on my end.

Is this a typo:

A1:B100")...........A1:B1000")

Both ranges need to be the same or you could get incorrect results.

Biff

"WendiL99" wrote in message
...
The array formula only worked for the first worksheet in my defined list.
What am I doing wrong? My formula is below.

=VLOOKUP(A4,INDIRECT("'"&INDEX(Tablist,MATCH(TRUE, COUNTIF(INDIRECT("'"&Tablist&"'!A1:B100"),A4)0,0) )&"'!A1:B1000"),2,0)
"Biff" wrote:

See this:

http://tinyurl.com/q3x4w

Biff

"WendiL99" wrote in message
...
I have a workbook with a summary sheet and 7 supporting sheets. I need
a
macro that will take an account number from the summary sheet, find
where
it
is in one of 6 of the supporting tabs and return the amount
corresponding
to
that account number to my summary sheet and put it in the specified
column.
Each account will occur only once in the 6 tabs, which means that each
account occurs in 1 of the tabs and not in the other 5. Ideas??
Thanks!






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup different sheets and get the value from the sheet specified Prasad Madineni Excel Worksheet Functions 1 April 14th 06 08:51 PM
How do I read info from different worksheets into a summary sheet? Waterh2o Excel Worksheet Functions 3 December 15th 05 09:01 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM


All times are GMT +1. The time now is 05:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"