Sumifs to count color symbols
Hello,
I have a spreadsheet where I am tracking initiatives by team for each month and there is a color assigned to that initiative. For each month I assign these colors. I have a total of 12 columns. Green for on track, Yellow for at-risk, Red for breached, and Gray for not started. I really wished I could add one more for Complete but that is not the question now.
I am trying to add all greens against the teams so the teams. For example, HR had initiatives to update employee data and update time management software and the first initiative is on track and the other one has breached. So I have a total count of 1 against green and 1 against red.
I will appreciate any help.
Answers
-
You are actually going to want a COUNTIFS.
=COUNTIFS(Jan@row:Dec@row, "Green")
-
Thank you Paul,
I think I am doing something wrong.
I see, so is there a way to get a count of greens against departments?
-
Also, note that I am trying to get the results on a different sheet.
-
How are you differentiating between departments? Your screenshot only shows the different months.
-
It is in another spreadsheet called "Yearly plans".
-
Ok. So how are we to know which "green" goes to which team?
-
My bad, I realize I wasn't clear.
I have another spreadsheet named "Dashboard data for Yearly Plans". I intend to have formulas on this spreadsheet that refers to the "Yearly Plans" spreadsheet.
Here is a complete screenshot with columns hidden to show months.
Many thanks!
-
My suggestion would be additional text/number helper columns. Each one would be named a separate color (Green/Yellow/Red/Grey).
In each of these columns you would use a COUNTIFS to look across the month columns to count how many are present for each color on each row.
=COUNTIFS(Jan@row:Dec@row, "Green")
Then in your summary sheet, you would use something along the lines of
=SUMIFS({Green Total Column}, {Team Column}, @cell = "Team A")
-
I replaced the symbols with RGBYS (Red, Green, Blue, Yellow, Silver) and put conditional formatting on it to change cell color accordingly. Besides the month column (at the end of December), I put 5 columns where I count each color.
I listed all the teams in my summary spreadsheet, and against it, I added 5 color columns.
Below the Green color column, I am trying to get the total count of all the PMO team activities that are Green.
I tried adding the count of colors using the sumifs formula but no go.
-
@Prashant Thankappan You won't be able to count based on cell fill color. You would need to use the actual "Green" value.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!