I have 2 sheets Form_ERR and DataBase_ERR.
Form_ERR has: -
Cell L11 - where a number can be entered
Cell L14 - dropdown selection containing Names
Cell L16 - dropdown selection containing Categories
Cell L18 - dropdown selection contain Departments
Cell L20 - dropdown selection containing Status
DataBase_ERR has: -
Table - DataBase_ERR (range C24:N1000)
Header C - [Status]
Header D - [ERR]
Header E - [Description]
Header F - [Date In]
Header G - [Target]
Header H - [Dept]
Header I - [Requester]
Header J - [Market]
Header K - [Classification]
Header L - [Priority]
Header M - [Engineer]
Header N - [Completion Date]
I have a formula (below) that filters the table (DataBase_ERR) if one of the cells above contains a value (only one cell contains a value at any one time).
=FILTER(DataBase_ERR,(DataBase_ERR[ERR]=Form_ERR!L11)+(DataBase_ERR[Engineer]=Form_ERR!L14)+(DataBase_ERR[Market]=Form_ERR!L16)+(DataBase_ERR[Dept]=Form_ERR!L18)+(DataBase_ERR[ERR]=Form_ERR!L26)+(DataBase_ERR[ERR]=Form_ERR!L34))
This above formula works fine, but I now need to combine an additional filter that will do the same as above but also Filter if Cell L14 and Cell L20 have values. The formula I have for this is: -
=IFERROR(FILTER(DataBase_ERR,((DataBase_ERR[Engineer]=L14)+(DataBase_ERR[Market]=L16)+(DataBase_ERR[Dept]=L18))*(DataBase_ERR[Engineer]=L14)*(DataBase_ERR[Status]=L20)),"")
This formula will give me the filter results I want but if I leave Cell L20 blank then I get no results at all.
I'm a keen learner but very much a noob, so any help would be gratefully received.
Mark.
Form_ERR has: -
Cell L11 - where a number can be entered
Cell L14 - dropdown selection containing Names
Cell L16 - dropdown selection containing Categories
Cell L18 - dropdown selection contain Departments
Cell L20 - dropdown selection containing Status
DataBase_ERR has: -
Table - DataBase_ERR (range C24:N1000)
Header C - [Status]
Header D - [ERR]
Header E - [Description]
Header F - [Date In]
Header G - [Target]
Header H - [Dept]
Header I - [Requester]
Header J - [Market]
Header K - [Classification]
Header L - [Priority]
Header M - [Engineer]
Header N - [Completion Date]
I have a formula (below) that filters the table (DataBase_ERR) if one of the cells above contains a value (only one cell contains a value at any one time).
=FILTER(DataBase_ERR,(DataBase_ERR[ERR]=Form_ERR!L11)+(DataBase_ERR[Engineer]=Form_ERR!L14)+(DataBase_ERR[Market]=Form_ERR!L16)+(DataBase_ERR[Dept]=Form_ERR!L18)+(DataBase_ERR[ERR]=Form_ERR!L26)+(DataBase_ERR[ERR]=Form_ERR!L34))
This above formula works fine, but I now need to combine an additional filter that will do the same as above but also Filter if Cell L14 and Cell L20 have values. The formula I have for this is: -
=IFERROR(FILTER(DataBase_ERR,((DataBase_ERR[Engineer]=L14)+(DataBase_ERR[Market]=L16)+(DataBase_ERR[Dept]=L18))*(DataBase_ERR[Engineer]=L14)*(DataBase_ERR[Status]=L20)),"")
This formula will give me the filter results I want but if I leave Cell L20 blank then I get no results at all.
I'm a keen learner but very much a noob, so any help would be gratefully received.
Mark.