G
Guest
Greetings and TIA for your help on this one
Lets say I have a lookup table with range name "colors"
Pear Gree
Apple Gree
Plum Red , etc
In the main database table I have a field header "Fruit
Using an array formula, I want to count the number of items that are "Green" when refered to the lookup table
I've tried: ={sum(--(vlookup(Fruit,Colors,2,0)="Green")} but I just get 1 or zero, dependent on whether the first cell in "Fruit" meets the criteria or not
Any suggestions would be gratefully received
Lets say I have a lookup table with range name "colors"
Pear Gree
Apple Gree
Plum Red , etc
In the main database table I have a field header "Fruit
Using an array formula, I want to count the number of items that are "Green" when refered to the lookup table
I've tried: ={sum(--(vlookup(Fruit,Colors,2,0)="Green")} but I just get 1 or zero, dependent on whether the first cell in "Fruit" meets the criteria or not
Any suggestions would be gratefully received