Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default lookup for worksheet

Each worksheet is named for a month plus a data sheet and a roll-up sheet.
each month is just data with expenses of each project.

In the Roll-Up sheet I would like to pull information from one month at a
time using a lookup formula of the worksheet's name. BTW - on the roll-up
sheet I have a drop-down of the months.

My question is how do I write a formula that calculates the specific month I
choose and then returns the data from the matching worksheet? Using a
standard lookup function with variable worksheets returns an error message.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default lookup for worksheet


How about using the INDIRECT FORMULA? On your rollup sheet, say if your
months get populated on cell B2. Then on C2 this formula will look up the
month name on B2, then it will find the matching month on the sheets tabs.
Then it will sum up the expenses on column A (adjust to match your ranges).
All the monthssheets have to have the same range (like A3:A100) for example.
=SUM(INDIRECT(B2&"!A3:A100"))

H.T.H.
--
when u change the way u look @ things, the things u look at change.


"Bradrok" wrote:

Each worksheet is named for a month plus a data sheet and a roll-up sheet.
each month is just data with expenses of each project.

In the Roll-Up sheet I would like to pull information from one month at a
time using a lookup formula of the worksheet's name. BTW - on the roll-up
sheet I have a drop-down of the months.

My question is how do I write a formula that calculates the specific month I
choose and then returns the data from the matching worksheet? Using a
standard lookup function with variable worksheets returns an error message.

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 in a particular worksheet in another workbook Kevin Excel Discussion (Misc queries) 8 January 24th 07 10:00 AM
Dynamic Worksheet Lookup Salman Excel Worksheet Functions 1 November 20th 06 08:28 AM
lookup info in another worksheet steph Excel Worksheet Functions 0 August 23rd 06 10:10 PM
LOOKUP a column from another worksheet UTPC01 Excel Discussion (Misc queries) 1 January 11th 06 02:52 PM
Worksheet lookup Greg B Excel Discussion (Misc queries) 2 August 4th 05 12:47 PM


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

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

About Us

"It's about Microsoft Excel"