+ Reply to Thread
Results 1 to 4 of 4

List generation based on a Criteria

  1. #1
    Forum Contributor leo73pk's Avatar
    Join Date
    09-28-2006
    Location
    UAE
    MS-Off Ver
    2016, Microsoft 365
    Posts
    294

    List generation based on a Criteria

    I'm developing a spreadsheet which automatically generate a list based on a certain criteria. I have partially done the work i want but have a little problem in optimizing the issue.

    For reference i'm enclosing the spreadsheet with the data and requirement. Looking for a Solution.
    Attached Files Attached Files
    Last edited by leo73pk; 12-01-2010 at 06:04 AM.

  2. #2
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581

    Re: List generation based on a Criteria

    Hi,

    Not all that clear on what you're actually asking us for. As you indicated, it is fairly functional already. Could you try to explain what you need differently, hopefully it will provide a bit more clarity so we can help. What exactly are you trying to optimize?


    Also, if you don't mind, I'll make some suggestions for formula changes.

    1. This is just a conceptually simpler method to calculate which row that team starts on for the lower section.
    PHP Code: 
    D191  
    I19
    1
    D20
    : =IF($C$17-A19<=0,"",D19+($C$17-A19))
    I20: =IF($H$17-F19<=0,"",I19+($H$17-F19))
    .... and 
    copy them down
    2. Where you determine the match number, I'd recommend replacing the locations where you put 28 with ROW($A$28) for the first section and ROW($F$28) for the second section. The reason for this change is it gives you more flexibility. You can add rows above this lower section (or remove rows) without needing to adjust the formulas). Leaving in the 28, you would need to change the formulas anytime you make a layout change.
    PHP Code: 
    A29: =IF(ROW()-ROW($A$28)<=COMBIN($D$2,2),ROW()-ROW($A$28),"")
    F29: =IF(ROW()-ROW($F$28)<=COMBIN($I$2,2),ROW()-ROW($F$28),"")
    .... and 
    copy them down
    Of course, it could just be me that doesn't understand. :-)
    S
    Last edited by Maistrye; 12-01-2010 at 01:57 AM.
    ------------------------------------------------------------------------------------------
    If you need no more help on the current problem, please mark it as "Solved". It saves time
    as many of us will look at threads if they are not marked as "Solved".

    The instructions on how to do this are found in the Forum Rules thread that is at top of every forum.
    (Currently you'll have to look at point #9.)
    ------------------------------------------------------------------------------------------

  3. #3
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    157

    Re: List generation based on a Criteria

    Maybe...
    In A5 filled down to A12...
    =IF(ROW(A1)<=$D$2,ROW(A1),"")

    In B5 filled down to B12...
    =IF(A5<>"",VLOOKUP(A5,$L$31:$N$38,2),"")

    In F5 filled down to F12..
    =IF(ROW(F1)<=$I$2,ROW(F1),"")

    In G5 filled down to G12...
    =IF(F5<>"",VLOOKUP($F5,$L$31:$N$38,3),"")

    Beau Nydal

  4. #4
    Forum Contributor leo73pk's Avatar
    Join Date
    09-28-2006
    Location
    UAE
    MS-Off Ver
    2016, Microsoft 365
    Posts
    294

    Re: List generation based on a Criteria

    Dear Maistrye and Beau Nydal,

    Thanks for your guidance and help. By applying your formulas at appropriate places i got the desired result.

    Regards

+ 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