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


bundyloco,

Excel is so easy to use -- it's ALSO so easy to make mistakes.

One big mistake that I have observed many times over, is segmentin
data by a data element; in your case the data element is days of th
week.

More than likely, you and your organization/company, would be muc
better served by keeping your data together in a single table in you
Excel database.

In your case, the answer could be accomplished in any number of way
and far easier if ALL your data were in a single sheet.

I'd do a simple MS Query, using Data/Get External Data/New Databas
Query...

In the Query Grid, I'd set a Criteria on the Left(YourFirstCol, 1) wit
a value of 'Y'

There's no VB code required for this technique and the query wil
Refresh, returning results no matter how many rows of data ther are i
your source sheet.

Alternatively, if you can't or won't consolidate your data, the quer
can be written as a UNION of the 4 sheets, using the same criteria i
each Select

--
SkipVough
-----------------------------------------------------------------------
SkipVought's Profile: http://www.msusenet.com/member.php?userid=198
View this thread: http://www.msusenet.com/t-187051396

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
Summarizing Data cb Excel Worksheet Functions 1 June 2nd 10 03:51 PM
summarizing data skwirrel Excel Worksheet Functions 1 January 13th 08 05:40 AM
Summarizing data macker Excel Discussion (Misc queries) 2 May 2nd 07 08:16 PM
Consolidating/summarizing and sorting data Len B Excel Worksheet Functions 0 December 5th 06 09:42 AM
Summarizing data Pedro AM Excel Discussion (Misc queries) 1 July 3rd 06 08:29 PM


All times are GMT +1. The time now is 07:04 AM.

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"