# Count of # of payroll periods between biweekly payroll dates

#### JENCOM

##### New Member
I am in the process of putting together an excel spreadsheet. I would like to automaticly have excel calculate the # of payrolls between biweekly payroll dates specifcly related to cross years.
For instance, we have 21 payrolls from 9/9/2014 - 6/30/2015, I would like the formula to return 21 payrolls. Also, if I change the date to reflect the next payroll 9/18/2014 - 6/30/2015, I woudl like the formula to return 20 payroll dates. . I would like to create a formula to count the number of payrolls. What formula should I be using?
Thanks

### Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

#### skywriter

##### Well-known Member

Excel 2010
ABC
19/9/20146/30/201521
29/18/20146/30/201520
Sheet47
Cell Formulas
RangeFormula
C1=INT((B1-A1)/14)
C2=INT((B2-A2)/14)

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,119
Messages
5,835,500
Members
430,362
Latest member
ConnerJ

### 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.

### Which adblocker are you using?

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

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