Help me to add particular cells

Solved/Closed
mathewmunna Posts 22 Registration date Tuesday November 18, 2014 Status Member Last seen May 21, 2015 - Dec 10, 2014 at 12:15 AM
 mathew munna - Dec 15, 2014 at 12:57 AM
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 1985 Registration date Monday August 16, 2010 Status Contributor Last seen May 24, 2023 147
Dec 10, 2014 at 08:27 AM
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
0
Yup...Thanks..
0