Formula to check the header name and return the cell data for a specific row

bb19august

New Member
Joined
Feb 1, 2019
Messages
18
Excel formula for the following condition given in the table

F1F2F3R1R2R3CheckResult
121121F11
122122R32
122F22
111R30

<tbody>
</tbody>

"Check" column has the header name to be verified and return the cell value in row in the "Results" column
If the cell is blank for a specific header then return '0"
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Re: Need help with a formula to check the header name and return the cell data for a specific row

How about


Excel 2013/2016
ABCDEFGH
1F1F2F3R1R2R3CheckResult
2121121F11
3122122R32
4122F22
5111R30
Dashboard
Cell Formulas
RangeFormula
H2=INDEX($A$2:$F$5,ROWS($1:1),MATCH(G2,$A$1:$F$1,0))
 
Upvote 0
Re: Need help with a formula to check the header name and return the cell data for a specific row

Perfecto. Result as expected. Thank you so much for your time and help
 
Upvote 0
Re: Need help with a formula to check the header name and return the cell data for a specific row

Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,896
Members
449,194
Latest member
JayEggleton

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