enhance formula

bigfoot

Active Member
Joined
May 1, 2002
Messages
321
i run a report on a monthly basis. column A has an employee number, of which there are about 100, and column C, a date.the dates are entered daily, if an employee. makes an entry for that day. all employees and dates are in one file. i review the column of dates, looking for a missing date. i found a formula, here, that i use, and works for me. =IF(C3=C2+1,"","C2+1"). it works well if one day is missing, but it does not help me if multiple consecutive days are missing. can anyone suggest an enhancement to the formula, to pick up if multiple days are missing. thanks
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try: =IF(C2=C1+1,"",IF(C2-C1=2,C1+1,TEXT(C1+1,"mm/dd/yy")&" thru "&TEXT(C2-1,"mm/dd/yy")))
 
Upvote 0
yes, it works. thanks alot. when there are multiple days misssing, the result is a "from date" thru an "end date". is there any way to list each day in a list format? thanks.
 
Upvote 0
If multiple days are missing, would it be acceptable to have the missing dates in seperate cells on the same row as opposed to all in one cell?
 
Upvote 0
i run a report on a monthly basis. column A has an employee number, of which there are about 100, and column C, a date.the dates are entered daily, if an employee. makes an entry for that day. all employees and dates are in one file. i review the column of dates, looking for a missing date. i found a formula, here, that i use, and works for me. =IF(C3=C2+1,"","C2+1"). it works well if one day is missing, but it does not help me if multiple consecutive days are missing. can anyone suggest an enhancement to the formula, to pick up if multiple days are missing. thanks
If this is a "monthly" file does that mean the dates will only run from the 1st of the month to the end of the month for the specific month?

So, for June the dates will only be from 6/1/2011 to 6/30/2011?

And you want to know which dates have not been entered in column C?
 
Upvote 0
thanks for response. each report runs for a calendar month, first day to last. no prob going across. however need space between columns, so i can associate a number from column A, with each date, as the same date can appear 50 times. thanks.
 
Upvote 0
If you could post a small sample of your data it would be helpful. Your comment that there could be the same date appearing many times is confusing. Neither your original formula nor my suggestion handles duplicate dates.
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,188
Members
452,893
Latest member
denay

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