Formula Help

  • Thread starter Thread starter sh
  • Start date Start date
S

sh

I have 12 columns in a spreadsheet. One for every month of the year. As each
month is completed the data for that month goes in that column.

I need a fromula in a specific cell that will return the value of the most
recent column (month) that is filled in. So in July it returns the data for
July but will return the data for August when a value is placed in that
cell.

Any suggestions?

Thank you.

Steve Hubbard
 
Steve,

To return the right-most value from row 2 (Assuming your data start starts
in column A and extends to the right) use the array formula (entered with
Ctrl-Shift-Enter):

=INDEX(2:2,1,MAX((A2:L2<>"")*COLUMN(A2:L2)))

HTH,
Bernie
MS Excel MVP
 

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

Similar Threads

Reference Formula Help 1
Formula Help 2
Formula Help 1
Cell to return present month 4
Date Formula 1
Formula to sum columns based on # in Cell A1 8
Dynamic Formula Generation 1
counting dates using SUMPRODUCT 4

Back
Top