Finding a specific day of the week

j3andc

Board Regular
Joined
Mar 4, 2002
Messages
172
I am looking for a formula that will automatically tell me the date of the next Friday based upon the day I open the spreadsheet. I am sure there is a way, I just have not figured out the logic.

Example: I open a spreadsheet today (1/06/10) and I want the result in the cell to be 1/8/10. If I open the spreadsheet on 1/19/10, I want the result to be 1/22/10.

Thanks in advance for any help
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Try

=TODAY()+7-WEEKDAY(TODAY()+1)

on a Friday that will give that day's date, is that what you need?
 
Upvote 0
This is a common question and there are numerous approaches. Here is one Formula approach.
Code:
=TODAY()+CHOOSE(WEEKDAY(TODAY()),5,4,3,2,1,0,6)
But Barry's formula is better

lenze
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top