2 or more days in a row

bam12

Well-known Member
Joined
Dec 6, 2004
Messages
983
i need a little help on this
trying to update a vacation/personal day spreadsheet
Each personal day used that was not scheduled is an occurance, unless it is 2 or more days in a row, which will only count as one occurance.

Is there a way to do this with excel to check for 2 or more days in a row and also maybe check another cell to see if day was approved by maybe putting an "A" in a cell.


There is also one more thing about this, if you take a personal day, this comes off the occurnace tally after 90 days
Right now i am using the formula below to do this
column H is where I enter the date of the personal day..
Did use sumproduct before but had to change because of other formulas in sheet

=COUNTIF(H$7:H$44,">"&TODAY()-90)




Thanks in advance for any help
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
49,439
Office Version
  1. 365
Platform
  1. Windows
bam12

Some sample data and/or screen shots explaining your data and giving expected results would help. At this stage I don't really know what your sheet looks like or what you are trying to achieve.
 

Forum statistics

Threads
1,136,616
Messages
5,676,831
Members
419,653
Latest member
analyticalchemist94

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
Top