Hey guys,
I would like to count the number of cells that contains a date in each month.
I have attached my workbook here: Book2.xlsx
Hey guys,
I would like to count the number of cells that contains a date in each month.
I have attached my workbook here: Book2.xlsx
Last edited by lamdl; 01-09-2014 at 05:52 PM.
Use the sumproduct as shown in attached.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanks a lot! that worked.
I would also like to average the values in column C associated with each month. So each month would have an average associated with it.
workbook BOOK 5.xlsx
Can you help me out with this as well?
Try this in F2, copied down...
=SUMPRODUCT(--(B$2:B$132<>""),--(MONTH(B$2:B$132)=D2)*($C$2:$C$132))/E2
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
That seems to work. However, if there is a formula at the bottom of column B and C that yield a "", the formula breaks.
new workbook: BOOK 6.xlsx
B/C:133 have a formula =""
I will need the formula in column E to work if there is a formula that yields a "" in column B and C.
I really appreciate your help!
Last edited by lamdl; 01-10-2014 at 04:28 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks