+ Reply to Thread
Results 1 to 20 of 20

Extracting certain data depending on criteria

Hybrid View

  1. #1
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Extracting certain data depending on criteria

    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.

  2. #2
    Forum Contributor
    Join Date
    01-29-2008
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    237

    Re: Extracting certain data depending on criteria

    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
    Attached Files Attached Files
    Last edited by drgogo; 09-10-2009 at 08:51 AM. Reason: Forgot to upload example

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Extracting certain data depending on criteria

    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...

    =IF(O2="Y",MAX(R$1:$R1)+1,0)
    copied down.

    then in the "fixed" Frequent Service sheet R1, add formula:

    =Max('Timetabled Service'!R:R)
    and in R2, copied down:

    =IF(O2="Y",MAX(R$1:$R1)+1,0)
    In G1 of DDA sheet..

    =Max('Frequent Service'!R:R)
    and in A3:

    =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))))

  4. #4
    Forum Contributor
    Join Date
    01-29-2008
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    237

    Re: Extracting certain data depending on criteria

    Sorry about that, reposted with second sheet unlocked.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1