Rows() & Columns() permit the formula to be entered *anywhere*.
--
Regards,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Pete_UK" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you have a formula which goes across, you can use the COLUMN()
> function, like so:
>
> =VLOOKUP(A1,Sheet1!$A$1:$M$100,COLUMN(),FALSE)
>
> This would be entered in B1 of Sheet2, for example, and can be copied
> across to column M to return in each cell the corresponding column's
> data from the exact match of A1 with a lookup table of A1:M100 in
> Sheet1.
>
> A similar function acting vertically is ROW().
>
> Hope this helps.
>
> Pete
>
|