• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Middle Column

Sophanith

New Member
Dear Team,

We have a question on have to get the data on how to get the data in the middle column in a range and the example is below. Excel format is in attached file
61502

Thanks

Phanith
 

Attachments

A different strategy
Let the Name 'amount.date' refer to the dates associated with non-blank amounts
= IF( amount>0, date )
Calculate the second latest such date
= LARGE( amount.date, 2 )
and lookup the corresponding amount by date
= LOOKUP( LARGE(amount.date, 2), date, amount )
If the penultimate month is blank, the formula simply moves to the previous month for which there is an amount.
 

Attachments

Back
Top