in google sheets, I have a table with new features released for a SaaS product, with 2…
- User
in google sheets, I have a table with new features released for a SaaS product, with 2 columns: first column is the date the feature was released and the second column is the title of the feature.
I need to product a chart that shows the number of features released per month.
How can I do that?
Assistant
You can use the Date function to extract the month from the date column, then use a COUNTA function to count the number of non-blank cells in the title column for each month. You can then create a column chart with the months as the x-axis and the number of features as the y-axis.
- User
Well, don't I need the year as well? so it's number of features released per month-year
Assistant
Yes, you're right. To create a chart that shows the number of features released per month-year, you'll need to follow these steps:
- Extract the month and year from the date column:
- In a new column, use the =MONTH function to extract the month from the date column. For example, if the date in cell A1 is "2/1/2023", the formula in cell B1 would be =MONTH(A1).
- In another new column, use the =YEAR function to extract the year from the date column. For example, if the date in cell A1 is "2/1/2023", the formula in cell B1 would be =YEAR(A1).
- Create a unique list of the month-year combinations:
- In a new column, use the =UNIQUE function to create a unique list of the month-year combinations. For example, if your date column contains the values "2/1/2023", "2/15/2023", and "3/1/2023", the formula in cell B1 would be =UNIQUE(B:B).
- Use the =IF function to check if each month-year combination is in your list. For example, if the date in cell A1 is "2/1/2023", the formula in cell B1 would be =IF(B:B=A1,"Yes","No").
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.