I have been struggling with a problem regarding conditional formulas. My data looks like this:
Identifier1, Code1, Code8, Code3, Code67,
Identifier2, Code9, Code34, Code31, Code3
Identifier3, Code4, Code6, Code67, Code5
etc
I want to use a conditonal forumla to return a 1 or 0 to a single column if eg Code4 is present in any of the 20 code columns. I can work out conditional formulas for 1 column, but not sure how to expand it into multiple columns. So my Data for code67 would look like: (with the column to show results added after identifier column)
Identifier1, 1, Code1, Code8, Code3, Code67
Identifier2, 0, Code9, Code34, Code31, Code3
Identifier3, 1, Code4, Code6, Code67, Code5
Any help people can give would be greatly appreciated.
Identifier1, Code1, Code8, Code3, Code67,
Identifier2, Code9, Code34, Code31, Code3
Identifier3, Code4, Code6, Code67, Code5
etc
I want to use a conditonal forumla to return a 1 or 0 to a single column if eg Code4 is present in any of the 20 code columns. I can work out conditional formulas for 1 column, but not sure how to expand it into multiple columns. So my Data for code67 would look like: (with the column to show results added after identifier column)
Identifier1, 1, Code1, Code8, Code3, Code67
Identifier2, 0, Code9, Code34, Code31, Code3
Identifier3, 1, Code4, Code6, Code67, Code5
Any help people can give would be greatly appreciated.