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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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