+ Reply to Thread
Results 1 to 5 of 5

Totaling dollar amount by month

  1. #1
    Registered User
    Join Date
    04-17-2006
    Posts
    40

    Totaling dollar amount by month

    In column B I have listed a bunch of dates like 1/2/2007, 5/10/2007, 10/15/2007 and so on. In column E I have the revenue that I made on that day. I need to have a formula that will total the revenue in column E for the month of January and the proceeding months up to Dec. Can anyone help?

    Thank you much!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Get Values Between Dates

    Here's a formula that should work for you
    =SUMIF('Master Sheet'!B:B,"<="&A3,'Master Sheet'!E:E)-SUMIF('Master Sheet'!B:B,"<"&A2,'Master Sheet'!E:E)
    Enter a date in A3 and A2 in one sheet
    the formula sums the values between the two dates

    Here's an example workbook

    Click the calender control to get values
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi,

    this may help,

    put jan o8 in d1
    put feb 08 in d2 etc

    =SUMPRODUCT(--(MONTH($A$1:$A$31)=MONTH(D1)),--(YEAR($A$1:$A$31)=YEAR(d3)),$B$1:$B$31)
    put this formular in d1 and copy down.

    dave,
    brill - how did you get the calenders in the spread sheet?

    steve

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why not use a PivotTable?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Insert Calendar Control

    Quote Originally Posted by stevekirk
    hi,

    this may help,

    put jan o8 in d1
    put feb 08 in d2 etc



    put this formular in d1 and copy down.

    dave,
    brill - how did you get the calenders in the spread sheet?

    steve
    Hi Steve,
    It's been a while since I made that workbook...
    I just tried to replicate it,
    Goes something like...
    Insert,Object,Calendar Control
    My excel has it as Calendar Control 11.0
    Once inserted you should be in design mode, and then work with it like any other control
    Last edited by davesexcel; 01-19-2008 at 11:21 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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