My feed
Premium

Please
or
to access all these features

Tech tips

Google sheets - sum by colour

3 replies

UnsuccessfullyAdulting · 17/11/2016 16:19

Hello! I'm desperate for a formula which sums all cells which th a certain text or background colour. I can conditionally format either by text or background colour, but I need to add all cells with a

OP posts:
Report
DanFmDorking · 17/11/2016 18:23

It's not too clear what you are asking for but -

With this column of data in column 'A':-

2
-1
3
-7
4
-9

=SUM(A1:A6) adds all the numbers

=SUMIF(A1:A6,"

Report
DanFmDorking · 17/11/2016 18:25

Oooops, there is a typing error

=SUMIF(A1:A6,">0") adds all the positive numbers

Report
UnsuccessfullyAdulting · 19/11/2016 22:58

Dan I nailed it with that formula. Thanks so much! You've saved me about 3 hours a week at work! Smile

OP posts:
Report
Please create an account

To comment on this thread you need to create a Mumsnet account.