Excel Filtering for a Summary Tab

ItalianPlatinum

Well-known Member
Joined
Mar 23, 2017
Messages
880
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a 5k+ row sheet that contains Invoices, job Ids, Merchants, with Due Dates and Shipment dates among a lot of other unique data. I need a way to quickly and easily identify based off of year when something was shipped. I want to maintain one sheet lets call it data. Then be able to look at another sheet say (2024) or (2025) to reference right there automatically what has been shipped for that year. The sheet 2024 will have all the columns in the data tab that I populated. So essentially a summary filtered by Ship date of 2024. Would anyone be able to help? The user isn't very computer inclined so having them filter or advance filtering themselves is a no can do. I know Excel has FILTER and UNIQUE filter formulas that I think may work but I had issues getting them to work so looking for some help. Thank you in adcance!

Job #Shipment DateDue DateABCDXXXX
11/1/202312/2/2022AA121231234XXXX
21/1/202212/2/2021BB665577XXXX
31/1/202412/2/2023CC998824XXXX
410/1/20249/1/2024DD856874314XXXX
510/5/20209/5/2020EE101202303XXXX
69/9/20208/10/2020FF444555666XXXX
79/1/20248/2/2024GG888999110XXXX
811/1/202410/2/2024HH5687458742365XXXX
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
MrExcelPlayground23.xlsx
ABCDEFGHIJKLMNOPQRSTUVW
1Data Sheet with TableOther tab with output
22024
3Job #Shipment DateDue DateABCDXX2X3X4Job #Shipment DateDue DateABCDXXXX
411/1/202312/2/2022AA121231234XXXX31/1/202412/2/2023CC998824XXXX
521/1/202212/2/2021BB665577XXXX410/1/20249/1/2024DD856874314XXXX
631/1/202412/2/2023CC998824XXXX79/1/20248/2/2024GG888999110XXXX
7410/1/20249/1/2024DD856874314XXXX811/1/202410/2/2024HH5687458742365XXXX
8510/5/20209/5/2020EE101202303XXXX
969/9/20208/10/2020FF444555666XXXX
1079/1/20248/2/2024GG888999110XXXX
11811/1/202410/2/2024HH5687458742365XXXX
Sheet23
Cell Formulas
RangeFormula
M4:W7M4=FILTER(ShippingData,YEAR(ShippingData[Shipment Date])=M2)
Dynamic array formulas.
 
Upvote 0
Solution
Are you able to see what I am doing wrong? it looks good from what you sent but when replicating its not operating for me.

1731707844868.png
 
Upvote 0
You need to close the parentheses on the Year function. It should be "YEAR(B3:B11)=$M$2"

Also, there's no need to use an absolute reference in a filter function, so you can change "$M$2" to "M2".
 
Upvote 0
The function YEAR() expects a date input. You're grabbing B3 which is a text header. Try starting with row 4.
 
Upvote 0
Don't include the header row in your range. The year function being used on the header text will cause a #VALUE error.

This should work:

Book1
ABCDEFGHIJKLMNOPQRSTUVW
22024
3Job #Shipment DateXXXXXXXXX345292XXXXXXXXX
411/1/2023XXXXXXXXX445566XXXXXXXXX
521/1/2022XXXXXXXXX745536XXXXXXXXX
631/1/2024XXXXXXXXX845597XXXXXXXXX
7410/1/2024XXXXXXXXX
8510/5/2020XXXXXXXXX
969/9/2020XXXXXXXXX
1079/1/2024XXXXXXXXX
11811/1/2024XXXXXXXXX
12
13
Sheet1
Cell Formulas
RangeFormula
M3:W6M3=FILTER(A4:K11,YEAR(B4:B11)=M2)
Dynamic array formulas.
 
Upvote 0
Back again - have a slight problem. Didn’t realize the computer has excel version 2013 therefore the filter doesn’t work on that workstation. Is there a similar method that can be used in that version?
 
Upvote 0
It's pretty ugly and most of us don't have 2013 to test anymore. I suggest upgrade to 365.
2013 isn't being supported by Microsoft anymore so you're exposing yourself to a lot of vulnerabilities.
 
Upvote 0

Forum statistics

Threads
1,224,763
Messages
6,180,825
Members
452,997
Latest member
gimamabe71

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top