I'm working on a workbook that tracks monthly numbers, and also provides a yearly and quarterly summary for those months. The workbook has a Fiscal Year sheet, four quarterly sheets (named Q1-Q4), and 12 sheets for the months (Jul, Aug, Sep, Oct, etc). All of sheets in this workbook look identical.
Completing most of the Fiscal Year sheet is fairly simple, just use the formula =SUM(Jul:Jun!B3)
, which looks at all 12 monthly sheets and sums cell "B3". No problems there.
However, we have a backlog section that shows how far behind we are. For this number on the Fiscal Year sheet, I just want the number from the latest month of data. Since it's not a cumulative sum of all the months before, it's causing me issues.
I need a formula that will find the last non-blank cell in those 12 monthly sheets (they are in fiscal year order), and return just that cells value. The range for that formula would be Jul:Jun!B17
. So if March is the last months worth of data, and the backlog number for march is 56
, I want 56
to show on my Fiscal Year sheet.
I tried using
=LOOKUP(2,1/('Jul:Jun'!B17<>""),B17)
But it becomes this
=LOOKUP(2,1/('Jul:[June]June'!B17<>""),B17)
And returns a #REF!
error. Any ideas?
Thanks!
Jul:Jun!B17
supposed to mean? What is your worksheet name and what is the full range that you are trying to find the last non-blank cell? – JNevill