How many days ago was Monday - this week

PCRIDE

Well-known Member
Joined
Jan 20, 2008
Messages
902
Hi, I’m building a dashboard and have last weeks numbers (5 days of data) and I need to compare it to this weeks based on the day of the week we are in.

Example, 500 tickets last week
This week is Wed, so based on average we would have 300 tickets up to Wed.

I need a formula that looks at today’s date and day, and counts how many days ago till Monday.

So whatever “today” is, tell me how many days ago was Monday. I need the result to be a number

If today is Wed, then it would produce a 3.

Any ideas? I was trying to use Today() and Networkdays and Text(“dddd”) in many combos and couldn’t come up with something
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi,

Like this?


Book1
G
15
Return Value
Cell Formulas
RangeFormula
G1=WEEKDAY(TODAY(),2)
 
Upvote 0
These worked! So simple! Thanks again for the super quick help. I haven’t used Weekday before.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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