Dynamic date

S

Stephen Rammer

Hi,

I am looking for an automatic way to show a date in
Excel, which is always equal to the business day before
the current date. "Now()-1" will work for the last 4 days
during the week. However, my problem is on Mondays. I need
the date to show Friday and not Sunday. Any ideas?
 
T

Tom Ogilvy

If you don't want to install the analysis toolpak,

=if(weeday(today())=2,today()-3,today()-1)
 

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

Top