FILTER FUNCTION WITH DROP DOWN

datastudent

New Member
Joined
Sep 7, 2021
Messages
49
Office Version
  1. 365
Platform
  1. Windows
Hi,

So I have these data in in the first table, "Table3", and I want to filter them onto my second table according to the filter on my drop down(MONTH AND YEAR).
Here's the formula I tried but is not working =FILTER(Table3(Table3[MONTH]=$J$1)*(Table3[YEAR]=$L$1),"").
Income & Expense Tracker.xlsx
ABCDEFGHIJKLMNO
1MONTHYEARDATETYPECATEGORYAMOUNTDESCRIPTIONMONTHFebruaryYEAR2024
2February20242/29/2024INCASH₱1.00
3March20243/4/2024INGCASH₱2.00MONTHYEARDATETYPECATEGORYAMOUNTDESCRIPTION
4March20243/4/2024OUTCASH₱3.00#VALUE!
5March20243/4/2024OUTGCASH₱3.00#VALUE!
Sheet1
Cell Formulas
RangeFormula
I4:I5I4=FILTER(Table3(Table3[MONTH]=$J$1)*(Table3[YEAR]=$L$1),"")
Cells with Data Validation
CellAllowCriteria
L1List=#REF!
J1List=Pivot!$A$1:$A$5
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Try:

Excel Formula:
=FILTER(Table3,(Table3[MONTH]=J1)*(Table3[YEAR]=L1))

Also note that spill formulas don't work in Excel tables, so you can just spill the results onto an empty section of sheet, and use Conditional Formatting to make it look like a table.
 
Upvote 1
Solution
@Eric W Thank you so much. I didn't know about the spill formula not working in excel tables. I really appreciate the information :)
 
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,032
Members
449,414
Latest member
sameri

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