ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   filtering dates within this week (https://www.excelbanter.com/excel-programming/434808-filtering-dates-within-week.html)

Lynn[_7_]

filtering dates within this week
 
I have a series of dates. How can i filter dates that are within this
week?

thanks

Lars-Åke Aspelin[_2_]

filtering dates within this week
 
On Fri, 9 Oct 2009 18:49:35 -0700 (PDT), Lynn
wrote:

I have a series of dates. How can i filter dates that are within this
week?

thanks


Assuming your dates are in column C and that weeks start on Mondays ,
try this formula in cell D1:

=C1-TODAY()+WEEKDAY(TODAY(),3)<7

Copy down as far as needed.

This will yield TRUE in column D for the rows where the corresponding
dates in column C are within this week.

Hope this helps / Lars-Åke


All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com