Using FILTER to spill with certain criteria

rizzo93

Active Member
Joined
Jan 22, 2015
Messages
299
Office Version
  1. 365
I'm using a formula to spill values from a column in a table on one worksheet to another column on another worksheet.

The table and column is called tblActiveProjects[Go Live Date]. I want to spill the values that meet the following criteria:
  • the month of the value in [Go Live Date] IS NOT less than the month of Today
  • the year of the value in [Go Live Date] IS EQUAL to the year of Today
  • the value in [Go Live Date] IS NOT equal to "TBD"
This is what I have so far, but it's only producing a #VALUE error:

Excel Formula:
=FILTER(tblActiveProjects[Go Live Date],(tblActiveProjects[Go Live Date]<>"TBD")*(MONTH(tblActiveProjects[Go Live Date])<MONTH(TODAY()))*(YEAR(tblActiveProjects[Go Live Date]=YEAR(TODAY()))))

If I leave it at just not equaling TBD, I'm fine, but when I get into the month and year stuff, that's where it breaks down.

Is what I want possible?
 
You all have been so helpful! (y)

Fluff's formula worked but then I realized later down the road that I may end up with more results than I have space for in my report.

I only need data for 17 weeks out, so I enter my start date in $C$5 (a Sunday) and the formula looks only that far:

Excel Formula:
=FILTER(tblActiveProjects[ID],(tblActiveProjects[Go Live Date]<>"TBD")*(tblActiveProjects[Go Live Date]>=$C$5)*(tblActiveProjects[Go Live Date]<$C$5+(17*7)-7))

Thank you for your help, everybody. Much appreciated!
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,857
Messages
6,121,948
Members
449,056
Latest member
FreeCricketId

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