Rolling metrics, blank in days to come

CTrink

New Member
Joined
Apr 14, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, I'm currently creating a metrics tracking sheet that is updated via reports from SAP. The reports run from Sunday-Saturday for the current week. The days in the future only carry a zero value since they have not occurred yet and cause my formulas to display the zero value. I'm looking for a way to have them display blanks based on the WEEKDAY() formula, but still hold previous values. (When it's Tuesday, still display Monday). The big kicker though, is that we review Friday on Mondays. Any help would be greatly appreciated.

MrExcel.PNG
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I forgot to mention, the data can also be 0 (zero) for each day.
 
Upvote 0
Welcome to the MrExcel board!

Would this work for you?

Ctrink 2020-04-14 1.xlsm
NOPQR
28MTWTF
29911   
Sheet2
Cell Formulas
RangeFormula
N29:R29N29=IF(COLUMNS($N29:N29)>WEEKDAY(TODAY(),2),"",MTO!L62+MTO!L63)
 
Upvote 0
Welcome to the MrExcel board!

Would this work for you?

Ctrink 2020-04-14 1.xlsm
NOPQR
28MTWTF
29911   
Sheet2
Cell Formulas
RangeFormula
N29:R29N29=IF(COLUMNS($N29:N29)>WEEKDAY(TODAY(),2),"",MTO!L62+MTO!L63)

@Peter_SSs, Thanks for the response and assistance!

I believe we are there. I added -1 to the Today function as we are reporting on previous day metrics, yes always a day behind. I was getting a zero for today (Wednesday) when SAP reporting hasn't yet occurred for Wednesday. I believe this is working properly. I'll check back in tomorrow as well.
 
Upvote 0
Good news! Thanks for letting us know. :)

Still working! Just realizing though. When we report out on last week all fields will probably be blank on Monday... I'll probably work some VBA to fix that, but we'll see how it goes. Great work @Peter_SSs
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,215
Members
452,618
Latest member
Tam84

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