Multiple lookups query
Hi,
I've a sheet with various user names and 5 columns and trying to get the lookup to report on a user name and count up total of same instance in each of the columns -this can be 0-5 per row. In essence below is what I am trying to get to:
If user name = "Joe Bloggs" and column 1 = "abc" OR column 2="abc" OR column 3="abc" OR column 4="abc" OR column 5-"abc" this gives a result.
Any assistance much appreciated.
Thanks
A
Best Answer
-
Thanks Paul -works a treat!
Answers
-
You will need a separate COUNTIFS for each and then add them together.
=COUNTIFS([User Name]:[User Name], "Joe Bloggs", [Column1]:[Column1], "abc") + COUNTIFS([User Name]:[User Name], "Joe Bloggs", [Column2]:[Column2], "abc") + COUNTIFS([User Name]:[User Name], "Joe Bloggs", [Column3]:[Column3], "abc") + COUNTIFS([User Name]:[User Name], "Joe Bloggs", [Column4]:[Column4], "abc") + COUNTIFS([User Name]:[User Name], "Joe Bloggs", [Column5]:[Column5], "abc")
-
Thanks Paul -works a treat!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 61 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!