Google sheets: Identify presence of difference texts across DIFFERENT cells, per group

Corp_exceller

New Member
Joined
Aug 7, 2022
Messages
19
Office Version
  1. 2013
Platform
  1. 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.
CodeLevelProgression
1AA TO B
1AA TO B
1AA TO B
1AA TO B
1BA TO B
2BB ONLY
2BB ONLY
3AA ONLY
4AA TO B
4BA TO B
4BA TO B
5AA ONLY
5AA ONLY

Please see issue here. Any suggestions as a replacement?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top