Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 83
Default sumproduct with dates

Hello,

I was trying to use sumproduct to calculate if column a was a date and
column b was item and column c was a dollar amount so I would know how many
items sold during a specific month and year. It works to calculate the exact
date (7/2/2007 or 7/4/06) but I want it to calculate by month (i.e. all july
07) so I will know how many items sold in a given month and year. Many thanks.
--
Jake
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default sumproduct with dates

=SUMPRODUCT(--MONTH(A1:A100)=1,.....)
will test that the month of the dates in A1:A100 is 1 (January - for most of
us)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jake" wrote in message
...
Hello,

I was trying to use sumproduct to calculate if column a was a date and
column b was item and column c was a dollar amount so I would know how
many
items sold during a specific month and year. It works to calculate the
exact
date (7/2/2007 or 7/4/06) but I want it to calculate by month (i.e. all
july
07) so I will know how many items sold in a given month and year. Many
thanks.
--
Jake



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default sumproduct with dates

Please do not post separately to more than one NG - most of us read them
all.
Answered in .newusers
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jake" wrote in message
...
Hello,

I was trying to use sumproduct to calculate if column a was a date and
column b was item and column c was a dollar amount so I would know how
many
items sold during a specific month and year. It works to calculate the
exact
date (7/2/2007 or 7/4/06) but I want it to calculate by month (i.e. all
july
07) so I will know how many items sold in a given month and year. Many
thanks.
--
Jake



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMPRODUCT - DIFFERENT DATES Danny Excel Worksheet Functions 1 August 25th 07 03:57 AM
sumproduct between dates Johnny M Excel Worksheet Functions 3 March 6th 07 07:10 PM
Sumproduct using dates Scopar Excel Worksheet Functions 8 August 15th 06 06:06 PM
sumproduct between two dates chased Excel Worksheet Functions 4 July 8th 05 05:24 PM
sumproduct between dates Dominique Feteau Excel Worksheet Functions 8 December 5th 04 09:56 PM


All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"