Return name in Column J if Column L contains value

Koplin

New Member
Joined
Jan 13, 2019
Messages
3
Hi all,

I am looking to get a return of a name from column J if column L contains the value "C". I've set up an index function that works fine if column L contains ONLY "C"...but the problem is sometimes column L contains text like "C, RW". I need to tweak the equation I have to return if column L contains, but limited to "C".

image.png


Here is the picture of what I got so far. Below is my equation I am using, with A1 as my value to search for in Column L ("C").

=IFERROR(INDEX('2018-19 Z'!$J$7:$J$598, SMALL(IF('2018-19 Z'!$L$7:$L$598=$A$1, ROW('2018-19 Z'!$J$7:$J$598)-ROW($L$7)+1), ROW(1:1))),"")

Thanks in advance!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I made a mistake, I need the returns to be all lines WITH "C" in column L. So the Len won't work sadly :( but thanks!
 
Upvote 0

Forum statistics

Threads
1,224,905
Messages
6,181,663
Members
453,059
Latest member
jkevin

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