Solved

Problem with DATEVALUE and SUMPRODUCT

Posted on 2014-03-10
10
379 Views
Last Modified: 2014-03-10
Folks,
I'm try to count projected sales using SUMPRODUCT and DATEVALUE and the answer I keep getting is #VALUE. Please see attached worksheet.
Thank you
CountSales.xlsm
0
Comment
Question by:Frank Freese
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 51

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 500 total points
ID: 39918101
Hi,

You do not need datevalue if your dates are already dates and not text

=SUMPRODUCT((D2=$A$3:$A$16)*(D3=$B$3:$B$16))

Open in new window


Regards
CountSalesV1.xlsm
0
 

Author Comment

by:Frank Freese
ID: 39918136
What if the dates came into the spreadsheet as text?
0
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39918150
I suppose

this would be the formula

SUMPRODUCT((D2=DATEVALUE($A$3:$A$16))*(D3=$B$3:$B$16))

that implies that D2 is a date

Regards
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

Author Comment

by:Frank Freese
ID: 39918210
I've requested that this question be closed as follows:

Accepted answer: 0 points for fh_freese's comment #a39918136

for the following reason:

got it now
thank you so much
0
 

Author Comment

by:Frank Freese
ID: 39918204
whoops - - gave me credit not you
I'll ask that to be corrected
0
 

Author Comment

by:Frank Freese
ID: 39918211
I incorrectly gave me points rather than to Rgonz01971
0
 
LVL 51

Expert Comment

by:Rgonzo1971
ID: 39918214
HI,

As the Author already wrote, he wrongly gave credit to himself

pls correct

Regards
0
 

Author Closing Comment

by:Frank Freese
ID: 39918217
that should get you your points
0
 
LVL 51

Expert Comment

by:Rgonzo1971
ID: 39918220
Thanks
0
 

Author Comment

by:Frank Freese
ID: 39918272
My pleasure
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question