With the data below starting in row 2 put in C2
=IF(A2=A1,C1&" "&B2,B2)
Now conditionally format C2 and choose the formula is option and
enter
=$A2=$A3
set the font colour to white, or whatever is the colour of your
background and copy C2 down your data
All the cells in column C of course contain data, it's just that you
can't see the other cells.
What you see is the following. It's not quite the same as your exact
requirement which is to have the data on the first row of a 'block' of
similar A values, but you may be able to work with this.
A VBA macro could be written to meet your originally requirement
exactly. If that's what you want just re-post back
HTH
123 R1
123 R2
123 R3
123 R4 R1 R2 R3 R4
124 L1
124 L2
124 L3 L1 L2 L3
125 C1
125 C2 C1 C2
>Dear,
>
[quoted text clipped - 25 lines]
>BR
>Valley
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
Valley - 25 Aug 2006 18:51 GMT
Thank you very much! this is a good way. :-)
BR
Valley
> With the data below starting in row 2 put in C2
> =IF(A2=A1,C1&" "&B2,B2)
[quoted text clipped - 62 lines]
> Grappenhall, Cheshire, UK
> __________________________