Hello,
I have a simple task to perform that is beyond me at this point. I have the following data columns:
Date Miles
I want to add up the # of miles in each month of the year. I was thinking I could use sumif to add the miles column if the date was inside of a given month, but I can not figure out how to treat the date as a number instead of a date so I could use sumif. I also do not know how to put a double bound on the date (i.e., Between January 1st and January 31 – more simply if (month = January) )
Do I need to create a hidden column that extracts the month from the date, then use match inside the sumif function?
My solution right now is to extract the month using month(date column), and then summing based on that value, but that seems too brute force
Thanks,
Andy