+ Reply to Thread
Results 1 to 12 of 12

Get the Highest Count

  1. #1
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Get the Highest Count

    Hello, formula or macro is okay. i just want to get the task name with the highest count of resource(s). Resource count should be not "blank" or greater than "0" otherwise it is not counted.


    You can display the result in Sheet2. Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Get the Highest Count

    Okay.. but why not put a column in sheet 1 to calculate the total count per task and basis that you can fetch the associated task name ?


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Get the Highest Count

    Hi DiliPandey, inserting column in Sheet1 is also okay, can you help me with that?

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Get the Highest Count

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See the attached file where I included a new column on the right side of your data, then results are extracted on sheet2 :-

    resource.xlsx

    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Get the Highest Count

    When i tried to change the values of resource in Sheet1, it still displaying task "PS-EXP-ITPCWA".

    I've updated the attached file. It should be "PS-BAS-DLM00". Task the highest resource assigned, not count. Sorry.
    Attached Files Attached Files

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Get the Highest Count

    what makes "PS-BAS-DLM00" makes eligible ?


    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Get the Highest Count

    It's just an example. I've only updated that task that't why i mention it. nothing special on it .

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Get the Highest Count

    I am still not getting it.. I just need a logic which clarifies what (sum / count) makes any task eligible to be extracted.. can you show an example.. ?



    Regards,
    DILIPandey
    <click on below * if this helps>

  9. #9
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Get the Highest Count

    Sorry for confusion.

    Resources Column = from L3 - AG3

    Every Task name has resources assigned. For example Task "PS-BAS-10GIR" has resources of PM=1,SA=0,IS=8.25. For this example, there are only two resources assigned, because SA is "0".

    I just want to know what task is with the highest resources assigned ("0" and blanks are not counted).

  10. #10
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Get the Highest Count

    PM=1,SA=0,IS=8.25
    so the total count for this row will be 2 after ignoring 0s and blanks.. and basis this we can fetch out the associated task name..correct?

    Try using below formula:-
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Enter with ctrl shift enter key combination.

    see attached:- resource.xlsx


    Regards,
    DILIPandey
    <click on below * if this helps>

  11. #11
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Get the Highest Count

    Perfect! Thanks Dilipandey

  12. #12
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Get the Highest Count

    Cheers

    you are welcome



    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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