Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Find and Several Sheets

I have a master data sheet set up in the format below... Where DN, SA, and
SC are obviously column headings, but also represent sheets in my workbook.
I have used the "subtotals" function in each sheet to compile a total amount
(in column 7 of those sheets) for each day. For example, in the DN sheet
there maybe 10 entries on 1/3/2005. Using the subtotal function I now have a
1/3/2005 total. I would like to take that "total" value and put/paste it
into the "master data sheet" under the DN and 1/3/2005 intersection. Is it
possible to have a macro do this for either a selected date range or a date
range entered into two cells?

DN SA SC
1/3/2005
1/4/2005
1/5/2005
1/6/2005
1/7/2005
1/10/2005
1/11/2005

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Find and Several Sheets


John,
Is the total for each day always in colulmn 7 of the respective
sheet?

You could probably use a VLOOKUP on your master sheet to pull in the
respective total data from the individual sheets.

In each of the cells below your column heading copy this formula and
then copy down.

below DN place

=VLOOKUP(A2,DN!A2:G10,7)

below SA place

=VLOOKUP(A2,SA!A2:G10,7)

below SC place

=VLOOKUP(A2,SC!A2:G10,7)

The added benefit of using this formula is that if your totals on the
other sheets change then the master sheet will automatically be
updated.

HTH


--
bhofsetz
------------------------------------------------------------------------
bhofsetz's Profile: http://www.excelforum.com/member.php...o&userid=18807
View this thread: http://www.excelforum.com/showthread...hreadid=392633

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
how to find gst work sheets New User Excel Worksheet Functions 1 December 13th 06 08:24 PM
find across multiple sheets me1 Excel Programming 1 April 12th 04 01:44 PM
using Cells.Find between 2 sheets Martin Lord Excel Programming 1 November 8th 03 03:02 AM
Swapping between sheets & using Find Neil[_11_] Excel Programming 0 September 6th 03 09:37 PM
find data on 2 different sheets? Chris Vandecasteele Excel Programming 1 July 17th 03 05:18 AM


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