+ Reply to Thread
Results 1 to 5 of 5

Formula direction needed

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Cape Girardeau, MO
    MS-Off Ver
    Excel 2007
    Posts
    18

    Formula direction needed

    I have a simple spread sheet that I am looking for the the information to be displayed:

    Date, mechanic and the total time per day.

    I have tried a sum if formula and it doesnt seem to work because of the date.

    I am not sure if a sum product or a sum if with a vlookup formula will work. I cannot seem to get the sum if with a vlookup to work when I enter it in. It tells me that I have too less of arguments and errors out.

    I have also thought of a pivot table as well.

    Could someone try to help guide me in a direction that would work?

    Thank you for your help.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,735

    Re: Formula direction needed

    Two immediate things stand out when I opened your file:

    a. The "dates" that you have in cells A2:A16 are text values rather than dates that Excel recognises.

    b. The ranges in your SUMIF formula in N3 should be the same, e.g.:

    =SUMIF(C2:C32,"*"&M3&"*",K2:K32)

    but as your data extends down to row 47, the references should be changed to cover all your data.

    However, even after those changes are made I'm not really sure what you are trying to do - do you want to sum the hours by the mechanic in cell M3 which occur between the start date and end date?

    Hope this helps.

    Pete

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,212

    Re: Formula direction needed

    Try in O3

    =SUMIFS($K$2:$K$32,$A$2:$A$32,$N$5,$C$2:$C$32,"*"&M3&"*")

  4. #4
    Registered User
    Join Date
    04-09-2013
    Location
    Cape Girardeau, MO
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Formula direction needed

    Pete,

    Thank you for the quick replay. I have changed the format of the times, and yes I would like to show the mechanic time on the other page that would be for that specific date.

  5. #5
    Registered User
    Join Date
    04-09-2013
    Location
    Cape Girardeau, MO
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Formula direction needed

    I beleive that this one would work the best. I beleive that I would be able to modify it to show those results on a different page as well. Thank you all for the replies. Slainte!

+ 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. Right Direction
    By JackGu in forum Excel General
    Replies: 6
    Last Post: 08-11-2020, 08:07 AM
  2. Replies: 3
    Last Post: 04-28-2020, 11:46 AM
  3. date formula help needed with blank cell and monthly assumtions formula needed
    By Michael.Howarth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2018, 07:47 AM
  4. Formula excel - the length and direction of the shadow
    By milek66666 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-18-2016, 04:18 AM
  5. [SOLVED] Formula to show Direction of Travel with an Arrow
    By IN_FOR_SIN in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2015, 10:17 AM
  6. Replies: 7
    Last Post: 03-17-2014, 10:58 AM
  7. Replies: 4
    Last Post: 12-28-2005, 04:03 PM

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