Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Bi-weekly date formatting

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Bi-weekly date formatting

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" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Bi-weekly date formatting

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


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


"Surveyor" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Weekly Report (Formatting) Out2lnch Excel Discussion (Misc queries) 1 December 3rd 07 11:25 PM
can I configure Conditional formatting to change color weekly? Joe Excel Discussion (Misc queries) 4 February 21st 07 09:48 PM
formatting daily,weekly and monthly schedules do u c me New Users to Excel 1 January 11th 07 02:37 AM
formatting daily,weekly and monthly schedules do u c me New Users to Excel 1 January 11th 07 02:36 AM
Weekly Date Function(s) Jay Excel Worksheet Functions 2 September 12th 06 01:14 AM


All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"