SUMIF for texts
On Aug 19, 9:16 am, Pieter wrote:
Could anyone help me with this?
I want to create a reference on text (like a SUMIF, but for text)
input: different persons get "x" on CL01, CL02,...
output via formula: OP1,OP2,OP3 listing the column with "x"
A B C D H I J
1 CL01 CL02 CL03 OP1 OP2 OP3
2 John x CL01 - -
3 Hugues x x CL02 CL03 -
Well, simple text references are just like value references, like
"=A1". But if your data is as simple as you've shown, maybe, in H2:
IF(B2="x",B$1,"-")
Copy across and down. But if the database is more complex, you may
want something trickier, like an OFFSET function inside the IF.
|