If my date fields are in G column and i want to count how many of them match the date part of the field say 15/02/22 ( Put into CELL C2 ) how do i do the COUNT formula?
would that be ?
=COUNTIF(G1:G9999, ?????)
Thanks
If my date fields are in G column and i want to count how many of them match the date part of the field say 15/02/22 ( Put into CELL C2 ) how do i do the COUNT formula?
would that be ?
=COUNTIF(G1:G9999, ?????)
Thanks
Last edited by badmullah; 02-15-2022 at 10:31 PM. Reason: add attachments
If K2 contains the date you are looking for:Formula:Please Login or Register to view this content.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Hi
Sorry I could not get it to work - I have uploaded the XLS . in Output Sheet Cell C1 i m trying to fetch the count of records in the other sheet that in its G column all the dates that contain the value of C2
Thanks
worksheet or Tab name : Output
Cell B2 formula
Formula:Please Login or Register to view this content.
OR
Formula:Please Login or Register to view this content.
Last edited by wk9128; 02-15-2022 at 11:19 PM.
last question
If I put 2022/02/15 in a Text Cell say D2
can i use =SUMPRODUCT((Closed!F2:F9000="COMPLETE")*(TEXT(Closed!G2:G9000,"yyyy/mm/dd")=D2)) ?
try this formula , unless your D2 storage format is text input
TEXT Format = text format
Formula:Please Login or Register to view this content.
OR value format = value format
Formula:Please Login or Register to view this content.
Last edited by wk9128; 02-16-2022 at 12:32 AM.
@badmullah You're Welcome. Glad to help . Thank You for the feedback and rep.
If you finally get a solution please mark your thread as SOLVED:
- Click Thread Tools above your first post,you will see the text PREFIX on the upper left, press the button to select [SOLVED]
Your formula corrected
=SUMPRODUCT(--(INT(Closed!$G$2:$G$1048)= INT(C2)))
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Or you can use this way:
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks