excel spreadsheet

  • Thread starter Thread starter joec
  • Start date Start date
J

joec

Is there a formula I can use to return the most recent months value.

For exmple I have in col A all 12 months jan to dec. In col B numerical
data. I want to be able to bring the current months number to a specific cell
that will chg each time the next months data is entered.
 
Is there a formula I can use to return the most recent months value.
For exmple I have in col A all 12 months jan to dec. In col B
numerical data. I want to be able to bring the current months number
to a specific cell that will chg each time the next months data is
entered.

If the numbers are positive and there are no gaps, this might help:
=OFFSET(B1,COUNTIF(B1:B12,">0")-1,0)

Modify to suit.
 
I don't think I was clear:

For example: Jan 50
Feb 49
Mar
Apr

XX (is there a formula that will
return 49 as a value in cell xx? And then return a new value if data added to
cell next to march?)
joec
 
Thank You...you saved me hrs of work.
--
joec


MyVeryOwnSelf said:
If the numbers are positive and there are no gaps, this might help:
=OFFSET(B1,COUNTIF(B1:B12,">0")-1,0)

Modify to suit.
 
Hi

Assuming your values will be in cells b1:B12
=LOOKUP(99^99,B1:B12)
will give you the last value entered in that range.
 

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

Back
Top