LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default SUMPRODUCT not recognising dates

Hi.

I have a spreadsheet that imports data from an Access query. The query has
3 columns - date of purchase, profit & whether the product was new(N) or
used(U). It has grouped the information by month, so the spreadsheet looks
like this:

Column A Column B Column C

DealDate Profit NewUsed

January 2007 £50,000 N
January 2007 £30,000 U
February 2007 £60,000 N
February 2007 £45,000 U

etc...

What I want to happen is to be able to key in a date (ie 01/02) in cell G2
and to have 2 other cells showing the New & Used profit for that month:
£60,000 & £45,000.

If I use SUMIF, it recognises column A as a date, but I can't get it to
split the monthly total (I get £105,000)

If I use SUMPRODUCT, it doesn't recognise column A as a date but as text and
instead of typing in 01/02 in G2, I have to type on 'February 2007.

=SUMPRODUCT(--(A1:A500=G2),--(C1:C500="N"),(B1:B500))

Is there anyway of getting SUMPRODUCT to recognise the data in column A as a
date instead of text?

Many thanks

Del.


 
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 between dates Johnny M Excel Worksheet Functions 3 March 6th 07 07:10 PM
Excel copied cells not recognising date formats Limes Excel Discussion (Misc queries) 1 February 12th 07 06:33 PM
sumproduct with dates Bumblebee Excel Worksheet Functions 2 August 22nd 06 08:16 PM
VLookup not recognising numbers Doug Excel Worksheet Functions 7 May 16th 05 04:05 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 03:29 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"