# Need to summarize RAG status

Hi,

I have multiple RAG status' in my plan and I would like to summarize the overall status, is there any way to achieve this. So as an example, I have a sheet summary in my sheet and each status in the plan has a formula which tells me what % is the colour, e.g =COUNTIF(Status:Status, "Red") / COUNT(Status:Status) and so on for each colour. But I want to summarise this all into an overal status. So if the red has more % then show the overall status as red, if green has more % then show the overal status as green. Anyway to achieve this? Thank you

the above is a screenshot of what i have in the sheet summary

• Overachievers

Hi @kirpal82, would this work?

Create a new Sheet Summary field - I called mine "Overall status."

Enter this formula in your new field: =IF(MAX(R#, Y#, G#, B#) = R#, "Red", IF(MAX(R#, Y#, G#, B#) = Y#, "Yellow", IF(MAX(R#, Y#, G#, B#) = G#, "Green", IF(MAX(R#, Y#, G#, B#) = B#, "Blue"))))

• Overachievers

Hi @kirpal82, would this work?

Create a new Sheet Summary field - I called mine "Overall status."

Enter this formula in your new field: =IF(MAX(R#, Y#, G#, B#) = R#, "Red", IF(MAX(R#, Y#, G#, B#) = Y#, "Yellow", IF(MAX(R#, Y#, G#, B#) = G#, "Green", IF(MAX(R#, Y#, G#, B#) = B#, "Blue"))))