How do/can I calculate the date for every Tuesday???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guru's:

What I need is a method (formula) of calculting the date for Next Tuesday
and every Tuesday there after when the worksheet is opened? I need to look at
the current system date and extract the next or up-coming Tuesday from that
system date, even if it's the day (Monday) before the next Tuesday?

Looking forward to your input!

Thanks
 
Hi Jay,

try this

=if(weekday(a1)=1,(a1+2),if(weekday(a1)=2,(a1+1),if(weekday(a1)=3,(a1+7),if(weekday(a1)=4,(a1+6),if(weekday(a1)=5,(a1+5),if(weekday(a1)=6,(a1+4),if(weekday(a1)=7,(a1+3))))))))

hth
regards from Brazil
Marcelo



"Jay" escreveu:
 
=TODAY()+10-WEEKDAY(TODAY())
macro
MsgBox Date + (10 - Weekday(Date))
 
Jay said:
Hi guru's:

What I need is a method (formula) of calculting the date for Next
Tuesday and every Tuesday there after when the worksheet is opened? I
need to look at the current system date and extract the next or
up-coming Tuesday from that system date, even if it's the day
(Monday) before the next Tuesday?

Looking forward to your input!

Thanks

Hi Jay,

try this:

=TODAY()+9-WEEKDAY(TODAY(),2)


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy
 
If you're only interested in the date and not the time value that goes along
with it, try this ...

=TEXT(NOW(), "dd-mmm")+8-(WEEKDAY(NOW()))

HTH.
 
Sorry it should have been...

=TEXT(NOW(), "dd-mmm")+10-(WEEKDAY(NOW()))
 
=TODAY()+CHOOSE(WEEKDAY(TODAY()),1),2,1,0,6,5,4,3)

and then just keep adding 7 for further dates.



--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top