## Summary

To get the next payday in an every-other-Friday system, you can use a formula based on the CEILING function. In the example shown, the formula in C6 is:

``=CEILING(B6+1,14)-1``

Note: This formula assumes Excel's default 1900 date system.

## Generic formula

``=CEILING(date+1,14)-1``

## Explanation

This formula depends on the CEILING function, which rounds numbers up to a given multiple. It works because of how dates work in Excel's default 1900 date system, where the first day is the number 1, which is Sunday, January 1, 1900.

In this scheme, the first Friday is day number 6, the second Friday is day number 13, and day 14 is the second Saturday. What this means is that all second Saturdays in the future are evenly divisible by 14.

The formula uses this fact to figure out 2nd Saturdays, then subtracts 1 to get the Friday previous.

### The other Friday

If you need to get the alternate Friday in an every-other-Friday scheme, you can use this version of the formula:

``````=CEILING(A1+8,14)-8
``````

The idea is the same, but the formula needs to roll forward 8 days to get to an even multiple of 14. Once CEILING returns a date, 8 days are subtracted to move back to the Friday previous.

Note: I ran into this formula as an answer on stack overflow by the awesome Barry Houdini.

Author

### Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.