Comparing two sheets values and return the header

AniSaikia

New Member
Joined
Nov 28, 2017
Messages
6
Hi All,
Good Afternoon,

I need to compare Sheet 1
[TABLE="width: 86"]
<colgroup><col></colgroup><tbody>[TR]
[TD]SLA [/TD]
[/TR]
[TR]
[TD]111[/TD]
[/TR]
[TR]
[TD]221[/TD]
[/TR]
[TR]
[TD]333[/TD]
[/TR]
[TR]
[TD]with Sheet 2 below table
[TABLE="width: 305"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Gold[/TD]
[TD]Silver[/TD]
[TD]Bronze[/TD]
[/TR]
[TR]
[TD="align: right"]311[/TD]
[TD="align: right"]211[/TD]
[TD="align: right"]111[/TD]
[/TR]
[TR]
[TD="align: right"]312[/TD]
[TD="align: right"]212[/TD]
[TD="align: right"]112[/TD]
[/TR]
[TR]
[TD="align: right"]313[/TD]
[TD="align: right"]213[/TD]
[TD="align: right"]113[/TD]
[/TR]
[TR]
[TD="align: right"]321[/TD]
[TD="align: right"]221[/TD]
[TD="align: right"]121[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
And return value like GOLD, Silver or Bronze

Suppose Sheet 1 111 = Sheet 2 111 , then result should be Bronze

Thanks in advance :)
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I m trying this kind of formula but not working

=INDEX(SetUp!$L$1:$N$1,MATCH(Master!AU2,SetUp!$L$2:$N$10,0))
 
Upvote 0
Please suggest

Hi, you should be waiting a lot longer than 15 minutes before bumping your threads - you risk putting people of replying if you are too eager, especially as many people use the "posts with zero replies" option when looking for questions to help with.

That said, here is one option you can try:


Excel 2013/2016
AB
1SLAResult
2111Bronze
3221Silver
4333#NUM!
5312Gold
Sheet1
Cell Formulas
RangeFormula
B2=INDEX(Sheet2!$A$1:$C$1,AGGREGATE(14,6,COLUMN(Sheet2!$A$1:$C$1)/(Sheet2!$A$2:$C$5=A2),1))




Excel 2013/2016
ABC
1GoldSilverBronze
2311211111
3312212112
4313213113
5321221121
Sheet2
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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