+ Reply to Thread
Results 1 to 5 of 5

Can't figure out how apportion earnings in a period to daily (tried #SUMIFS function)

  1. #1
    Registered User
    Join Date
    07-10-2021
    Location
    GENEVA
    MS-Off Ver
    EXCEL FOR MAC MICROSOFT 365
    Posts
    80

    Can't figure out how apportion earnings in a period to daily (tried #SUMIFS function)

    I need to work out the daily salary cost by apportioning each workers earnings equally over the period he worked. I tried using the sumifs function, but can't figure out how to reference a cell in the "criteria".

    The desired result is shown in yellow on the uploaded spreadsheet.

    Screenshot 2021-11-27 at 15.52.11.png
    Attached Files Attached Files
    Last edited by TRICKYT57; 11-27-2021 at 10:54 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,605

    Re: Can't figure out how apportion earnings in a period to daily (tried #SUMIFS function)

    Syntax and cell references! Try this:

    =SUMIFS(F$2:F$5,B$2:B$5,"<="&A9,C$2:C$5,">="&A9)

    Copy down.

    You may need to change commas to semi-colons for your European locale.
    Attached Files Attached Files
    Last edited by AliGW; 11-27-2021 at 10:58 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,605

    Re: Can't figure out how apportion earnings in a period to daily (tried #SUMIFS function)

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  4. #4
    Registered User
    Join Date
    07-10-2021
    Location
    GENEVA
    MS-Off Ver
    EXCEL FOR MAC MICROSOFT 365
    Posts
    80

    Re: Can't figure out how apportion earnings in a period to daily (tried #SUMIFS function)

    Thank you AliGW. I have learned something about syntax. Thank you very much for answering! I had searched for hours the examples in the Excel online help and they didn't seem to cover the fact that I must put only the operater, "=>", in inverted commas, nor the fact that an ampersand is required before the logical cell reference.

    anyway the syntax is now known and I can insert it into my much bigger spreadsheet.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,605

    Re: Can't figure out how apportion earnings in a period to daily (tried #SUMIFS function)

    Happy to help.

+ 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. [SOLVED] Sumifs by name by period
    By BRISBANEBOB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-04-2020, 01:20 PM
  2. Splitting a monthly figure into daily sales
    By jananhk in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-12-2019, 06:41 PM
  3. [SOLVED] Formula to apportion costs over a time period
    By The_Snook in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-12-2017, 10:24 AM
  4. [SOLVED] Movement of figure from previous period
    By rooboyz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2013, 11:14 AM
  5. Daily Earnings
    By tyjorg in forum Excel General
    Replies: 7
    Last Post: 11-13-2011, 02:01 PM
  6. Replies: 3
    Last Post: 06-29-2010, 05:28 PM
  7. Looking for Daily Earnings Sheet
    By tiyoomedia in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-27-2008, 06:52 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