Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Summary Help


A workbook consists of 1 datasheet and multiple querysheets.

e.g.
Datasheet contains
Row 1( Header)---- Date Na Nb Nc Nd
Row 2 31/10/03 1 8 3 4
Row 3 01/11/03 5 8 2 9

Querysheet contains
Row 1(Header)---- Date Rowno 1 3 5 6 9
Row 2 31/10/03 2 0 0 1 0 1

Updating conditions a

Look in the datasheet at row2 for first value in the range (B2:E2), in
this case a value of 1 is found, then look at next row i.e. row3 for
value found in the querysheet in this case are 1,3,5,6,9 . If found, it
will write the date & rowno of row2 of datasheet and the value of 1 & 0
will be insert accordingly to the column. After finished the first cell
(B1) value, it will continue to C1 and do the same routine. Which
querysheet to use for updating the summary is based on the value found
in cell. The querysheet are name after the cell values with a "Q" in
front like Q1 for cell value of 1 and Q8 for cell value of 8 and so
on.
This macro will run the loops from row2 of datasheet until the last
row.

Thank you for helping.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

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
Summary tofimoon3[_7_] New Users to Excel 1 June 5th 09 05:02 AM
Summary of row Mr-Re Man Excel Discussion (Misc queries) 0 February 9th 09 04:52 PM
How to get YTD Summary zy1972 Excel Worksheet Functions 4 May 23rd 08 04:08 PM
multi group with summary above with 1 overall summary line below Freddy Excel Discussion (Misc queries) 2 November 7th 05 03:30 PM
multi group with summary above with 1 overall summary line below Freddy Excel Discussion (Misc queries) 1 November 1st 05 08:50 PM


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