Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Add data Sum in several sheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yetti - 22 Jan 2006 16:00 GMT
Could some kind person assist with this?

Main data on a range is split by macro into several worksheets and each
worksheet get named as the result of the filtered split (i.e. if column A of
main data is entered with various rows cat dog rat there will be worksheets
called cat dog rat containing original rows from main data
sheet.
If say another data line is out into Main data sheet with column A cell
called Monkey a further running of the macro is needed that adds another
worksheet called Monkey and so on.

It is required, as next step, to total each of the worksheets putting a
double underlined total box with light grey shading .

Then open another worksheet called summary that lists each total row from
each of these worksheets with that all totalled.

It is beyond my experience but would appreciate some code in order I might
make it an example to then by trial and error learn to adapt my recording of
macro's as a beginner.

Your help or ideas is appreciated greatly.
Debra Dalgleish - 22 Jan 2006 21:30 GMT
Do you really need each item on a separate sheet? You could use an
AutoFilter and a Subtotal formula to display individual items and their
totals.

To create a summary of the master list in another workbook, you could
create a pivot table. There are instructions in Excel's help, and here:

  http://www.contextures.com/xlPivot01.html

> Could some kind person assist with this?
>
[quoted text clipped - 18 lines]
>
> Your help or ideas is appreciated greatly.

Signature

Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

yetti - 23 Jan 2006 06:35 GMT
Thank you for your assistance Debra I will check out your link and work
through all that is contained on a very good and well presented site.
As a learner looks to be invaluable as I am trying to "self teach". I will
try to learn the Pivot approach........For sake of inquisitiveness.Though
code would be nice too in order I understand how to record macro's but where
data varies by row or column or work book sheets varies  It would be nice to
insert an "all embracing code" a kind person called Bob Philips already gave
me some for finding the last row
iLastRow = Cells(Rows.Count,"A").End(xlUp).Row
   Cells(iLastRow+1,"A") = ... your sum formula

I was after something for worksheets as well

Once again your prompt assistance is really appreciated

> Do you really need each item on a separate sheet? You could use an
> AutoFilter and a Subtotal formula to display individual items and their
[quoted text clipped - 27 lines]
>>
>> Your help or ideas is appreciated greatly.
Bob Phillips - 23 Jan 2006 09:17 GMT
Yetti,

If you want to process all the sheets, you could use something like

   For Each sh In Activeworkbook.Worksheets
       'then sh points at the next worksheet
       If sh.Name = "Summary" Then
           'you don't want to process Summary inj this loop
           ... now do your stuff
       End If
   Next sh

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> Thank you for your assistance Debra I will check out your link and work
> through all that is contained on a very good and well presented site.
[quoted text clipped - 47 lines]
> > Excel FAQ, Tips & Book List
> > http://www.contextures.com/tiptech.html
yetti - 23 Jan 2006 07:30 GMT
Debra,
Looks like your book due in March is going to be an invaluable read and work
of reference if your site is anything to go by.
Good effort.
> Could some kind person assist with this?
>
[quoted text clipped - 18 lines]
>
> Your help or ideas is appreciated greatly.
Bob Phillips - 23 Jan 2006 09:15 GMT
It will be. Debra is an authority on the subject.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> Debra,
> Looks like your book due in March is going to be an invaluable read and work
[quoted text clipped - 22 lines]
> >
> > Your help or ideas is appreciated greatly.
yetti - 23 Jan 2006 09:54 GMT
Bob and Debra.............Many Thanks.......Hope I learn enough fairly soon
to assist others but I fear it is a long road yet.......or should I say
yetti.
Best regards
> It will be. Debra is an authority on the subject.
>
[quoted text clipped - 38 lines]
>> >
>> > Your help or ideas is appreciated greatly.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.