+ Reply to Thread
Results 1 to 5 of 5

How do I sum currency with a date argument and place totals on another sheet

  1. #1
    Registered User
    Join Date
    03-06-2011
    Location
    Cleveland, Ohio USA
    MS-Off Ver
    Excel 2003
    Posts
    30

    How do I sum currency with a date argument and place totals on another sheet

    Sheet1 is named Invoice

    Colum A has Dates, Colum B has Invoice #, Colum C has Amount
    1/31/2011 001 $20.00


    Sheet3 is named Report

    In B3 of the Report sheet I need the sum of the amounts found in Colum C of the invoice sheet, but only the ones that are from January.

    In B4 of the Report sheet I need the sum of the amounts found in Colum C of the invoice sheet, but only the ones that are from February.

    B5 March
    B6 April, etc.

    Thank you in advace
    Last edited by jpeirano; 03-10-2011 at 02:34 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How do I sum currency with a date argument and place totals on another sheet

    For January,

    =SUMPRODUCT(--(MONTH(Sheet1!A2:A11)=1), Sheet1!C2:C11)

    This is pretty much what pivot tables were designed to do.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-06-2011
    Location
    Cleveland, Ohio USA
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: How do I sum currency with a date argument and place totals on another sheet

    Quote Originally Posted by shg View Post
    For January,

    =SUMPRODUCT(--(MONTH(Sheet1!A2:A11)=1), Sheet1!C2:C11)

    This is pretty much what pivot tables were designed to do.
    This is what I typed, does not work:
    =SUMPRODUCT(--(jan(Income!A2:A11)=1),Income!C2:C11)

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,660

    Re: How do I sum currency with a date argument and place totals on another sheet

    Not jan... MONTH (that's the formula name).

    =SUMPRODUCT(--(MONTH(Income!A2:A11)=1),Income!C2:C11)

  5. #5
    Registered User
    Join Date
    03-06-2011
    Location
    Cleveland, Ohio USA
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: How do I sum currency with a date argument and place totals on another sheet

    Quote Originally Posted by zbor View Post
    Not jan... MONTH (that's the formula name).

    =SUMPRODUCT(--(MONTH(Income!A2:A11)=1),Income!C2:C11)
    Thank you it's working now, please forgive me second day using excel.

    I got that if I want Feb. just change the =1 to =2

    Where on the web do I go to learn how to write formulas, and how to lay them out; for example I dont know why the -- in front of this formula and how to know what and hoe to put in () first ext. Also why cant I call out the entire colum instead of A2:A11 I noticed that going dow the colum I had to increase the A11 and C11 by 1 in order to work for the rest ???

    can you direct me

+ 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