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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,216,180
Messages
6,129,344
Members
449,506
Latest member
nomvula

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