+ Reply to Thread
Results 1 to 2 of 2

Calculate based on dates and names from the other table

  1. #1
    Registered User
    Join Date
    12-09-2021
    Location
    Melbourne
    MS-Off Ver
    365
    Posts
    7

    Calculate based on dates and names from the other table

    Hi! I'm wondering if there is a way to calculate the total time taken by Name and Date.
    I'm creating a separate UserForm ( Sheet 1: Click to calculate efficiency) to search for specific name and date and calculate a certain figure. Once the search button (cmdSearch) is clicked, the textbox for total review DHR (txtDHR) will immediately show the number. At the same time, if it is possible I would like the spreadsheet to automatically update itself at the total review DHR. The date stated will be everyday of the month, for example 2021-10-01, 2021-10-02 and etc , and I would need to do it for every name listed. I'm not very good at explaining so I'm uploading the excel sheet below with the codes and formula.

    If I'm missing any important details, do let me know. Thanks in advance!

    I'm sorry I didnt realise we're not supposed to cross post on multiple website, here is the link where I post the question on MrExcel.com: "mrexcel.com/board/threads/search-data-and-calculate-with-vba-userform.1189762/"
    Attached Files Attached Files
    Last edited by JustoneE; 12-09-2021 at 11:54 PM.

  2. #2
    Registered User
    Join Date
    12-15-2021
    Location
    Seoul, South Korea
    MS-Off Ver
    Office 365
    Posts
    12

    Re: Calculate based on dates and names from the other table

    Hi,

    Just downloaded attached file and simply found out argument mistake of SUMIF function.
    You can use function like: '=SUMIF(B11:B19, "Peter", F11:F19)' => sum of Time Taken by Peter, '$I$9' instead of "Peter" for formula.

    Regards,

+ 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. Replies: 1
    Last Post: 09-20-2020, 05:43 PM
  2. [SOLVED] How to calculate the number of merged cells based on their names
    By wk9128 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-18-2020, 01:34 AM
  3. Calculating due dates based on names
    By zed369 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2018, 03:52 PM
  4. Calculate Number of Days Between Dates -- Hundred of Rows/Multiple Names
    By Baddassb in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2017, 01:06 AM
  5. Replies: 12
    Last Post: 08-05-2015, 05:15 PM
  6. From A Table Of Names And Birth Dates Pull A List Of Names As Of A Reference Date And Ther
    By rahuleyes in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 17
    Last Post: 11-27-2014, 03:44 PM
  7. Replies: 5
    Last Post: 08-26-2009, 11:51 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