Avatar of Frank Freese
Frank Freese
Flag for United States of America asked on

Date format changed to text format

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.
Microsoft Excel

Avatar of undefined
Last Comment
Frank Freese

8/22/2022 - Mon
Angelp1ay

Is this literally just because your date is in C2 but your formula is actually referencing D2?
ASKER CERTIFIED SOLUTION
Angelp1ay

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Frank Freese

ASKER
Great job! You nailed it there....
Thank you
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck