+ Reply to Thread
Results 1 to 9 of 9

Sum value in the corresponding dates.

  1. #1
    Registered User
    Join Date
    07-23-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    63

    Sum value in the corresponding dates.

    Dear Friends -

    I need your assistance again!
    I have attached a sample excel sheet - I need to perform the following:

    Sum total value (By category breakfast, lunch and dinner) of all values to the corresponding dates, until till date and minus the corresponding value of the latest date.
    Which is sum values from Mar 1 to Mar27 and Minus value of Mar-27.

    Thanks in advance for your usual support.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sum value in the corresponding dates.

    Try this in C7 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    07-23-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Sum value in the corresponding dates.

    Hi Dave -
    Did my response reached you?

  4. #4
    Registered User
    Join Date
    07-23-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Sum value in the corresponding dates.

    Dear Dave -

    I need to perform this calculation everyday.
    i.e. total until the current date and minus the current date
    (or) total until current date and minus a day before.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Sum value in the corresponding dates.

    Sum all days (C7 copied down):

    =SUM(G7:AK7)

    Sum all days, excluding today (D7, copied down)

    =SUM(G7:AK7)-INDEX(G7:AK7,MATCH(TODAY(),$G$4:$AK$4,0))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Sum value in the corresponding dates.

    Try:

    =SUMIFS($G7:$AK7,$G$4:$AK$4,">="&"3/1/2017",$G$4:$AK$4,"<"&TODAY())

  7. #7
    Registered User
    Join Date
    07-23-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Sum value in the corresponding dates.

    Thanks Glenn!

  8. #8
    Registered User
    Join Date
    07-23-2013
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Sum value in the corresponding dates.

    Thanks Phuocam!
    Just added -1 next to today and it worked

    Kind regards

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Sum value in the corresponding dates.

    Glad to have helped!

+ 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. Populating list of dates from another sheet with Start Dates and End Dates
    By Jesshloly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2015, 04:07 AM
  2. Check dates in range either same dates or different dates by formula
    By breadwinner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 07:42 AM
  3. Replies: 7
    Last Post: 05-02-2013, 09:50 PM
  4. Replies: 6
    Last Post: 03-11-2013, 06:11 PM
  5. [SOLVED] Array of dates when tested shows no dates ......but there are dates
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-29-2012, 12:45 PM
  6. [SOLVED] Highlight Group of Dates if Dates Match List of other Dates
    By martinpgibson in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 08:14 PM
  7. [SOLVED] Auto filling dates based on previously entered dates and averaging numbers if dates equal
    By grambograham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 03:21 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