if then statement

  • Thread starter Thread starter Guest
  • Start date Start date
Bob that did work and was what i asked for, Thank you.

How would i count only the row that contained the Total Tele based on that
formula.
 
The answer to your response is that it counts all the cells that are <24 in
column c (third coloumn)


I have this section repeated for 100 locations in the same sheet. What i
need to to count the cell in the third column that is in the row that
contains Total telephone port when it is less than 24. This particular
location has 300.

Total Telephone Ports 288 300
High End Telephones 75 75
Standard Telephones 143 155
Low End Telephones 25 25
Receptionist Telephones 20 20
Fax Ports 25 30
 
Okay

=SUMPRODUCT(--(ISNUMBER(FIND("Total Tele",A1:A100))),--(C1:C100<24),C1:C100)

but this will return 0 not 300 using the data you show because the C value
is > 24.
 
Dear DG,

Try this array formula (Ctrl+Shift+Enter)

=sum(if((range="*Total Tele*")*(range<24),sumrange))

Regards,

Ashish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top