Тёмный

Excel AutoFilter for Date Range Two Ways 

Contextures Inc.
Подписаться 63 тыс.
Просмотров 97 тыс.
50% 1

🔵 In Excel, see how to AutoFilter for a Date Range in 2 different ways
✅ Get the sample Excel file to follow along
► www.contextures.com/xlautofil...
⏰ Video Timeline ⏰
0:00 Intro
0:17 Date Filter Type 1
2:01 Date Filter Type 2
4:03 Add Conditional Formatting
6:21 Get the Workbook
🔶 Instructor: Debra Dalgleish, Contextures Inc.
💡 Get Debra's monthly Excel tips: www.contextures.com/signup01
Subscribe to Contextures RU-vid: ru-vid.com...
#ContexturesExcelTips
'-----
VIDEO TRANSCRIPT
I'm going to check whether each date is on or after this date, and on or before this date.
We could do that on the worksheet with a formula, and we'll do it here first, and then use the same formula in conditional formatting.
In this cell I'm going to type an equal sign. I want to check two things.
So I'm going to use the AND function and an open bracket.
The first thing I want to check is if this cell B4 is greater than or equal to this cell. B4 greater than, equal to, and the start date.
Now it's gone in as a relative reference, but no matter which row I'm checking, I always want it to check this cell.
I'm going to press the F4 key, to put dollar signs in there, and make that an absolute reference.
Then I'll type a comma and the next thing I want to check is if B4 is less than or equal to the end date.
B4 less than equal to.
Click on the end date and again press F4, to lock that and make it an absolute reference to that cell.
Close the bracket and press Enter.
Now this one is not in that date range, but if I drag down, and we've got a few more dates here, going down to the beginning of April, we can see that these are all TRUE and they're from January 17th to February 14th.
If I look at that count down here, we've got 8.
We're going to use this same formula in the conditional formatting rule that we'll set up.
So I've selected the first cell, I want to be in the first row.
I'll highlight that in the formula bar, Ctrl+C to copy it.
Then press Enter, to get out of the edit mode in that cell.
I'm going to click the heading of the Date column, to select all the date cells.
Then up on the Home tab, Conditional Formatting. New Rule.
In here, I want to use a formula.
We're going to use that formula that we just copied and I'll click in the format values, formula cell, and Ctrl+V to paste that formula.
I'm going to click Format, and on the Font tab, I'm just going to make a subtle change to the color.
That way, if we wanted to print this sheet, nobody would notice that there is a difference in some of the cells.
So instead of Automatic, which right now is black, I'm going down to this last one, which is Black Text, 1 Lighter 5%.
I'll click OK and we can see the formatting example here.
Click OK and now we don't really see any difference here, but if I go to that drop down arrow, now there's a Filter by Color option.
Filter by Font Color, and it shows in the filtered results, just the ones where we have the TRUE.
And it's got the same 8 count that we had before.
To clear that, I've got a shortcut up on my Quick AccessToolbar.
Now all the records are showing again,
We can clear out this list of formulas that we entered.
Now if I want to look at from January 1st to February 15th.
I can go back to my Filter by Color, and it now includes all of the dates in this new date range.
without having to go in and change the settings in the filter Between that we did before.
.

Опубликовано:

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@osoriomatucurane9511
@osoriomatucurane9511 Месяц назад
Awesome tutorial, thank you for the concept of dynamic dates (YTD, previous month, previous year,....). It would be great you had a date picker there. A great trick I have just learnt to apply the filter, once u defined the rule, just right click and select filter by color, instead of the filter drop down list and box
@Chef-1707
@Chef-1707 3 года назад
I love all your videos and your soothing voice teaches in an easy to follow, well explained way . Appreciate you sharing your knowledge
@contextures
@contextures 3 года назад
Thank you so much!
@DougHExcel
@DougHExcel 4 года назад
Neat use of conditional formatting!
@contextures
@contextures 4 года назад
Thanks, Doug!
@Mrjobsman
@Mrjobsman 4 года назад
YOU ARE THE BEST
@eryckgaming6047
@eryckgaming6047 2 года назад
Thank you, this is a simpler idea than what I was over thinking
@contextures
@contextures Год назад
You're welcome, Eryck, and thanks for your comment!
@rosh_unb3944
@rosh_unb3944 3 года назад
Great video have been banging my head for a while about this. But how to do when you have date and time in two different cell and you want to apply this filter formula?
@Matawfik
@Matawfik 3 года назад
Thank you
@yashavantpatel8771
@yashavantpatel8771 4 года назад
Good illustration. Can we do this with advance filter?
@insafkhan873
@insafkhan873 2 года назад
Your the best , thank you
@contextures
@contextures 2 года назад
Aw, thank you, Insaf! 😊
@wayneedmondson1065
@wayneedmondson1065 4 года назад
Hi Debra.. great tips.. thanks for the video. Here is another one.. use Advanced Filter to Filter By Formula. So, take the formula you created for the conditional formatting and put it in cell I2: =AND(B4>=$G$2,B4
@contextures
@contextures 4 года назад
Thanks, Wayne, and I've been a big fan of Advanced Filters for many years! You can see some of my criteria formulas (and a couple of my older videos) here: www.contextures.com/xladvfilter02.html
@Larwai
@Larwai 3 года назад
It's wondeerful!
@contextures
@contextures 3 года назад
Thank you!
@bayarmaamunkhbat8876
@bayarmaamunkhbat8876 2 года назад
Your best, thank you
@contextures
@contextures 2 года назад
You're welcome, Bayarmaa, and thanks for your comment!
@DweensFantasy
@DweensFantasy 4 месяца назад
What if i want to exclude some dates between the start and end dates that I selected?
@Yasin45
@Yasin45 2 года назад
Effective video
@contextures
@contextures 2 года назад
Thank you!
@qqui5770
@qqui5770 4 года назад
Hep me value grand total pivot tab not match when the creat fieds .
@rahulsingh3176
@rahulsingh3176 2 года назад
Thanks you mam
@contextures
@contextures 2 года назад
You're welcome, Rahul, and thanks for your comment!
@mohammadsadrzadeh4067
@mohammadsadrzadeh4067 Год назад
How can I use Slicers to Filter Data Betweeen Two Dates in Excel ?
@contextures
@contextures Год назад
Add a new column in the data, with a formula that checks if date is in date range. Then, add a slicer for that column, and filter for TRUE
@mohammadsadrzadeh4067
@mohammadsadrzadeh4067 Год назад
@@contextures Thanks but hard for me to visulaize. Could you please share a screenshot or template?
@osoriomatucurane9511
@osoriomatucurane9511 Месяц назад
Slicing between periods, month, quarters, semester and year. Create aditional columns for those periods. Month = text(date, "mmm") Quarters = ifs(date
@kashrafali2258
@kashrafali2258 2 года назад
HERE, CAN WE SEE THE RESULT AS SOON AS WE CHANGE THE DATE AND WITHOUT REFERESHING
@contextures
@contextures 2 года назад
Thanks for your question, and the AutoFilter does not automatically refresh.
@t.s6919
@t.s6919 2 года назад
How this sales data table create
@contextures
@contextures 2 года назад
This video shows how to make a formatted table: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-AM7iUCYSUrw.html
Далее
Чистка пляжа с золотом
00:49
Просмотров 302 тыс.
Документы для озокомления😂
00:24
Excel VBA Advanced Filter on Date Range
9:21
Просмотров 12 тыс.
Excel Time-Savers - 5 Hidden Features for Busy People
14:24
I saw my boss do these 10 things in Excel!
7:36
Просмотров 2,6 млн
Filter Function Date Range Criteria in Excel
3:15
Просмотров 50 тыс.