Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Searching in 'variable' worksheets

Hi,

I'm a quite amatuer in Excel so I need a help in the following:
I developed a spreadsheet with several worksheets named each by months of
year. Each monthly sheet contains datas in same structures - they are daily
production figures, losses etc.
Now I want to make a separate worksheet which extracts these datas from any
of the monthly sheets for a determined date - making a Daily Production
Report.
I guess the right function will be the VLOOKUP - I have no problem with
using this function. But how can I define that it searches in the right
monthly sheet?
Secondly how can be this DailyProductionReport worksheet (only this) be sent
to pre-defined mail-recipients?

Any help would be much appreciated.

FicsiPapa
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Searching in 'variable' worksheets

You are correct, VLOOKUP() is the way to go.

Let's say we have a number of data sheets. Each data sheet has dates in
column A and data in column B. We want to get the value for a specific date
for a specific sheet. Say data sheet March has:

3/11/2008 $209.00
3/12/2008 $197.00
3/13/2008 $254.00
3/14/2008 $80.00
3/15/2008 $21.00
3/16/2008 $155.00
3/17/2008 $35.00
3/18/2008 $47.00
3/19/2008 $215.00
3/20/2008 $218.00
3/21/2008 $38.00
3/22/2008 $256.00
3/23/2008 $190.00
3/24/2008 $218.00
3/25/2008 $124.00
3/26/2008 $141.00
3/27/2008 $51.00
3/28/2008 $113.00
3/29/2008 $106.00
3/30/2008 $60.00


In the summary sheet cell A1 put:
3/15/2008
In the summary sheet cell A2 put:
March
In the summary sheet cell A3 put:
=VLOOKUP(A1,INDIRECT(A2 & "!A1:B20"),2)

the correct value will be returned.
--
Gary''s Student - gsnu200773


"FicsiPapa" wrote:

Hi,

I'm a quite amatuer in Excel so I need a help in the following:
I developed a spreadsheet with several worksheets named each by months of
year. Each monthly sheet contains datas in same structures - they are daily
production figures, losses etc.
Now I want to make a separate worksheet which extracts these datas from any
of the monthly sheets for a determined date - making a Daily Production
Report.
I guess the right function will be the VLOOKUP - I have no problem with
using this function. But how can I define that it searches in the right
monthly sheet?
Secondly how can be this DailyProductionReport worksheet (only this) be sent
to pre-defined mail-recipients?

Any help would be much appreciated.

FicsiPapa

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
Searching through multiple worksheets Klee Excel Worksheet Functions 5 February 20th 08 11:49 PM
Searching Worksheets [email protected] Excel Discussion (Misc queries) 2 January 11th 07 05:33 AM
Searching Across Worksheets: Please help! computerfineman New Users to Excel 4 August 19th 06 05:03 AM
vba searching for strings in multiple worksheets [email protected] Excel Discussion (Misc queries) 2 July 26th 06 07:15 PM
searching multiple worksheets sonic-the-mouse Excel Worksheet Functions 3 April 3rd 06 07:52 PM


All times are GMT +1. The time now is 12:43 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"