To define a payroll bi-weekly payperiod. ie. 02/24/08 - 03/08/08
Want to enter one date in cell C4. say 03/14/08
I know that the formula =C4-19 will get the start date 02/24/08.
I know that the formula =C4-6 will get the ending date 03/08/08.

How do you format the two expressions together (with a dashed between) into
a single cell: 02/24/08 - 03/01/08 ?

Thanks

Re: Bi-weekly date formatting by Tyro

Tyro
Fri Mar 14 16:37:30 CDT 2008

If cell C4 contains 3/14/08 then in another cell =TEXT(C4-19,"mm/dd/yy - ")
& TEXT(C4-6,"mm/dd/yy") will produce 02/24/08 - 03/08/08

Tyro

"Surveyor" <Surveyor@discussions.microsoft.com> wrote in message
news:0BE0060A-7221-4804-B646-C6D83D9B7A14@microsoft.com...
> To define a payroll bi-weekly payperiod. ie. 02/24/08 - 03/08/08
> Want to enter one date in cell C4. say 03/14/08
> I know that the formula =C4-19 will get the start date 02/24/08.
> I know that the formula =C4-6 will get the ending date 03/08/08.
>
> How do you format the two expressions together (with a dashed between)
> into
> a single cell: 02/24/08 - 03/01/08 ?
>
> Thanks



Re: Bi-weekly date formatting by Sandy

Sandy
Fri Mar 14 17:15:39 CDT 2008

If you mean entering any date from the end of the previous pay period up to,
but not including, the last day of the present pay period then try:

=TEXT((C4-7)-MOD(C4-7,14)-6,"mm/dd/yy")&" -
"&TEXT((C4-7)-MOD(C4-7,14)+7,"mm/dd/yy")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk


"Surveyor" <Surveyor@discussions.microsoft.com> wrote in message
news:0BE0060A-7221-4804-B646-C6D83D9B7A14@microsoft.com...
> To define a payroll bi-weekly payperiod. ie. 02/24/08 - 03/08/08
> Want to enter one date in cell C4. say 03/14/08
> I know that the formula =C4-19 will get the start date 02/24/08.
> I know that the formula =C4-6 will get the ending date 03/08/08.
>
> How do you format the two expressions together (with a dashed between)
> into
> a single cell: 02/24/08 - 03/01/08 ?
>
> Thanks
>