Week to Date Totals

rgillson3

Board Regular
Joined
Oct 3, 2013
Messages
132
Office Version
  1. 365
Platform
  1. Windows
Our organization produces and distributes a "Daily Labor Report" that compares sales to labor for each day, and for the week.

Part of the report includes rows for Sales Forecast and Actual Sales numbers, which provides totals for the week.

I'd like to provide a "week to date" total for each row so we can see of we're progressing.

For example if we have enter actual sales amounts for Monday thru Wednesday, I'd like to see/show the sales forecast total for the those days days only. Currently, it only shows the entire week.

What's the best way to do that.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
i would need more info on the data layout
how does it show the whole week, if not actuals are displayed /entered
or is it the forecast you are after

lets say your forecast is in ROW 5
and in ROW 6 is the actuals

F is the start of the Week and J is the end of week - 5days - just change the ranges to suit your data

=SUMIF(F6:J6,">0",F5:J5)
will only add up the forecast for where data in actuals is greater than 0 - Assuming you can never have a zero for the actuals
 
Last edited:
Upvote 0
i would need more info on the data layout
how does it show the whole week, if not actuals are displayed /entered
or is it the forecast you are after

lets say your forecast is in ROW 5
and in ROW 6 is the actuals

F is the start of the Week and J is the end of week - 5days - just change the ranges to suit your data

=SUMIF(F6:J6,">0",F5:J5)
will only add up the forecast for where data in actuals is greater than 0 - Assuming you can never have a zero for the actuals

Thank you.

I knew it had to be something like that. But, I was doing something wrong in the formula.

Thank you again.
 
Upvote 0
you are welcome
if you want to use blanks instead of >0

=SUMIF(F6:J6,"<>",F5:J5)
 
Upvote 0
you are welcome
if you want to use blanks instead of >0

=SUMIF(F6:J6,"<>",F5:J5)

Thank you. I might end up having to go that route.

This particular is relatively new to me. So, I'm not sure if the spreadsheet usually starts with zeros or blanks in the Actual cells.
 
Upvote 0
sumif will see a blank as zero - so no entry = blank and will work
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top