Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Problem in SUMIF Function

In my column A is a date record (dd/mm/yy), column B is salesman, column C is
product sold and Column D is the quantity value of product sold.

I wish to have a report which in column A is the salesman, B is the month
(January - December in words), C is the product and D is the sum of the
particular month and particular goods had sold.

Without having an extra column to record in the month in words. How can I
capture the value by month with using SUMIF since the format is dd/mm/yy?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Problem in SUMIF Function

Try:

=SUMPRODUCT(--(TEXT(Sheet1!$A$2:$A$100,"mmmm")=B2),--(Sheet1!$B$2:$B$100=A2),--(Sheet1!$C$2:$C$100=C2),(Sheet1!$D$2:$D$100))

Sheet1 is your data sheet.

Place formula in your report sheet column D and copy down. I have assumed
Columns A to C in report sheet have Salesman, Month (in words) and Product
data in place.

Change ranges to suit: note with SUMPRODUCT you cannot use whole columns
i.e. A:A is not allowed.

HTH

"Kelvin Lee" wrote:

In my column A is a date record (dd/mm/yy), column B is salesman, column C is
product sold and Column D is the quantity value of product sold.

I wish to have a report which in column A is the salesman, B is the month
(January - December in words), C is the product and D is the sum of the
particular month and particular goods had sold.

Without having an extra column to record in the month in words. How can I
capture the value by month with using SUMIF since the format is dd/mm/yy?

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
IF Function Nesting Problem jesahs Excel Worksheet Functions 10 January 23rd 06 08:52 PM
Can I add and IF function to a SUMIF function? adscrim Excel Worksheet Functions 4 January 21st 06 12:32 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
SumIF function ACDenver Excel Discussion (Misc queries) 2 August 17th 05 09:47 PM
Dynamic sumif function Jimbola Excel Worksheet Functions 5 May 4th 05 01:10 AM


All times are GMT +1. The time now is 09:52 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"