LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Automatically updating summary tab with details...

Hi George

By table do you mean pivot table? If so, I think you need a macro like:

Sub UpdateTable()
Sheets("Summary").PivotTables("Summary").PivotCach e.Refresh 'assumning your
table is named Summary
End Sub

I you add this to the shhet code as a change event (Worksheet_Change) in the
shhet code, it should update automagically.

Or, you could use some combination of sumproduct() formulaes in the summary
tab. =SUMPRODUCT((Data!B1:B10)*(Data!A1:A10=C1)) will return the sum of
B1:B10 where the values in A1:A10 match the value in C1.

HTH.

/Sune

"George" wrote:

Got a complicated situation here that I think I'd be better of using a macro
to achieve. However if someone knows a slightly easier method (because I'm
not that good with Macros atm) that would be great!

I have a "data" sheet that has a list of current projects. I've used the
OFFSET formula so that when adding/removing projects the named range (used
for data validation) gets updated.

I have a "summary" tab that lists the projects and the number of people
assigned to them that day. Is there anyway of making this table (on the
summary) automatically update (with a total column) when a project is added?

Currently the only way I can think of doing this would be to add a macro so
that users can add/remove projects, and in that macro it does all the work of
updating the summary tab. Am I right about this?

Thanks

 
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
Form to Summary - Automatically Fitzi Excel Discussion (Misc queries) 0 June 5th 07 08:15 PM
how do the details in an excel spreadsheet move to a summary page Millard Excel Worksheet Functions 6 October 3rd 06 10:53 PM
automatically updating summary worksheet srpettew Excel Worksheet Functions 9 April 22nd 06 07:04 AM
automatically updating a summary worksheet srpettew Excel Discussion (Misc queries) 5 April 19th 06 06:14 AM
Figures not updating on my summary sheet Rayasiom Excel Worksheet Functions 0 August 9th 05 05:36 PM


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