SOLVED

COUNTING DATE

%3CLINGO-SUB%20id%3D%22lingo-sub-2441887%22%20slang%3D%22en-US%22%3ECOUNTING%20DATE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2441887%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EBeginner%3A%20Please%20help%20me%20count%20entries%20within%20today%20(6%2F9%2F2021).%20I've%20tried%20COUNTIF%20TODAY()%2C%20nothing%20works.%20Sometimes%2C%20gives%20me%20Zero%20(0)%20as%20answer.%20This%20is%20for%20an%20excel%20file%2C%20connected%20to%20a%20form.%20Needs%20to%20count%20new%20entries%20submitted%20on%20the%20current%20date.%20Thank%20you.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Screen%20Shot%202021-06-12%20at%2012.19.28%20pm.png%22%20style%3D%22width%3A%20982px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F288215iF1491456DC597605%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screen%20Shot%202021-06-12%20at%2012.19.28%20pm.png%22%20alt%3D%22Screen%20Shot%202021-06-12%20at%2012.19.28%20pm.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2441887%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2441905%22%20slang%3D%22en-US%22%3ERe%3A%20COUNTING%20DATE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2441905%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1077383%22%20target%3D%22_blank%22%3E%40Eugo29%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20could%20be%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DCOUNTIFS(range%2C%20%22%26gt%3B%3D%22%20%26amp%3B%20TODAY()%2C%20range%2C%20%22%26lt%3B%22%20%26amp%3B%20TODAY()%2B1)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EIn%20Excel%20dates%20are%20actually%20sequential%20integer%20numbers%20starting%20from%201%20which%20is%2001%20Jan%2C%201900.%20Time%20is%20decimal%20part%20(1%26nbsp%3B%20Hour%20%3D%201%2F24).%20TODAY()%20retunes%20integer%20number%20corresponded%20to%20current%20date.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Beginner: Please help me count entries within today (6/9/2021). I've tried COUNTIF TODAY(), nothing works. Sometimes, gives me Zero (0) as answer. This is for an excel file, connected to a form. Needs to count new entries submitted on the current date. Thank you.

 

Screen Shot 2021-06-12 at 12.19.28 pm.png

 

3 Replies
best response confirmed by Eugo29 (New Contributor)
Solution

@Eugo29 

That could be like

=COUNTIFS(range, ">=" & TODAY(), range, "<" & TODAY()+1)

In Excel dates are actually sequential integer numbers starting from 1 which is 01 Jan, 1900. Time is decimal part (1  Hour = 1/24). TODAY() retunes integer number corresponded to current date.

Thank you very much. It worked!!

@Eugo29 , you are welcome, glad it helped