(Semi-)Automatic cell selection in calculations

P

Peter Atherton

JK

Try this =SUMIF($B$11:B15,TEXT(B16,1),$D$11:D15)

Where B11:B15 is the list of companies for the last year
B16 is the company name for this year
and D11:D15 is the last years value

Regards
Peter
-----Original Message-----
I have a data set for a range companies spanning years
1998-2004. However, some values for 2004 are not yet
available. Is there an expression that means a formula
will automatically use the final 3 figures from all the
years i.e. detect whether the 2004 values have been input
yet, and if not, use the figures from 2003 back instead?
 

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