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.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!