Compair two pair of cells: function usage

and_woox

New Member
Joined
Jan 26, 2023
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
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.

tmp exce.jpg

Can somebody help me?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi & welcome to MrExcel.
What columns are the data in on sheet B?
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Compair two pair of cells: function usage
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
DOES THIS WORK:
WorkBook1.xlsx
ABCDEFGH
1
2
3STARTENDSTARTEND
41236AMANDA5623LISA
52345SANDRA2345SANDRA
65623LISA1236AMANDA
7
Sheet2
Cell Formulas
RangeFormula
C4:C6C4=INDEX($H$4:$H$6,MATCH(A4&B4,$F$4:$F$6&$G$4:$G$6,0))
 
Upvote 0
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?
 
Upvote 0
I don't download random data, i'm sorry.
Please post a 30-40 rows with your desired results/problems with the xl2bb add in?
 
Upvote 0
Perhaps you missed this part of Fluff's post:

if you have posted the question at other places, please provide links to those as well.

Please comply with the request.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top