jrobin5881
Technical User
In Excel 2003 I have my data sorted so that it groups by row in column A. For instance A1= Smith, A2 = Smith, A3=Smith and then A4= Jones,A5 =Jones, etc etc. I want to shade the rows based on the grouping in the A column. In an empty column to the right in Column P i put a formula in that reads: =IF(OFFSET(A2,1,0)<>A2,1,) So that gave me groups of 1's and 0's. I tried doing conditional formatting that said If P2=1, then shade yellow. I added a second condition that said if P2=0 and made that color green. I'm expecting it shade the records one color or the other based on the value in the P column but that's not working. Any suggestions?