79289851

Date: 2024-12-18 02:49:13
Score: 0.5
Natty:
Report link

I'm not sure what the best way to do draw this on SO, but basically, you want to compare adjacent cells and increment if same and reset to 1 if not, right?

A1: "Apple"          B1: 1
A2: "Apple"          B2: =if(A2=A1, B1+1, 1)
A3: "Apple"          B3: =if(A3=A2, B2+1, 1)
(and so on)
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: mankowitz