Flag if thirty days has passed

kimm199

New Member
Joined
Jul 27, 2011
Messages
8
This is a bit of an odd one:

I have a spreadsheet which lists names in Column A and Dates in Row 1. Each day a person is present they receive a mark on that day (usually a 1). I want to put in column B an indicator of if a person has worked for over thirty consecutive days previous to today's date (and therefore needs to go on break.)

Maybe the formula can index today's date from Row 1, search for the first nonblank cell scanning backwards, then display the difference between todays date and the date corresponding to the first nonblank cell.

I'm trying to keep this particular workbook macro-free....

any help? :biggrin:
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I think I can help you but I would like to see a sample of your data. Can you post what your worksheet looks like please.
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,267
Members
452,902
Latest member
Knuddeluff

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