+ Reply to Thread
Results 1 to 4 of 4

Sum value from differents fields of a list

  1. #1
    Registered User
    Join Date
    05-06-2020
    Location
    Spain
    MS-Off Ver
    16
    Posts
    2

    Sum value from differents fields of a list

    Hi! I am creating an excel chart as a calendar to impute the time I spend on each project in each day (in this example the projects are AAAA, BBBB, CCCC, although there are really many more cases due to sub-tasks, etc.).

    For each day I can choose in each row by means of a drop-down menu the project or task that I have done and then I put the time dedicated.

    img1.png

    The list of projects and tasks that the drop-down list contains is on a different sheet.

    What I would like to do next is to have the total sum of the time dedicated to each project in the month, in the separated sheet where I have the list of projects.

    img2.png

    The way I've tried it is through the function: SUM.YES but I'm left with a very long function so I'd like to ask if there's an easier way to do it.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sum value from differents fields of a list

    If each task always takes the same amount of time, try a countif() for each item, then use vlookup to find it's time...multiply the count by the time
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-06-2020
    Location
    Spain
    MS-Off Ver
    16
    Posts
    2

    Re: Sum value from differents fields of a list

    Each task takes different amount of time
    Last edited by rafalu; 05-07-2020 at 06:22 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sum value from differents fields of a list

    Yes, I get that each type of task takes different times, but the same task takes the same time, yes?

    upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

+ 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. for differents dates different colours
    By beepetark in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-25-2019, 12:45 PM
  2. [SOLVED] Return list of Multiple Value from differents Cells in the same Column
    By carrjonn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-05-2018, 05:38 PM
  3. Compare two value of two differents lines
    By zeh212 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2018, 05:37 AM
  4. Manage differents access regarding to who is the user
    By AllanHub in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-23-2017, 05:37 AM
  5. [SOLVED] Two differents sums
    By barrowinfurnace in forum Excel General
    Replies: 4
    Last Post: 04-18-2016, 12:24 PM
  6. [SOLVED] Sum differents worksheets
    By luizmachado in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-02-2016, 11:53 AM
  7. [SOLVED] Differents dates in differents sheets
    By luizmachado in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2016, 12:57 PM

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