![]() |
how to do a countif - want cells that are before or on a certain dateand do not want to hard code that date
hi - i need to do a countif function that will count all the cells
that have a date on or before a certain date. i have a spreadsheet at the very beginning that has this threshold date and want to reference that cell in the count if function because it may be changing. i have tried : countif(firstcell:last cell,<=Worksheet1A1) and have included paratheses but it always returns zero. both the reference cell and the range with dates are set to mm/dd/yyyy. Thank you! |
how to do a countif - want cells that are before or on a certain d
=COUNTIF(B:B,"<="&A1)
-- Gary''s Student - gsnu2007k |
All times are GMT +1. The time now is 02:41 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com