Formula - Filter Function

sprigelz

Board Regular
Joined
Jan 7, 2016
Messages
98
Office Version
  1. 365
Platform
  1. Windows
Good day,

My Filter formula seems to have broken when I added a new line to the referenced table. Any ideas as to why this is showing a #VALUE error?

Error occurs even if there is data in any of the O1, O2, & O3 cells that match the referenced table.

Excel Formula:
=IF(O1<>"",FILTER(TrainingTrack[@[First]:[Entered Date]],TrainingTrack[Department]=Reports!O1),IF(O2<>"",FILTER(TrainingTrack[@[First]:[Entered Date]],TrainingTrack[Training Event]=Reports!O2),FILTER(TrainingTrack[@[First]:[Entered Date]],TrainingTrack[Last]=Reports!O3)))

Screenshot 2022-08-10 125139.png
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
You need to remove the @ sign from the formula.
 
Upvote 0
Solution
I knew it had to be something simple. Haha. Thank you so much!

Working solution;
Excel Formula:
=IF(O1<>"",FILTER(TrainingTrack[[First]:[Entered Date]],TrainingTrack[Department]=Reports!O1),IF(O2<>"",FILTER(TrainingTrack[[First]:[Entered Date]],TrainingTrack[Training Event]=Reports!O2),FILTER(TrainingTrack[[First]:[Entered Date]],TrainingTrack[Last]=Reports!O3)))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,996
Messages
6,122,636
Members
449,092
Latest member
bsb1122

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