Hello Seniors
Background
1) Rows 1 to 11 should remain static and not be disturbed.
2) Data range starts from B12 and keeps expanding IN Column B
3) Cell B4 finds the last value appearing in Data range B12:B5000 (assumed, max data rows could exapnd upto 5000)
4) Cell A7 is controller which indicates how many rows up from last cell (Bottom) presently, B35, it should look up
What is required / Help re
5) Formula needed in B6 to find how many times B4 value in previous rows [Controller A7 ] occurs,
6) For understanding purpose, Yello cells are manually highlighted for evaluation purpose i.e. 20 = A7
So, Result in Cell B6 should be 12. What is 12 is ...12 times, data in range B15:B34 occured, that is, last 20 rows (referred in A7) , were less than value of last cell shown in B6
Sample workbook (MS-Excel 2010 version) attached.
I am unable to figure it out how to get this as data keeps on expanding, and similar data would be there in adjoining columns on right.
Simple soultion (assuming data range would have remained static, and no need to lookback how many [n] rows up from last cell, result could have easily been achieved using formulagiven in cell B9 currently.Please Login or Register to view this content.
Bookmarks