LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Calculating number of days in month

I have statistical data about various network components.
The statistics are captured daily. The data comes to me
in the form of a space delimited text file. When I import
into excel the each row represents a days worth of data.
Depending on when the network component was placed into
service will determine the starting date. This means the
date will fluctuate for every component.

What I am trying to do is average the data by month. I
have 452 components that I am trying to do this for. As
such I will have 452 dates that the components went into
service. I need the macro to be able to determine what
day of the month the component went into service and move
down the list until it gets to a new month. Then go back
and insert a row to average all the previous months data.
Then continue on until it reaches the current day. I have
the code to insert the row and average the data. What I
need is the logic for the dates. Does anyone have any
ideas how I can go about solving this problem?

Jeff
 
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
calculating number of days belonging to each month within a given week kate zareba Excel Worksheet Functions 2 November 18th 09 01:09 PM
Calculating as per the number of days in a month Suleman Peerzade[_2_] Excel Discussion (Misc queries) 2 January 15th 09 01:07 PM
Days per month for calculating storage days Bart Excel Worksheet Functions 3 January 31st 07 06:40 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
Calculating days in a month STFC Excel Discussion (Misc queries) 23 January 26th 05 05:58 PM


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