I am trying to get a worksheet to compute the following criteria from another worksheet and am lost.

From the "Input from DOLR" worksheet.

Lookup the "Startdate" (column D)

Lookup the "LeaveCriteria" (column C)

From the "Calculations" worksheet.

If the Startdate from column D = 1/1/2006 and the corresponding column C = "R" then the date is counted. If both criteria are not met then that input is not counted.

There will be one cell for each date.

Hopefully this explanation makes sense.

Thanks in advance for any help you can give.