Hi guys,
A real head scratcher today.
I have codes like the below in the 'Rules Codes Triggered' column.
When I pivot this, Excel treats each combination of the three codes as unique and only counts each combo once. What I want to do is count the number of times those code appear together in any order. So really for the above, codes 2044, 2045 and 2048 are appearing with each other 6 times but excel is counting each unique combo of the 3 codes only once.
Is it possible to split each cell and order it lowest to highest like the below?
I have used this to split the string at each character, removing the pipe symbol but the sorting bit I can't figure out
=MID(SUBSTITUTE(B2," | ",""),SEQUENCE(,LEN(SUBSTITUTE(B2," | ","")),1),1)
Thanks in advance
A real head scratcher today.
I have codes like the below in the 'Rules Codes Triggered' column.
When I pivot this, Excel treats each combination of the three codes as unique and only counts each combo once. What I want to do is count the number of times those code appear together in any order. So really for the above, codes 2044, 2045 and 2048 are appearing with each other 6 times but excel is counting each unique combo of the 3 codes only once.
Is it possible to split each cell and order it lowest to highest like the below?
I have used this to split the string at each character, removing the pipe symbol but the sorting bit I can't figure out
=MID(SUBSTITUTE(B2," | ",""),SEQUENCE(,LEN(SUBSTITUTE(B2," | ","")),1),1)
Thanks in advance