Solved

Problem with DATEVALUE and SUMPRODUCT

Posted on 2014-03-10
10
364 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
  • 6
  • 4
10 Comments
 
LVL 49

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 49

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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

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

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 49

Expert Comment

by:Rgonzo1971
ID: 39918220
Thanks
0
 

Author Comment

by:Frank Freese
ID: 39918272
My pleasure
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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,…
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now