+ Reply to Thread
Results 1 to 7 of 7

Summing $ Amounts, using a date range, and key words in other columns as restrictions

Hybrid View

  1. #1
    Registered User
    Join Date
    07-12-2007
    Posts
    40

    Summing $ Amounts, using a date range, and key words in other columns as restrictions

    Here we go... I'm going to try and explain this the best I can.

    I have 3 different columns: A, B, C

    A= Date

    B= Reviewed

    C= $ amount

    I would like to find out how to add the total $ amounts in column C, when they fall between monthly date ranges, located in column A, and have the word reviewed in column B.

    Better said, "I need to know the total $ amount of reports reviewed between January 1st - January 31st."

    Any ideas or suggestions? Thank you
    Last edited by VBA Noob; 09-10-2008 at 01:25 PM. Reason: Bad Title

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    =Sumproduct(--($A$2:$A$100>="January 1, 2008"+0),--($A$2:$A$100<="January 31, 2008"+0),--($B$2:$B$100="Reviewed"),$C$2:C$C100)

    adjust ranges to suit... you can replace dates with cell references...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-12-2007
    Posts
    40
    =SUMPRODUCT(('Requests Received'!$A$2:$A$12000>=DATE(2008,7,1))*(('Requests Received'!$F$2:$F$12000<=DATE(2008,7,31))*('Requests Received'!$D$2:$D$12000="Closed")*('Requests Received'!$D$2:$D$12000)))


    I can't figure out why it's not working... it gives me a #Value error

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You list this range 'Requests Received'!$D$2:$D$12000 twice in your formula. Does that range contain text and numbers?

  5. #5
    Registered User
    Join Date
    07-12-2007
    Posts
    40
    =SUMPRODUCT(('Requests Received'!$A$2:$A$12000>=DATE(2008,7,1))*(('Requests Received'!$F$2:$F$12000<=DATE(2008,7,31))*('Requests Received'!$I$2:$I$12000="Closed")*('Requests Received'!$D$2:$D$12000)))

    Sorry, this is what it should be. I am getting the #Value error and I am very confused. The first contains text that I need to base my sum off of and the second is the $ amounts that need to be summed...

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You have one misplaced set of parenthesis...

    Try:

    =SUMPRODUCT(('Requests Received'!$A$2:$A$12000>=DATE(2008,7,1))*('Requests Received'!$F$2:$F$12000<=DATE(2008,7,31))*('Requests Received'!$I$2:$I$12000="Closed")*('Requests Received'!$D$2:$D$12000))
    If that doesn't work still, then check that you don't have text in column D and that none of the ranges have errors in them.

  7. #7
    Registered User
    Join Date
    07-12-2007
    Posts
    40
    That worked... in column D there was $N/A. Thank you so much for working with me on this!

+ 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. Convert time to money
    By ricoandquesa in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 10-28-2007, 07:52 AM
  2. Adding up 45 days worth of money
    By Beesht in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-04-2007, 06:43 PM
  3. Future value of money?
    By Alib in forum Excel General
    Replies: 1
    Last Post: 01-13-2007, 04:36 AM
  4. Entering the Time value of Money Tables
    By ashpar in forum Excel General
    Replies: 2
    Last Post: 12-04-2006, 05:45 PM
  5. Replies: 9
    Last Post: 10-23-2006, 12:34 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