Results 1 to 3 of 3

adding two time variables to an existing formula

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    539

    adding two time variables to an existing formula

    I am using an array sumifs formula to add up all the data that meets two criteria. the criteria are a persons name and the date. n The formula is working great but I need to add two more variable to the mix. What I am returning is the total pcs picked during the day. I need to break that down to hour increments. So, instead of the total number picked today i need the amount picked during hour one, hour two, hour three and so on.

    I thought the best way to do this was to add an if logic test to the back of the formula saying if the time is greater than or equal to this time and lesser than or equal to this time then sum the data to return the number. The formula is missing something however. I am not proficient enough yet to correct the problem.

    This is the formula I am trying to create.
    =SUMIFS('SAP Data'!$K$2:$K$1048575,'SAP Data'!$A$2:$A$1048575,C4,'SAP Data'!$J$2:$J$1048575,F4)IF('SAP Data'!$K$2:$K$1048575,<=Sheet2!A6,IF('SAP Data'!K2:$K$1048575,>=Sheet2!B6))
    The formula is in A8 on the sheet2 page of the workbook.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adapting this existing formula with less variables?
    By Weaselwithagun in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2019, 11:21 AM
  2. Replies: 3
    Last Post: 01-13-2016, 12:05 PM
  3. adding to existing formula
    By jryoung91 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2015, 09:39 AM
  4. Adding another formula to an existing one
    By JakeMann in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2014, 08:22 AM
  5. Adding to an Existing Formula
    By jcl6543 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2014, 12:58 AM
  6. [SOLVED] Adding minutes to existing time in a cell
    By VKS in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-24-2013, 02:24 AM
  7. Adding to 2 existing formula
    By cmackay1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2012, 05:14 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