2 or more days in a row

bam12

Well-known Member
Joined
Dec 6, 2004
Messages
984
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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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.
 
Upvote 0

Forum statistics

Threads
1,216,174
Messages
6,129,296
Members
449,498
Latest member
Lee_ray

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