The following formula is not returning all the possible results, but I know I'm overlooking something very simple. Appreciate any help!
Worksheet 'Company One' has column A: with four possible choices. I only want to find the cells that have "yes" and "no." Column B: has company names. I only want to find cells wth "Rib D". Column C: has client names.
Second worksheet 'Results', is to list horizontally starting at C33, all the client names that are with Rib D AND have either "Yes" or "No."
The formula below is what I have in Results C33 and across. It only returns the very first match, but no other subsequent matches:
Worksheet 'Company One' has column A: with four possible choices. I only want to find the cells that have "yes" and "no." Column B: has company names. I only want to find cells wth "Rib D". Column C: has client names.
Second worksheet 'Results', is to list horizontally starting at C33, all the client names that are with Rib D AND have either "Yes" or "No."
The formula below is what I have in Results C33 and across. It only returns the very first match, but no other subsequent matches:
Code:
[FONT=Calibri][SIZE=3][COLOR=#000000]=IFERROR(INDEX('company one'!c4:c83,AGGREGATE(15,6,(ROW('companyone'!c4:c83)-ROW('company one'!c4)+1)/('companyone'!a4:a83="yes")*OR('companyone'!a4:a83="no")*AND('company one'!b4:b83="RibD"),COLUMNS($C33:c33))),"")[/COLOR][/SIZE][/FONT]