Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Macro Weekday / Today Function

Would like to increment a formatted General cell by 1 each time the da
is either Tuesday or Friday, from one year to the next. Would lik
this to be automated so that it is updated regardless of whether
actually open the file. So, if I have not opened the file for 2 week
the cell will be updated by the required days during those 2 weeks.

Thanks
QT

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Macro Weekday / Today Function

use a formula in the cell that counts the number of Tuesdays and Fridays
from whatever you start date is.

The meat of the formula would be something like (now - startdate)/7*2 then
dealing with the the start and end week.

--
Regards,
Tom Ogilvy

"QTE " wrote in message
...
Would like to increment a formatted General cell by 1 each time the day
is either Tuesday or Friday, from one year to the next. Would like
this to be automated so that it is updated regardless of whether I
actually open the file. So, if I have not opened the file for 2 weeks
the cell will be updated by the required days during those 2 weeks.

Thanks
QTE


---
Message posted from http://www.ExcelForum.com/



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 previous weekday function SAM Excel Discussion (Misc queries) 2 July 12th 09 09:32 PM
excel weekday function SAM Excel Discussion (Misc queries) 2 July 12th 09 08:39 PM
weekday function in excel 2007 wrong geradok Excel Discussion (Misc queries) 5 October 25th 07 10:14 PM
WEEKDAY() function: display TEXT not numeric weekday tom Excel Discussion (Misc queries) 3 November 21st 06 04:32 PM
Combining today +1 and weekday function Monique Excel Worksheet Functions 12 March 12th 05 12:41 PM


All times are GMT +1. The time now is 04:45 PM.

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

About Us

"It's about Microsoft Excel"