Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JLyons
 
Posts: n/a
Default Bob Phillips, I have one more question

The formula for the work period was great.

How do I get it to not move on to the next two week period automatically?
  #2   Report Post  
BobT
 
Posts: n/a
Default

I replied to your previous post but you probably didn't
see it.
The formula that I saw changes the two week period every
week, so you'd never be in the second week. The following
formula fixes that. I hope someone has a way to handle the
update problem; I'll be looking for that. I either point
to an entry date for the record instead of using today(),
or paste values at the end of the period.

="Work Period "&TEXT(TODAY()-MOD(TODAY(),14)+7*IF(MOD(TODAY
(),14)<7,-1,1),"mmmm d")&" - "&TEXT(TODAY()-MOD(TODAY(),14)
+7*IF(MOD(TODAY(),14)<7,-1,1)+13,"mmmm d, yyyy")

This one is based on the 1/1/1900 date system.
If you don't like that, you can also use Iseven or Isodd
functions to determine what week your new work period
begins, but is an even longer function.


-----Original Message-----
The formula for the work period was great.

How do I get it to not move on to the next two week

period automatically?
.

  #3   Report Post  
JLyons
 
Posts: n/a
Default

How do I, or better yet what date format do I replace TODAY() stih?

"BobT" wrote:

I replied to your previous post but you probably didn't
see it.
The formula that I saw changes the two week period every
week, so you'd never be in the second week. The following
formula fixes that. I hope someone has a way to handle the
update problem; I'll be looking for that. I either point
to an entry date for the record instead of using today(),
or paste values at the end of the period.

="Work Period "&TEXT(TODAY()-MOD(TODAY(),14)+7*IF(MOD(TODAY
(),14)<7,-1,1),"mmmm d")&" - "&TEXT(TODAY()-MOD(TODAY(),14)
+7*IF(MOD(TODAY(),14)<7,-1,1)+13,"mmmm d, yyyy")

This one is based on the 1/1/1900 date system.
If you don't like that, you can also use Iseven or Isodd
functions to determine what week your new work period
begins, but is an even longer function.


-----Original Message-----
The formula for the work period was great.

How do I get it to not move on to the next two week

period automatically?
.


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
#REF,ISERROR, File Not Found question. FlaProcessEng Excel Discussion (Misc queries) 7 February 11th 05 10:29 PM
Formula Question JDT Excel Discussion (Misc queries) 2 January 30th 05 01:17 PM
Function question Dale Rosenthal Excel Worksheet Functions 4 January 25th 05 03:47 AM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM
Interest Accrual Question Kent Excel Discussion (Misc queries) 1 December 23rd 04 10:39 PM


All times are GMT +1. The time now is 05:24 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"