Return values with H lookup in a checklist

Dougal2913

New Member
Joined
Oct 22, 2017
Messages
1
A B C

Error Code Doc 1 Doc 2
C010
C011 e
C012

The question I have is if columns B through K = "e" (meaning that document has an error) I want the value of the Doc # and the error code to be returned on a separate sheet.

Any help would be appreciated.

<colgroup><col><col><col span="4"></colgroup><tbody>
</tbody>
 

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
Will there be more than 1 error per row?
maybe add a helper column to text for "e", give that a unique ID and pull that using INDEX/MATCH?
for instance, in L2...
=if(countif(B2:K2,"e")>1,L1+1,L1)
copied down
Then to pull those code...
=index(sheet1!A:A,match(rows($A$1:A1),sheet1!L:L,0))
copied down
 
Upvote 0

Forum statistics

Threads
1,215,253
Messages
6,123,891
Members
449,131
Latest member
leobueno

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