incrementing on inserrt row

B

Becky

In the following code, how can i get the numbers 54 to
automatically increment to 55when i insert a new line. For
some reason this does not happen, however, the number 63
does increase to 64.

=HLOOKUP('Project Summary'!B1,OFFSET('Associates Hours
(actuals)'!$S$5:$AD$63,0,0,COUNTA('Associates Hours
(actuals)'!$S$5:$AD$63)),54,TRUE)*30

Many thanks
Becky
 
D

Don Guillett

because 54 is not a cell address. Try using indirect and rows() as in:
=SUM(INDIRECT("b2:b"&ROWS(3)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top