the.yangist
New Member
- Joined
- May 7, 2011
- Messages
- 17
I have a bit of a problem. I'm using a spreadsheet on WordNet (a large SQL database turned to cells), but have a need for a special kind of function that I simply don't know.
I have been using SUMPRODUCT dominantly to sort the data as I've needed it, but now I'm in need of a single-method lookup.
Here's the gist:
A1:A100
B1:B4
In C1:C10, SUMPRODUCT(($A$1:$A$100=$B1)+($A$1:$A$100=$B2)+($A$1:$A$100=$B3)+($A$1:$A$100=$B4)...)
The issue is that I have 5000 B cells to look up.
There is a longer solution to my problem, but I was curious if an array formula was out there that could solve this matter more shortly.
I have been using SUMPRODUCT dominantly to sort the data as I've needed it, but now I'm in need of a single-method lookup.
Here's the gist:
A1:A100
B1:B4
In C1:C10, SUMPRODUCT(($A$1:$A$100=$B1)+($A$1:$A$100=$B2)+($A$1:$A$100=$B3)+($A$1:$A$100=$B4)...)
The issue is that I have 5000 B cells to look up.
There is a longer solution to my problem, but I was curious if an array formula was out there that could solve this matter more shortly.