+ Reply to Thread
Results 1 to 17 of 17

COUNTIF/SUMIF items list or Summary of the data

  1. #1
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Post COUNTIF/SUMIF items list or Summary of the data

    Hello,

    I have an excel with a lot of data (below listed is just a small portion of it).
    In this excel, my primary objective is to find the EFFORT by each RESOURCE to each PROJECT.
    If i use SUMIF, i get the total effort for each resource easily.
    However, I want to know list the PROJECTS and respective EFFORT for each RESOURCE (if effort for a particular PROJECT has zero EFFORT by an associate, then that project need not be listed)

    Below is the sample of the data I have. Full sheet has too many values like this (one more reason why i don't want the PROJECT that zero EFFORT by an associate need not be listed)

    For some reason, i am unable to attache the file, so I am listing the data as below & the picture with yellow cells is how i would like the result to be. Thanks in advance for your time.

    Task Project Priority Resource Status Effort
    CAD P-01234 Medium Ramesh In Progress
    CAD P-01235 Low Krish In Progress
    CAD P-01236 Medium Mani Completed 3
    CAD P-01237 High Mani In Progress 3
    CAD P-01238 Medium Mani In Progress
    CAD P-01239 Medium Mani In Progress 3
    Design P-01240 Medium Mani In Progress 4
    CAD P-01250 Medium Mani In Progress
    Report P-01251 Medium Mani Completed 12
    Design P-01252 Medium Mani In Progress 34
    Report P-01253 Low Krish In Progress 45
    CAD P-01239 Medium Mani On Hold
    CAD P-01240 High Mani Completed 34
    Report P-01247 High Mor Completed
    Report P-01248 Medium Mor In Progress 6
    Design P-01249 Medium Mor In Progress
    CAD P-01250 High Mor In Progress 99
    CAD P-01251 Medium Mor In Progress 1
    CAD P-01252 High Mor Completed 2
    CAD P-01253 Low Krish In Progress 23
    CAD P-01254 Medium Krish On Hold 34
    Design P-01255 Medium Ramesh Completed 45
    Report P-01256 High Mor In Progress 34
    Design P-01257 Medium Mani Completed
    Report P-01237 Medium Ramesh Completed 23
    CAD P-01238 Medium Mor Completed
    CAD P-01239 High Bari Completed 8
    CAD P-01250 Medium Bari Completed
    CAD P-01251 Medium Bari Completed 23
    CAD P-01252 Medium Suba In Progress 2
    Design P-01253 Medium Suba In Progress
    Report P-01265 Medium Suba In Progress 4
    Design P-01265 Medium Suba In Progress 5
    CAD P-01265 Medium Suba In Progress 4


    Table.png
    Desired result.png

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: COUNTIF/SUMIF items list or Summary of the data

    Hi and welcome
    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Post Re: COUNTIF/SUMIF items list or Summary of the data

    Hello,

    Thanks for the guidance. I have now attached the Excel.
    The yellow cells shown in Excel is the dummy result that i want to achieve. Thanks.
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: COUNTIF/SUMIF items list or Summary of the data

    I don't get the logic between the Resource and the Effort?
    I can only find Ramesh in three Projects, but your required answer lists 7

  5. #5
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Re: COUNTIF/SUMIF items list or Summary of the data

    Sorry,
    My mistake. The numbers in the results table for Ramesh was completely made up since i just wanted to show how the results should show up.
    Now, i have added the results table for SUBA which is based on the values in the table. Hope this makes sense. Thanks.
    Attached Files Attached Files

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: COUNTIF/SUMIF items list or Summary of the data

    Please try at I22 and drag down

    =SUMIFS(F:F,B:B,H22,D:D,H$21)

  7. #7
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Re: COUNTIF/SUMIF items list or Summary of the data

    Hello Bo_Ry,

    With the formula you provided, i get the totals for each of the projects. However, i do not know the projects related to an associate to begin with. I only know the resource name.
    If i use COUNTIF (some thing like this --> COUNTIF($K$24:$K$2999,AD19,$N$24:$N$2999,"<>"), i get the total number of columns for a resource that have efforts in them.
    Now, i want to know the project numbers in these 7 rows and then check if some of these projects are same (just like the last 3 rows in the excel that i have attached). If not, then i want to list all these projects and the efforts against each of these projects.
    If the project numbers repeat, then i want to show that project only once & all the effort against that also once. That is what i have done with the dummy result for Suba.
    Thanks

  8. #8
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Post Re: COUNTIF/SUMIF items list or Summary of the data

    In the attached Excel, i have put in the COUNTIFS & SUMIF to get the number of rows which have effort values for a particular resource & total effort for a resource respectively.
    As mentioned earlier, i want to know the project numbers in these 6 rows and then check if some of these projects are same (just like the last 3 rows in the excel that i have attached). If not, then i want to list all these projects and the efforts against each of these projects.
    If the project numbers repeat, then i want to show that project only once & all the effort against that also once. That is what i have done with the dummy result for Suba.

    Thanks for your help in advance.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-18-2018
    Location
    Canberra
    MS-Off Ver
    MS Excel 2016
    Posts
    6

    Re: COUNTIF/SUMIF items list or Summary of the data

    What about a grid, project ID down, individual resort across? Then SUMIFS does the job.
    Attached Files Attached Files

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: COUNTIF/SUMIF items list or Summary of the data

    Please try
    I2
    =IFERROR(INDEX($B$5:$B$999,MATCH(1,INDEX(($D$5:$D$999=$H$2)/NOT(COUNTIF(I$1:I1,$B$5:$B$999)),),)),"")

    J2
    =SUMIFS(F:F,B:B,I2,D:D,H$2)

    Or Pivot Table
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Re: COUNTIF/SUMIF items list or Summary of the data

    Hi Bo_Ry,

    Thanks for your help. Pivot table may work. I will try on the actual data (it is not well structured as the table i provided but nonetheless, i have a general idea now).

  12. #12
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Re: COUNTIF/SUMIF items list or Summary of the data

    Hi Bo_Ry,

    The functions work better that the Pivot table for me. However, i don't want the projects which have effort "0" showing. How do i accomplish that?

  13. #13
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: COUNTIF/SUMIF items list or Summary of the data

    Set custom format to #

  14. #14
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Re: COUNTIF/SUMIF items list or Summary of the data

    When i set the custom format to #, Wherever the effort is 0, that does not show up. However, the project number still shows up (in column J) as shown in the picture.
    I do not want the project number to show up either because there are too many project where the effort is not that and if all of them show up, it will just eat the real estate on the spreadsheet.

    2019-02-12_11h37_12.png

  15. #15
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: COUNTIF/SUMIF items list or Summary of the data

    Please try I2

    =IFERROR(INDEX($B$5:$B$999,MATCH(1,INDEX(($D$5:$D$999=$H$2)*($F$5:$F$999<>"")/NOT(COUNTIF(I$1:I1,$B$5:$B$999)),),)),"")

  16. #16
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: COUNTIF/SUMIF items list or Summary of the data

    I feel that, go with simple pivot table. You can also find that project status & their priority. In addition apply CF. Refer attach file.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  17. #17
    Registered User
    Join Date
    02-11-2019
    Location
    Bangaore
    MS-Off Ver
    2016
    Posts
    16

    Re: COUNTIF/SUMIF items list or Summary of the data

    It worked
    Thank you very very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Summary Table report from list of items with grade?
    By richyrich92 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2016, 12:43 PM
  2. [SOLVED] Extracting summary list of larger list showing only items that have quantities
    By BenjaminRCP in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-14-2014, 01:01 PM
  3. Using COUNTIF with a Range or List of Data Items
    By mrtn1969 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2013, 08:07 PM
  4. Replies: 1
    Last Post: 05-09-2013, 02:05 AM
  5. Countif count items not in data range
    By jbanton in forum Excel General
    Replies: 1
    Last Post: 05-15-2006, 07:35 PM
  6. Data Validation: items in one list relate to items in another
    By Paul D. Simon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2005, 05:05 PM
  7. Replies: 1
    Last Post: 06-24-2005, 12:21 AM

Tags for this Thread

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