Help me to add particular cells

Solved/Closed
Report
Posts
27
Registration date
Tuesday November 18, 2014
Status
Member
Last seen
May 21, 2015
-
 mathew munna -
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..

1 reply

Posts
1947
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
November 11, 2021
147
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
Yup...Thanks..