I have a Google spreadsheet that has values like:

1/1/10 0
1/2/10 43
1/3/10 17

I want to be able to visualize the data on a day-by-day basis and on a month by month basis.

I managed to create a chart based on the day - but I can't figure out how to automatically group the months.

What can I do?


3 Answers 3


Basically what you're looking for is something like Pivot Tables of Excel, where you can group by anything you want.

Unfortunately there is no such support in Google Spreadsheet. What you (or someone) could do though is to write a simple script to group them for you. If you're interested you can start with some tutorials.

  • Yes - this is the exact feature I was looking for. I did not know the name of it though. I already know how to code for google docs - but I was hoping I would not have to resort to it for a task such as this :-( Commented Oct 20, 2010 at 19:06

I suggest (a) a formula to extract the month (might need year too, depending on the timespan), say =month(a2) copied down to suit (b) a pivot table to aggregate (Month in Rows and Value in Values as Summarize by: SUM) and then (c) chart that:

WA8400 example


As of 2017, Google Sheets now supports pivot tables.

See this answer for details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.