Calculating a future date

Closed
Michael - Nov 19, 2011 at 08:54 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Nov 20, 2011 at 08:35 PM
Hello,

I have a worksheet that needs to calculate the third weds. from today. So for example today is 11/19/11 in cell A1. I need cell B1 to tell me what the third weds. is from today. an if today was 11/23/11 then what is the third weds. from then. Thanks.

2 responses

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Nov 20, 2011 at 01:56 AM
suppose the date is in A1
use this formula and check

=TEXT(IF(WEEKDAY(A1)>4,A1+11-7,A1+4-weeday(A1)),"mm/d/yy")
It works well but I needed it to calculate what ever the THIRD weds. from today is. So if it's actually today then it is the tird weds from today. Thanks
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Nov 20, 2011 at 08:35 PM
sorry that 3 waeks i missed here it is

=TEXT(IF(WEEKDAY(A1)>4,A1+11-7+15,A1+4-weeday(A1)+15),"mm/d/yy")

does this help. if problem try to change that 15 .