Corp_exceller
New Member
- Joined
- Aug 7, 2022
- Messages
- 19
- Office Version
- 2013
- Platform
- Windows
I have the below data and want to see how I can achieve the last column, in google sheets. I was given an excel solution in a different thread but unfortuunatelt the AGGREGATE function is non existent in google sheets. The excel solution given is:
=IF(A2=A1,C1,SUBSTITUTE(B2&" TO "&INDEX(B:B,AGGREGATE(14,6,ROW(B2:B$100)/(A2:A$100=A2),1)),"TO "&B2,"ONLY"))
Please see thread here. Any suggestions as a replacement?
Basically wanting to check for text down a column and per code so for example, I'm not looking for cells that contain "A" and "B" in the one cell, I'm looking for "A" and "B" across cells i.e. groups of codes, so that I can identify whether e.g. Code 1 has gone from A to B (presence of A and B in levels), or whether it's just stayed at A (presence of just A in levels), or whether the code has skipped level A and gone to B (presence of only Bs in level).
Apologies if I've been unclear.
Please see issue here. Any suggestions as a replacement?
=IF(A2=A1,C1,SUBSTITUTE(B2&" TO "&INDEX(B:B,AGGREGATE(14,6,ROW(B2:B$100)/(A2:A$100=A2),1)),"TO "&B2,"ONLY"))
Please see thread here. Any suggestions as a replacement?
Identify presence of difference texts across DIFFERENT cells, per group
I have the below data and want to see how I can achieve the last column. Basically wanting to check for text down a column and per code so for example, I'm not looking for cells that contain "A" and "B" in the one cell, I'm looking for "A" and "B" across cells i.e. groups of codes, so that I...
www.mrexcel.com
Basically wanting to check for text down a column and per code so for example, I'm not looking for cells that contain "A" and "B" in the one cell, I'm looking for "A" and "B" across cells i.e. groups of codes, so that I can identify whether e.g. Code 1 has gone from A to B (presence of A and B in levels), or whether it's just stayed at A (presence of just A in levels), or whether the code has skipped level A and gone to B (presence of only Bs in level).
Apologies if I've been unclear.
Code | Level | Progression |
1 | A | A TO B |
1 | A | A TO B |
1 | A | A TO B |
1 | A | A TO B |
1 | B | A TO B |
2 | B | B ONLY |
2 | B | B ONLY |
3 | A | A ONLY |
4 | A | A TO B |
4 | B | A TO B |
4 | B | A TO B |
5 | A | A ONLY |
5 | A | A ONLY |
Please see issue here. Any suggestions as a replacement?
Identify presence of difference texts across DIFFERENT cells, per group
I have the below data and want to see how I can achieve the last column. Basically wanting to check for text down a column and per code so for example, I'm not looking for cells that contain "A" and "B" in the one cell, I'm looking for "A" and "B" across cells i.e. groups of codes, so that I...
www.mrexcel.com