View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
L. Howard Kittle
 
Posts: n/a
Default Need formula for last cell filled in on a row

I found this will "smarten up" your workbook to do that.

=LOOKUP(2,1/(Sheet1!1:1),Sheet1!1:1)

I have studied it a bit and I cannot figure out the logic as given by the
function wizard.

This works for the vertical, seems you have to specify the range.

=LOOKUP(2,1/(Sheet1!A1:A20),Sheet1!A1:A20)

HTH
Regards,
Howard

"Calculation of Text" wrote in
message ...
I have linked worksheets where there is a row of values on one sheet where
a
person's weight is entered (eg., each column is a week and there is a
weight
entered for each week for 12 weeks).

We want the other worksheet to just show the latest entry, so that it can
be
printed and sent out.

How can I make this Workbook "smart" enough to know?