Please post a new sample workbook showing your requirements...
Please post a new sample workbook showing your requirements...
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.
Sorry, thought it may of been easy..
Have post another example workbook, its the same as the lastone but witht he second page added, as you will see the second page is of a disfferent format
Hope this help
And thank your for all your help
G
Last edited by drgogo; 09-10-2009 at 08:51 AM. Reason: Forgot to upload example
Your second worksheet is protected so can't test...but
In order to create a single formula that you can copy down and be able to extract from both sheet, it would be advisable to have the same setup in both sheets...
Then...
You would apply the same helper formula in R2 of Timetabled Service sheet...
copied down.![]()
=IF(O2="Y",MAX(R$1:$R1)+1,0)
then in the "fixed" Frequent Service sheet R1, add formula:
and in R2, copied down:![]()
=Max('Timetabled Service'!R:R)
In G1 of DDA sheet..![]()
=IF(O2="Y",MAX(R$1:$R1)+1,0)
and in A3:![]()
=Max('Frequent Service'!R:R)
![]()
=IF(ROWS($A$1:$A1)>$G$1,"",IF(ISNUMBER(MATCH(ROWS($A$1:$A1),'Timetabled Service'!$R:$R,0)),INDEX('Timetabled Service'!D:D,MATCH(ROWS($A$1:$A1),'Timetabled Service'!$R:$R,0)),INDEX('Frequent Service'!D:D,MATCH(ROWS($A$1:$A1),'Frequent Service'!$R:$R,0))))
Sorry about that, reposted with second sheet unlocked.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks