• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Obtaining the Previous Sunday

0 Comments

Obtaining the Previous Sunday. To retrieve the date of the previous Sunday in Excel for a specific date, you can use a formula that employs the WEEKDAY function.
Previous Sunday 1

Formula for Retrieving the Last Sunday

Follow these instructions:
1. Refer to the cell A1, which contains the original date.
2. Type the minus operator (-).
3. Insert the WEEKDAY function, with the reference to cell A1 in the first argument ().
4. Enter (11) in the second argument, then press enter to obtain the result.Previous Sunday 2 5. Once you hit enter, the formula returns the date of the last Sunday prior to the date in cell A1.Previous Sunday 3

How does this Formula Work?

To comprehend this formula, it’s necessary to understand the WEEKDAY function first. When you use the WEEKDAY function with a date, it returns a number ranging from 1 to 7, depending on the day of the week and the week structure you select.Previous Sunday 4 In the second argument (return_type), you must specify a number indicating the first day of the week. If you choose 2 or 11, for example, it begins with Monday.
Previous Sunday 5
For example, if it’s Wednesday and the week begins on Monday, the date’s day number will be 3. Therefore, the result displays 3.
When you subtract the result from the WEEKDAY function from the original date, you obtain the previous Sunday’s date.

Retrieving Other Previous Days

You may also retrieve other previous days.Previous Sunday 6
=date-WEEKDAY(date,11)
=date-WEEKDAY(date,12)
=date-WEEKDAY(date,13)
=date -WEEKDAY(date,14)
=date -WEEKDAY(date,15)
=date -WEEKDAY(date,16)
=date-WEEKDAY(date,17)

To modify the first day of the week, adjust the [return_type] argument in the function.

Applying Day Formatting with the Date

When you obtain a date in a cell, the day name is not included. However, you may easily obtain it by changing the format.
1. Select the cell and open the format cells option (Ctrl + 1).
2. Select the custom category, then click on the input bar for the Type.
3. Enter (dd-mmm-yy, dddd) and click OK to apply.Previous Sunday 7

Second Method

You may also utilize CHOOSE with WEEKDAY to obtain the previous Sunday.Previous Sunday 8
=A1-CHOOSE(WEEKDAY(A1),0,1,2,3,4,5,6)Previous Sunday 9
This formula uses WEEKDAY without specifying the [return_type] argument, so it employs Sunday as the default starting day of the week.
If the original date is Wednesday, WEEKNUM returns 4, and CHOOSE returns 3 from the list of numbers. Then, you obtain Sunday’s date by subtracting three days from the original date.
Note: It’s preferable to use the first method to obtain the previous Sunday or any other day.

Rate this post
25
253 Views
How To Save Excel Files In Different FormatsPrevHow To Save Excel Files In Different FormatsMay 5, 2023
Adding Hours to a Time in ExcelMay 5, 2023Adding Hours to a Time in ExcelNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.00
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
Products
  • Windows Server2008 R2 Remote Desktop Services device connections (20)cal Windows Server2008 R2 Remote Desktop Services device connections (20)cal $29.00
  • Microsoft Office Professional Plus 2010 retail Microsoft Office Professional Plus 2010 retail Key Global - 5 PC
    Rated 4.96 out of 5
    $15.00
  • Microsoft Project Standard 2019 - 1 PC Microsoft Project Standard 2019 - 1 PC $12.00
  • Windows Server 2022 Standard Key Global Windows Server 2022 Standard Key Global
    Rated 4.10 out of 5
    $7.00
  • Microsoft Visio 2016 professional CD Key Global Microsoft Visio 2016 professional CD Key Global
    Rated 4.94 out of 5
    $28.50
  • Kaspersky Plus - 1 Device 1 Year - GLOBAL Kaspersky Plus - 1 Device 1 Year - GLOBAL $23.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Windows 11 Home Key Global 2021 Windows 11 Home Key Global 2021
    Rated 5.00 out of 5
    $6.00
  • Avast Premium Security 2021 10 Devices 2 Years Global Avast Premium Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $41.00
  • Visio Professional 2024 Visio Professional 2024 $33.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.