1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Sum formula for calculating month occurrences from dates works for everything except for January.

I am attempting to automate the calculations of how often each month is recorded in another tab. The formula is working for all the other months, but as I am using this template to calculate values as I enter them, I arbitrarily set the limit to 2000, allowing me not to have to think about changing the formula as I enter new information. Unfortunately, it seems that the blank cells are being coded as "1"

https://preview.redd.it/7zte9xn701vg1.png?width=972&format=png&auto=webp&s=ba131bec322f84ce55fa9fdbc35cedfcbeb12d9f

I have tried going through the formula and found that all the blank cells are coding themselves as "true" only for the month of January (1). I attempted to add

=IF(SHEET2!A3:A2000 = " ", 0, ...

to the beginning of the formula, but it just gave me a spill error. I might be getting confused between excel vs. Google Sheets formulas.

Thank you!

submitted by /u/mentallylost14
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#Excel alternatives for data analysis
#AI formula generation techniques
#formula generator
#natural language processing for spreadsheets
#generative AI for data analysis
#Excel compatibility
#google sheets
#Excel alternatives
#rows.com
#sum formula
#month occurrences
#January
#blank cells
#automate calculations
#Excel
#Google Sheets
#spill error
#IF function
#calculating values
#template