Solved

How to calculate when system is down between datestamp

Posted on 2011-09-14
6
421 Views
Last Modified: 2012-05-12
Hi,
i want to calculate when duration is zero based on the datestamp and would like to group it by Date and Hour.  Pls. see attached sample for the desired results.  thanks
sample.xlsx
0
Comment
Question by:karinos57
  • 3
  • 3
6 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 total points
ID: 36540706
Hello,

add a column to your data with a formula like

=IF(C2=0,MINUTE(A1-A2),0)

copy down. Now you can build a pivot table with the date stamp in the row headers, grouped by day and hour.

See attached, on Sheet2

cheers, teylyn


sample--2-.xlsx
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 36540726
Or, for better precision, use this as the formula:

=IF(C2=0,1440*(A1-A2),0)

cheers,
0
 

Author Comment

by:karinos57
ID: 36543019
teylyn:
this is working great but one quesiton for you, where did you get the Days field in the pivot?  i don't see it in the data source.  I only see DateStamp.  thanks
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:karinos57
ID: 36543222
i like the way you formatted like the DateStamp by just showing hours and grouped by a day  but it is not clear.  Can you post antother sheet where i can see all the formatting or if you can explain - i will appreciate that. thanks
0
 

Author Closing Comment

by:karinos57
ID: 36544590
thnx
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 36545596
Hello,

I used Excel 2010 to create the pivot table. Right-click on any date in the pivot table and select Group - then tick the day and hour.

After that, I used the buttons on the pivot table layout tab to play with the appearance of the table. Some of these options are new to 2010,  but I don't think I used any of the new ones.

cheers, teylyn
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question