• 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
33
258 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
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 1 Year AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 1 Year
    Rated 4.91 out of 5
    $34.00
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows Server 2019 Standard Key Global Windows Server 2019 Standard Key Global
    Rated 4.68 out of 5
    $7.00
  • Windows 11 Home Key Global 2021 Windows 11 Home Key Global 2021
    Rated 5.00 out of 5
    $6.00
  • Microsoft Visio Standard 2019 Key 1PC Microsoft Visio Standard 2019 Key 1PC $12.00
  • Buy Office 2021 Professional Plus Key Global Bind To Your Microsoft Account Buy Office 2021 Professional Plus Key Global Bind To Your Microsoft Account
    Rated 4.71 out of 5
    $99.00
  • Windows 10 Pro Key Global Windows 10 Pro Key Global
    Rated 4.74 out of 5
    $6.00
  • Windows Server 2016 Essentials Key Global Windows Server 2016 Essentials Key Global
    Rated 4.79 out of 5
    $10.00
  • Microsoft Visio Professional 2016 Key 1PC Microsoft Visio Professional 2016 Key 1PC $9.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.