Excel formula to compare columns with one column and row

AniSaikia

New Member
Joined
Nov 28, 2017
Messages
6
Hi,
Could you help with the formula for below
Sheet 1 has suppose
process Name
A Test
B Test1
C. Test2

Sheet 2 has
Row1
process. Test. Test1 Test 2
A. 10. 20. 30
B. 20. 90. 5
C. 5. 6. 4

So if sheet1 process A = sheet 2 process A and Sheet 1 Test = sheet 2 Test, it should return value as 10 ...Please suggest

Thanks in advance
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Re: Excel formual to compare columns with one column and row

Welcome to the board
Try
=INDEX(Sheet2!$B$2:$D$4,MATCH(A2,Sheet2!$A$2:$A$4,0),MATCH(B2,Sheet2!$B$1:$D$1,0))

Sheet1

Book1
ABC
1ProcessNameFormula
2ATest10
3BTest190
4CTest24
Sheet1
Cell Formulas
RangeFormula
C2=INDEX(Sheet2!$B$2:$D$4,MATCH(A2,Sheet2!$A$2:$A$4,0),MATCH(B2,Sheet2!$B$1:$D$1,0))
C3=INDEX(Sheet2!$B$2:$D$4,MATCH(A3,Sheet2!$A$2:$A$4,0),MATCH(B3,Sheet2!$B$1:$D$1,0))
C4=INDEX(Sheet2!$B$2:$D$4,MATCH(A4,Sheet2!$A$2:$A$4,0),MATCH(B4,Sheet2!$B$1:$D$1,0))



Sheet2

Book1
ABCD
1ProcessTestTest1Test2
2A102030
3B20905
4C564
Sheet2
 
Upvote 0
Re: Excel formual to compare columns with one column and row

You're welcome.
 
Upvote 0

Forum statistics

Threads
1,215,365
Messages
6,124,513
Members
449,168
Latest member
CheerfulWalker

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