#1   Report Post  
Posted to microsoft.public.excel.programming
Liz Liz is offline
external usenet poster
 
Posts: 133
Default Sumproduct

I need a formula for:

Sales Report:

A B c d

Item qty Price month

11157 5 1,000 4/2007
11159 4 500 3/2007
11175 1 800 4/2007
11177 2 900 5/2007
11755 10 2,000 4/2007

I want to sum all qty of items sold in april and put it in one column then
due the same for the price. I tried to use sumproduct unfortunately it is
not working. This is the formula I am using.
=sumproduct(--(month(d1:d10)=1),b1:b10)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default Sumproduct

Your formula would return 0 because you asked for January! You want:
=sumproduct(--(month(d1:d10)=4),b1:b10)

"Liz" wrote:

I need a formula for:

Sales Report:

A B c d

Item qty Price month

11157 5 1,000 4/2007
11159 4 500 3/2007
11175 1 800 4/2007
11177 2 900 5/2007
11755 10 2,000 4/2007

I want to sum all qty of items sold in april and put it in one column then
due the same for the price. I tried to use sumproduct unfortunately it is
not working. This is the formula I am using.
=sumproduct(--(month(d1:d10)=1),b1:b10)

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 with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
SUMPRODUCT PAL Excel Worksheet Functions 4 August 3rd 09 07:19 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct? teeb Excel Discussion (Misc queries) 6 February 6th 06 09:26 PM


All times are GMT +1. The time now is 12:08 AM.

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

About Us

"It's about Microsoft Excel"