Hello,
I have a filter formula that references a column on a second sheet.
I'd like to be able to select a different column from a drop down box on the search sheet, and I've created a small look up table so that if you select "Description" in the drop down box on the search sheet, cell J3 in the Items page will show Items!D4:D7000, and if you select "Item" in the drop down box, J3 will show Items!C4:C7000.
When I change D4:D7000 in the Filter formula to Items!J3 , I get the #VALUE! result.
I've also tried adding in the VLOOKUP formula into the space where D4:D7000 is, but the same thing happens.
I even tried changing the LOOKUP to an IF function based on the same small table in case the FITLER didn't like the LOOKUP
Is there a way to "nest" a range referenced from another cell into the FILTER formula without resorting to VBA?
Any help would be greatly appreciated!
I have a filter formula that references a column on a second sheet.
I'd like to be able to select a different column from a drop down box on the search sheet, and I've created a small look up table so that if you select "Description" in the drop down box on the search sheet, cell J3 in the Items page will show Items!D4:D7000, and if you select "Item" in the drop down box, J3 will show Items!C4:C7000.
=FILTER(Items!B4:G7000,ISNUMBER(SEARCH(B3,Items!D4:D7000))*(B3<>""),"No results")
When I change D4:D7000 in the Filter formula to Items!J3 , I get the #VALUE! result.
I've also tried adding in the VLOOKUP formula into the space where D4:D7000 is, but the same thing happens.
=VLOOKUP('Search Sheet'!D3,Items!I7:J12,2,FALSE)
I even tried changing the LOOKUP to an IF function based on the same small table in case the FITLER didn't like the LOOKUP
=IF('Search Sheet'!D3="Description",J9,"N/A")
Is there a way to "nest" a range referenced from another cell into the FILTER formula without resorting to VBA?
Any help would be greatly appreciated!