Smiley,
If you are to do this with formulas you will need an extra column in
a.xls. In E2 of a.xls enter:
=IF(A2<>"",A2,E1)
This will fill column E:E with dates. Now, in B2 of b.xls:
=IF(ISNA(MATCH(1,('[a.xls]Sheet1'!$E$2:$E$20=$A2)*(VALUE('[a.xls]Sheet1'!$C$2:$C$20)=VALUE(LEFT(B$1,FIND("
",B$1)-1))),0)),"",MATCH(1,('[a.xls]Sheet1'!$E$2:$E$20=$A2)*(VALUE('[a.xls]Sheet1'!$C$2:$C$20)=VALUE(LEFT(B$1,FIND("
",B$1)-1))),0))
This is an *array* formula, hence you have to use Ctrl+Shift+Enter to
enter it.
HTH
Kostis Vezerides
> Thank you Vezerid,
>
[quoted text clipped - 81 lines]
> >>
> >> Rach
Bill Ridgeway - 15 Jan 2007 17:00 GMT
I've only just seen this thread so apologies if I am duplicating what has
already been said.
You already have a transpose facility in Excel -
highlight the data to be transposed
click on <Edit><Copy>
take the cursor to start cell where you want the data to be
click on <Edit><Paste special><Transpose><OK>
Regards.
Bill Ridgeway
Computer Solutions
> Smiley,
>
[quoted text clipped - 104 lines]
>> >>
>> >> Rach