Count days on date change

JWTurner

New Member
Joined
Oct 3, 2012
Messages
1
Hi, I have a metric that counts the number of days we have gone without specific types of issues occuring. I created a simple calculation:
=(B9-DATE(YEAR(B9),1,0))-Incidents!C1

This takes the current number of days in the year and subtracts the number of issues we've experienced. What I failed to take into consideration is if we have multiple issues in one day. I want to track the total number of incidents separately but I don't want it to have impact on the number of days without these specific issues and the formula I'm using above does.

Specifically what I want to do is:
  • Count up the number of days with at least one issue
  • Subtract that total from the number of days in the current calendar year
  • Multiple issues occuring within one day only counts as one day in the calculation

If you have any ideas about the formula to do this, I would appreciate it.
Thank you for any time you spend working on this.


Best Regards!
JWT
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Have you got a small sample of your sheet to look at??
 
Upvote 0

Forum statistics

Threads
1,216,741
Messages
6,132,450
Members
449,729
Latest member
davelevnt

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