Hi everyone,
I'm trying to get dates of "Check" Sheet into "Prod BILKON" sheet when I use the SUMPRODUCT function I get the result which's in the attached file, would you please help.
Thanks in advance.
Hi everyone,
I'm trying to get dates of "Check" Sheet into "Prod BILKON" sheet when I use the SUMPRODUCT function I get the result which's in the attached file, would you please help.
Thanks in advance.
What result are you expecting? Why not just change the cell format?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I expect the two dates in Sheet "Check" Column "Print Go" - "Print Come"
I've tried all the possible Cell Formats but nothing changed, unfortunately.
Try this:
=TEXT(SUMPRODUCT(((check!$B$2:$B$505)=$D2)*((check!$C$2:$C$505)=$E2),check!H$2:H$505),"dd/mm/yy")&"-"&TEXT(SUMPRODUCT(((check!$B$2:$B$505)=$D2)*((check!$C$2:$C$505)=$E2),check!I$2:I$505),"dd/mm/yyyy")
You will want to adapt it for when the SUMPRODUCT returns 0.
This maybe:
=IF(SUMPRODUCT(((check!$B$2:$B$505)=$D2)*((check!$C$2:$C$505)=$E2),check!H$2:H$505)=0,0,TEXT(SUMPRODUCT(((check!$B$2:$B$505)=$D2)*((check!$C$2:$C$505)=$E2),check!H$2:H$505),"dd/mm/yy"))&"-"&IF(SUMPRODUCT(((check!$B$2:$B$505)=$D2)*((check!$C$2:$C$505)=$E2),check!I$2:I$505)=0,0,TEXT(SUMPRODUCT(((check!$B$2:$B$505)=$D2)*((check!$C$2:$C$505)=$E2),check!I$2:I$505),"dd/mm/yyyy"))
Unfortunately, it doesn't work
I get the below returns:
43/mm/19-46/mm/2019
33/mm/19-44/mm/2019
42/mm/19-44/mm/2019
01/mm/19-43/mm/2019
You will need to replace this: dd/mm/yyyy
with the Turkish equivalent - maybe this: dd.mm.yyyy
It's dependent on your machine's locale. When you get that right, it will work:
Excel 2016 (Windows) 32 bit
K 1 PRINTING 20-0 30-0 40-0 50-0 60-0 70-0 829/04/19-03/05/2019 929/04/19-03/05/2019 1009/05/19-14/05/2019 1114/05/19-16/05/2019 1219/04/19-20/04/2019
Sheet: PROD BILKON
Your way worked, thank you very much for your help,
only I have one more problem, on the second day, I have in the day field 46..48..etc.
Please upload a file that demonstrates the "have in the day field 46..48.." issue.
Let us know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks