• Microsoft Office
  • Microsoft Windows
  • Other Software
  • 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
  • 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
  • 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
  • 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.

3
51 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

Your email address will not be published. Required fields are marked *

Recent Posts
  • Retrieve Data Based on Data Validation
    September 7, 2023
    Excel
  • How to Convert Multiple Rows to Columns and Rows in Excel?
    September 6, 2023
    Excel
  • VLOOKUP for Automatic Discount in Data Validation
    September 6, 2023
    Excel
  • How to Convert Text Dates to Dates in Excel?
    September 5, 2023
    Excel
Categories
  • Blog 80
  • Excel 754
  • Powerpoint 36
  • Software tricks/tips 128
  • Uncategorized 8
  • Word 109
Tags
the ISERROR
Top rated products
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $15.00
  • Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year
    Rated 5.00 out of 5
    $164.50
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $11.00
Products
  • Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $45.00
  • Buy Office 2021 Professional Plus Key Global Bind To Your Microsoft Account
    Rated 4.83 out of 5
    $49.00
  • Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $15.00
  • Windows Server 2022 Standard Key Global
    Rated 4.47 out of 5
    $15.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $45.00

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.