Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Date format changed to text format

Posted on 2013-12-14
3
Medium Priority
?
343 Views
Last Modified: 2013-12-14
Folks,
I would like to use the function offered to me below. In cell C2 I enter my date as text, 11/27/2013, In cells A3:A16 I have dates also formatted as text, same as in C2. Cell D3 holds the product number also formatted as text. The same formatting also applies to B3:B16, text.

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

The result is #VALUE error.
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
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Angelp1ay
ID: 39718875
Is this literally just because your date is in C2 but your formula is actually referencing D2?
0
 
LVL 11

Accepted Solution

by:
Angelp1ay earned 2000 total points
ID: 39718877
Also I think you need a DateValue around your range in col A:
{=SUMPRODUCT((DATEVALUE(D2)=DATEVALUE($A$3:$A$16))*(D3=$B$3:$B$16))}

Open in new window

0
 

Author Closing Comment

by:Frank Freese
ID: 39718881
Great job! You nailed it there....
Thank you
0

Featured Post

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!

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

730 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