Try then in first cell:
=IF(L3>0,INDEX(INDEX(J:J,IF(ROW()>100000,ROW()-100000,ROW())):J2,L3,1),"")
copied down.
Try then in first cell:
=IF(L3>0,INDEX(INDEX(J:J,IF(ROW()>100000,ROW()-100000,ROW())):J2,L3,1),"")
copied down.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
NBVC - thanks again but it doesn't work.
At row 100,001 and beyond it works fine but at rows 3 :100,000 it produces #REF! with the tag "Invalid Cell Reference Error"
Maybe it isn't possible to achieve ??
Big thanks
Colwyn..
At row 100001 and below, you want the start cell of the range (which is J1 through row 100000) to start incrementing down (J2, J3, ...)?
Last edited by shg; 03-02-2009 at 08:19 PM.
Entia non sunt multiplicanda sine necessitate
Try this formula in M3 copied down
=IF(L3>0,INDEX(INDEX(J:J,MAX(1,ROW()-100000)):J2,L3,1),"")
You might still get a #REF! error because it depends on the values in column L. If the value in L is >= than the row number (or > 100000 past row 100000) you'll get a #REF! error
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks