Depending what you want if the date is already a Sunday use James006 formula or the one in column C below (assuming that you do mean the next Sunday and not the nearest Sunday or the Sunday of that week as most conventions start the week on a Sunday so you would want the previous Sunday)...
Sheet1
<colgroup><col style="font-weight:bold; width:30px; "><col style="width:75px;"><col style="width:64px;"><col style="width:75px;"><col style="width:75px;"></colgroup><tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]1[/TD]
[TD="align: center"]MARK858[/TD]
[TD="align: center"]James006[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]2[/TD]
[TD="align: center"]17/12/2018[/TD]
[TD="align: center"]23/12/2018[/TD]
[TD="align: center"]23/12/2018[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]3[/TD]
[TD="align: center"]23/12/2018[/TD]
[TD="align: center"]23/12/2018[/TD]
[TD="align: center"]30/12/2018[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]4[/TD]
[TD="align: center"]24/12/2018[/TD]
[TD="align: center"]30/12/2018[/TD]
[TD="align: center"]30/12/2018[/TD]
</tbody>
Spreadsheet Formulas |
Cell | Formula | C2 | =A2-WEEKDAY(A2-1)+7 | D2 | =A2+7-MOD(A2-1,7) | C3 | =A3-WEEKDAY(A3-1)+7 | D3 | =A3+7-MOD(A3-1,7) | C4 | =A4-WEEKDAY(A4-1)+7 | D4 | =A4+7-MOD(A4-1,7) |
<tbody>
</tbody> |
<tbody>
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4