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 / December 2007

Tip: Looking for answers? Try searching our database.

Customizing dynamic chart to include sum of files pr. day?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ro@dxp.dk - 29 Nov 2007 14:49 GMT
Hi world,

This is my log (20k) <http://img2.freeimagehosting.net/uploads/
32373110dd.png>

I have been trying to adapt a dynamic chart tutorial from Jon Peltier
into a Excel filetransfer log. Dates along the x-axis and the sum of
files transferred per day along the y-axis. Only problem is that I
cant figure out how to plot the sum of total files transferred pr.
date.

In my log I have multiple entries for the day 23-11-2007, but instead
of a total file count for the whole day Excel only use the last entry
(A16).

This is my named ranges:

AllDates:
<=Data!$A$1:INDEX(Data!$A:$A;MATCH(9,99999E+307;Data!$A:$A))>
ChartDates:
<=OFFSET(AllDates;MATCH(StartDate;AllDates;
1)-1;0;MATCH(EndDate;AllDates;1)-MATCH(StartDate;AllDates;1)+1;1)>
FileCount:
<=OFFSET(ChartDates;0;5)

I have had very competent help from this group before constructing a
sumproduct function for the log. Having the chart plot total file
count pr. date is the last hurdle. I have tried inserting a COUNTA
function from another Peltier tutorial but this didn't do anything. I
assume one of my ranges requires a little bit of tweaking. Anyone?

Best regards,
Rasmus
hall.jeff@gmail.com - 29 Nov 2007 15:10 GMT
I don't believe that you can imbed array ranges into a chart's
range... so you're going to be stuck using some sort of sumif in a
separate column... I don't like that solution because, with your file
size, sumif is not particularly efficient (using the sumproduct array
trick might be quicker... haven't tested)... =dsum is another
choice...

You might be better off writing a macro that ripped through the data
and created a clean grid with the totals that you want and then chart
from that new grid...
ro@dxp.dk - 29 Nov 2007 15:31 GMT
Hi,

Thanks for a quick reply :-)

On Nov 29, 4:10 pm, hall.j...@gmail.com wrote:
> I don't believe that you can imbed array ranges into a chart's
> range... so you're going to be stuck using some sort of sumif in a
> separate column... I don't like that solution because, with your file
> size, sumif is not particularly efficient (using the sumproduct array
> trick might be quicker... haven't tested)... =dsum is another
> choice...

Actually I dont need the chart to plot filesize. A chart over total
files pr. day is all Im looking for.

> You might be better off writing a macro that ripped through the data
> and created a clean grid with the totals that you want and then chart
> from that new grid...

Macros is new to me but it sounds interesting. In your opinion will
this require expert knowledge?

Rasmus
hall.jeff@gmail.com - 29 Nov 2007 15:43 GMT
Something like this would require a working knowledge of VBA... if you
don't feel that that's you, I'd recommend just adding a tab that has a
summary grid that your chart can refer to...
ro@dxp.dk - 30 Nov 2007 08:46 GMT
On Nov 29, 4:43 pm, hall.j...@gmail.com wrote:
> Something like this would require a working knowledge of VBA... if you
> don't feel that that's you, I'd recommend just adding a tab that has a
> summary grid that your chart can refer to...

Ok, can you possible give me an example of a function (sumif/
sumproduct/dsum?) adding all the log entries pr. date in another tab?
Just something to get me started. Thanks

Rasmus
ro@dxp.dk - 03 Dec 2007 08:45 GMT
On Nov 30, 9:46 am, r...@dxp.dk wrote:
> On Nov 29, 4:43 pm, hall.j...@gmail.com wrote:

> Ok, can you possible give me an example of a function (sumif/
> sumproduct/dsum?) adding all the log entries pr. date in another tab?
> Just something to get me started. Thanks

Doh! -  I allready had those sumproducts ;-)

BTW. Pivottable seems to do the job with regards to my dynamic chart
request.

Best regards,
Rasmus

Rate this thread:






 
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.