Help me to add particular cells

Solved/Closed
mathewmunna Posts 22 Registration date Tuesday 18 November 2014 Status Member Last seen 21 May 2015 - 10 Dec 2014 à 00:15
 mathew munna - 15 Dec 2014 à 00:57
Hello,

i want to sum particular cells when a number consists in a cell

eg:-

=IF($B$81:$BH$81=7=TRUE,SUM($B$77:$BH$77),0)

it calculates all b77 to bh77 if any cell b81 to bh81 contains 7
i want a formula to calculate like if

b81=7, x81=7, ...... , bh81=7....

sum(b77+x77+......+bh77)

please help me to solve this issue..
Related:

1 response

Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
10 Dec 2014 à 08:27
mathewmunna, Good morning.

Try to use:

=IF(COUNTIF($B$81:$BH$81,7)>0,SUM($B$77:$BH$77);0)

Is this what you want?
Hope this helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
mathew munna
15 Dec 2014 à 00:57
Yup...Thanks..