Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula for comparing a date to today's date

I am in need of a formula to compare today's date to a previous date and
perform a calculation based on the number of days in between.

Oct 1 equipment ran 12 of 16 hours
Oct 2 equipment ran 16 of 16 hours
Oct 10 Equipment ran 10 of 16 hours

I need percentage of today's uptime with equipment assuming every day has 16
available hours. Oct 1 - Oct 10 has 160 available hours for
(12+16+...10)/160= 93.7% uptime. I want this to be dynamic so that at any
given date I can look at real time percentage.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Formula for comparing a date to today's date

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula for comparing a date to today's date

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


  #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




Reply
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 09:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"