LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Formula for comparing a date to today's date

Hi

If you put the start date required in C1 and the end date in D1, then
enter in E1
=SUMPRODUCT((A1:A1000=C1)*(A1:A1000<=D1)*(B1:B100 0))/((D1-C1+1)*16)
Format E1 as Percentage
--
Regards

Roger Govier


"
ft.com wrote in
message ...
I am not familiar with the A:A, B:B notation. Is this an array form?
Can I
look into a date in mid cycle to get the cummulative total to date?

"vezerid" wrote:

Hi,

If column A:A contains dates and column B:B contains uptime then

=AVERAGE(B:B)/16

should give you the uptime percentage, if you format the cell as %.
It
will be dynamic, as it will change as more values are entered in B:B.
This will give you the total uptime since you started monitoring, so
naturally with time it should converge to your overall average.

Write back if you want something more specific, e.g. the average of
the
last X days.

HTH
Kostis Vezerides




 
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
Date formulas DRondeau Excel Discussion (Misc queries) 7 September 6th 06 09:53 PM
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
todays date formula BigAl1322 Excel Worksheet Functions 3 October 24th 05 11:17 AM


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