Date Round Up

S

shakey1181

All,

Trying to round up a date to the nearest Saturday and am struggling to get
the correct result. Can't find a solution using the ROUND or ROUNDUP formula.

Column A Column B
01/01/07 05/01/07
02/01/07 06/01/07

Thanks in advance for any help.
 
S

shakey1181

Sorry, mistake in the below, columns should read:

Column A Column B
01/01/07 05/01/07
02/01/07 05/01/07
03/01/07 05/01/07
04/01/07 05/01/07
05/01/07 05/01/07
06/01/07 12/01/07
 
M

Mike H

I've assumed the next Friday as in your example and not saturday as in the text


=A1+IF(WEEKDAY(A1)=7,13-WEEKDAY(A1),6-WEEKDAY(A1))

In B1 and drag down

Mike
 

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