Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2023, 07:46 AM
and_woox and_woox is offline Compair two pair of cells: function usage Windows 10 Compair two pair of cells: function usage Office 2019
Novice
Compair two pair of cells: function usage
 
Join Date: Jan 2023
Posts: 2
and_woox is on a distinguished road
Exclamation Compair two pair of cells: function usage

Hello!

I'm looking for a way to do the following:

-Compare a pair of cells on sheet A to another pair of cells on sheet B.
-If the pairs match (only one match will be possible), return the value from the column on sheet B corresponding to that matched pair.



Can somebody help me?
Attached Images
File Type: jpg exemple.jpg (33.7 KB, 11 views)
Reply With Quote
  #2  
Old 01-27-2023, 08:57 AM
mrgramm mrgramm is offline Compair two pair of cells: function usage Windows 10 Compair two pair of cells: function usage Office 2021
Novice
 
Join Date: Jan 2020
Posts: 7
mrgramm is on a distinguished road
Default

Try =INDEX(Sheet11!$C$1:$C$3,MATCH(Sheet10!A1&Sheet10! B1,Sheet11!$A$1:$A$3&Sheet11!$B$1:$B$3,0))
Sheet11 is your sheet B and sheet10 is your sheet A
Reply With Quote
  #3  
Old 01-30-2023, 08:16 AM
and_woox and_woox is offline Compair two pair of cells: function usage Windows 10 Compair two pair of cells: function usage Office 2019
Novice
Compair two pair of cells: function usage
 
Join Date: Jan 2023
Posts: 2
and_woox is on a distinguished road
Default

Thanks for the reply, unfortunately it didn't work.
I uploaded the original file.
What I'm trying to do is:

-In sheet REDE COLETORA DE ESGOTO match the pair of cells on column B and C with the corresponding pair in sheet APOIO.
-In sheet REDE COLETORA DE ESGOTO column D return the value from sheet APOIO column D that corresponds to the matched pair.

Can anyone give it a go on the original spreadsheet?
Attached Files
File Type: xlsx REDE COLETORA DE ESGOTO2.xlsx (242.9 KB, 2 views)
Reply With Quote
  #4  
Old 01-30-2023, 10:03 AM
Debaser's Avatar
Debaser Debaser is offline Compair two pair of cells: function usage Windows 10 Compair two pair of cells: function usage Office 2016
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

Cross-posts:
Compair two pair of cells: function usage | Chandoo.org Excel Forums - Become Awesome in Excel
Compair two pair of cells: function usage | MrExcel Message Board
https://www.excelforum.com/excel-for...ion-usage.html
Reply With Quote
  #5  
Old 01-30-2023, 12:16 PM
mrgramm mrgramm is offline Compair two pair of cells: function usage Windows 10 Compair two pair of cells: function usage Office 2021
Novice
 
Join Date: Jan 2020
Posts: 7
mrgramm is on a distinguished road
Default

Remove the @ in front of APOIO. Must get rid of merged cells. Formula works for row 13 but will not copy down because of merged cells.
Reply With Quote
  #6  
Old 01-31-2023, 01:12 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Compair two pair of cells: function usage Windows 10 Compair two pair of cells: function usage Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,770
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Also cross posted at Compair two pair of cells: function usage - Microsoft Community Hub
and Compair two pair of cells: function usage | General Excel Questions & Answers | Excel Forum | My Online Training Hub
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
SubTotal function counts the blank cells with formula LearnerExcel Excel 3 12-29-2019 04:54 AM
Compair two pair of cells: function usage Help with Index Function to Select Range of Cells bretyuin Excel 1 02-24-2016 05:11 AM
Linking specific cells in Excel to function with MergeField? Fabulist Word 0 02-17-2016 02:19 AM
Compair two pair of cells: function usage multiple conditions, and blank cells with the countifs function jaden0605 Excel 1 03-30-2014 01:50 AM
mapping from token to text/number pair JettyGuy Word 0 08-13-2011 10:47 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:56 PM.


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