Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Projecting actual and scheduled hours

Posted on 2012-03-10
6
Medium Priority
?
366 Views
Last Modified: 2012-03-10
Hi Guys,
Please see the attached file. I am trying to project actual hours for a week.

It seems the formula, IF(NOW()>E3,E7,E6)+IF(NOW()>F3,F7,F6)+IF(NOW()>G3,G7,G6)+H6
should work but it doesn't.

Thank you
Robert
schedule-projections.xlsx
0
Comment
Question by:rsen1
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 37705779
Note that Now() for today will always be greater than the date of today.

eg. 3/10/12 has the value = 40978 and at 10 AM Now() = 40978.42

This means that
=IF(NOW()>E3,E6,E5)+IF(NOW()>F3,F6,F5)+IF(NOW()<G3,G6,G5)+H5
will give this result
=E6+F6+G6+H5
and not
=E6+F6+G5+H5
that you expected as soon as 3/10/12 has started

Cheers,
Curt
0
 

Author Comment

by:rsen1
ID: 37705825
Thank you Curt for your response, what do you see as the correct formula to give my desired result
Robert
0
 

Author Comment

by:rsen1
ID: 37705859
Curt it seems that if I replace now() with today() my formula works
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 2000 total points
ID: 37705874
Yes, that's correct. Today() for 3/10/12 = 40978

Curt
0
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 37705876
The problem with Now() is that it includes Hours, Minutes and Seconds.

Curt
0
 

Author Comment

by:rsen1
ID: 37705883
Thank you I did not make that connection
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

916 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