COUNTIF....
I intend to produce a bar chart showing months along the 'X' axis. To do this
however, I need to summarise hundreds of dates (formatted dd/mm/yyyy) into Jan - Dec. I have been trying the COUNTIF function, but am unsure of how to apply a 'like' feature; for instance: COUNTIF(B7:B5000, like "06") to show all entries in June. -- tia Jock |
COUNTIF....
try:
=SUMPRODUCT(--(Month(B7:B5000)=6)) "Jock" wrote: I intend to produce a bar chart showing months along the 'X' axis. To do this however, I need to summarise hundreds of dates (formatted dd/mm/yyyy) into Jan - Dec. I have been trying the COUNTIF function, but am unsure of how to apply a 'like' feature; for instance: COUNTIF(B7:B5000, like "06") to show all entries in June. -- tia Jock |
COUNTIF....
Thanks Toppers. Works a treat.
Jock "Toppers" wrote: try: =SUMPRODUCT(--(Month(B7:B5000)=6)) "Jock" wrote: I intend to produce a bar chart showing months along the 'X' axis. To do this however, I need to summarise hundreds of dates (formatted dd/mm/yyyy) into Jan - Dec. I have been trying the COUNTIF function, but am unsure of how to apply a 'like' feature; for instance: COUNTIF(B7:B5000, like "06") to show all entries in June. -- tia Jock |
All times are GMT +1. The time now is 08:44 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com