Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 08-12-2013, 09:38 AM
BobBridges's Avatar
BobBridges BobBridges is offline SumIFS statement (not sure if it is right use) Windows 7 64bit SumIFS statement (not sure if it is right use) Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

It's possible to write something that could look at the character string "8/17/13-8/23/13" and interpret it. But it would be complicated, perhaps more complicated than you want to attempt and certainly more complicated than you want to impose on your boss' workbook if it can be avoided. I have some alternatives, but first I have a question:

Say it's Wednesday. Monday and Tuesday John worked 17 hours. Today's work hasn't been posted yet. How do you want John's work displayed for this week?

a) As 17 hours, ignoring the unposted part of the current week?
b) As 40 hours, because until the week is completed you want to show only the projected (NETWORKDAYS) hours?
c) As 42 hours, that is, 18 for Monday and Tuesday and 8 (projected hours) for each day that hasn't been posted yet?
d) Some other way I haven't thought of?

One solution is to add a row for the date, so that row 2 has the From date and row 3 has the To date. Then you have a real date in one of the cells that you can compare to TODAY(). Adding one row won't change the look of the worksheet much.

Or you could change the values in row 2 from "8/17/13-8/23/13" to just the week-start or -ending date. If you go with option a) above, make it the first date of the week; then your calculation would say =IF(TODAY()>=C2,SUMIFS(etc),NETWORKDAY(etc)). If you go with option b), make row 2 the week-ending date and your calculation =IF(TODAY()>C2,SUMIFS(etc),NETWORKDAY(etc)). Or you could use week-ending date even for option a), by checking TODAY()>=C2-6.

If you want a combined listing as with option c), I have a notion for something even better, but I'm still trying to think through how it would look. If you put the week-ending date in row 2, then I think instead of the IF function, you could use your formula for hours posted so far plus NETWORKDAYS between TODAY and the ending date in row 2. Wouldn't that work?
Reply With Quote
 

Tags
calculation, ifs, today



Similar Threads
Thread Thread Starter Forum Replies Last Post
SumIFS statement (not sure if it is right use) I need help with =SUMIFS docwhit Excel 2 01-05-2013 12:58 PM
SumIFS statement (not sure if it is right use) SumIFS Questions Kheinrich119 Excel 2 12-12-2012 10:00 AM
SumIFS statement (not sure if it is right use) if statement piper7971 PowerPoint 1 08-19-2010 07:10 AM
SumIFS statement (not sure if it is right use) Help with IF statement! CPelkey Word 1 04-12-2010 09:06 AM
Help needed using the serial number date with sumifs - whole office is stumped FraserKitchell Excel 3 01-06-2010 12:24 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft