SOLVED

Excel help

%3CLINGO-SUB%20id%3D%22lingo-sub-2373548%22%20slang%3D%22en-US%22%3EExcel%20help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373548%22%20slang%3D%22en-US%22%3E%3CP%3EHave%20a%20fairly%20simple%20request%2C%20i%20have%20a%20row%20of%20cells%20with%20dates%2C%20i%20tried%20using%20the%20countif%20function%20to%20tell%20me%20how%20many%20fit%20into%20a%20certain%20date%20but%20i%20have%20to%20put%20in%20the%20date%20every%20time%2C%20i%20want%20to%20use%20the%20today()%20to%20count%20how%20many%20dates%20are%20%26lt%3B%20today's%20date%3C%2FP%3E%3CP%3E%3DCOUNTIF(Q2%3AQ599%2C%22%3CQ606%3E%3C%2FQ606%3E%3C%2FP%3E%3CP%3EQ606%3DToday()%3C%2FP%3E%3CP%3EIt%20gives%20me%20a%200%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhat%20am%20i%20doing%20wrong%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2373548%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-2373571%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373571%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1059358%22%20target%3D%22_blank%22%3E%40prometheis%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUse%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DCOUNTIF(Q2%3AQ599%2C%20%22%26lt%3B%22%26amp%3BTODAY())%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eor%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DCOUNTIF(Q2%3AQ599%2C%20%22%26lt%3B%22%26amp%3BQ606)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2373584%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373584%22%20slang%3D%22en-US%22%3ETY!!%3C%2FLINGO-BODY%3E
New Contributor

Have a fairly simple request, i have a row of cells with dates, i tried using the countif function to tell me how many fit into a certain date but i have to put in the date every time, i want to use the today() to count how many dates are < today's date

=COUNTIF(Q2:Q599,"<Q606")

Q606=Today()

It gives me a 0 

 

what am i doing wrong?

2 Replies
best response confirmed by allyreckerman (Microsoft)
Solution

@prometheis 

Use

 

=COUNTIF(Q2:Q599, "<"&TODAY())

 

or

 

=COUNTIF(Q2:Q599, "<"&Q606)

TY!!