Solved

Problem with DATEVALUE and SUMPRODUCT

Posted on 2014-03-10
10
377 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 50

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 50

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 50

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 50

Expert Comment

by:Rgonzo1971
ID: 39918220
Thanks
0
 

Author Comment

by:Frank Freese
ID: 39918272
My pleasure
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
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.

740 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