I've been fiddling with this for hours and can't make sense of it so figured I'd ask for suggestions.
I'm trying to work out a formula in column C that will display select values from column A as pictured below. I'd like it to do this only if there is more than one occurrence of a value in column B, and want it to omit the value in A that is in the current row. Hopefully that makes sense. I have been trying with an INDEX MATCH combination but cannot figure out how to display more than the first value from Column A.
=IF(COUNTIF($B$2:$B2,$B2)>1,INDEX($A$2:$A$400,MATCH($B2,$B$2:B$400,0),0),"")
I'm not sure if this can be done with a formula or if VBA makes more sense? Thanks in advance for any direction you can provide.
I'm trying to work out a formula in column C that will display select values from column A as pictured below. I'd like it to do this only if there is more than one occurrence of a value in column B, and want it to omit the value in A that is in the current row. Hopefully that makes sense. I have been trying with an INDEX MATCH combination but cannot figure out how to display more than the first value from Column A.
=IF(COUNTIF($B$2:$B2,$B2)>1,INDEX($A$2:$A$400,MATCH($B2,$B$2:B$400,0),0),"")
I'm not sure if this can be done with a formula or if VBA makes more sense? Thanks in advance for any direction you can provide.