Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2021, 06:03 AM
p45cal's Avatar
p45cal p45cal is offline Match values on different columns based on criteria Windows 10 Match values on different columns based on criteria Office 2019
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Not especially easy.
In the attached:
1. In Sheet1 a solution which may not work in Excel 2016 involving FILTER and UNIQUE.


2. In Sheet2 a Power Query in cell H1. Right-click and choose Refresh to update.
Attached Files
File Type: xlsx msofficeforums46519Excel question.xlsx (19.7 KB, 15 views)
Reply With Quote
  #2  
Old 02-21-2021, 11:34 PM
glenhmalnv2d1 glenhmalnv2d1 is offline Match values on different columns based on criteria Windows 10 Match values on different columns based on criteria Office 2016
Novice
Match values on different columns based on criteria
 
Join Date: Feb 2021
Posts: 3
glenhmalnv2d1 is on a distinguished road
Default

Thanks a lot for the help!!! thank you so much!


I have tested the solution in Sheet 2 and changed some values, but seems that the query is not working properly, i am still getting same output values in H1; any suggestion what am I doing wrong? thank you!
Attached Images
File Type: png h1 cell.png (131.1 KB, 27 views)
Reply With Quote
  #3  
Old 02-22-2021, 06:25 AM
p45cal's Avatar
p45cal p45cal is offline Match values on different columns based on criteria Windows 10 Match values on different columns based on criteria Office 2019
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by glenhmalnv2d1 View Post
I have tested the solution in Sheet 2 and changed some values, but seems that the query is not working properly, i am still getting same output values in H1
1. You have only 3 distinct names in column A so what would you expect - unless you want names repeating?
2. You said:
Quote:
Originally Posted by glenhmalnv2d1 View Post
have at least 3 matching values (same values) on column "City"
The cities you've added are different.



Are you looking to list names where:
each name appears in at least three different cities
or:
the names in cities where there are at least 3 different names in one city (this is what I've done)
or:
something else?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Match values on different columns based on criteria Create a unique list of values that match a criteria, sorted in order of another criteria BradRichardson Excel 2 01-03-2017 12:25 AM
Match values on different columns based on criteria Count unique values that match 2 or more criteria caeiro01 Excel 1 10-25-2015 02:34 AM
Hide rows in multiple columns based on zero values Deane Excel Programming 19 06-23-2015 11:24 PM
transpose values based on mulitple criteria mlttkw Excel 1 12-06-2013 02:00 AM
Change values in cells based on criteria SaneMan Excel Programming 2 02-02-2012 07:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft