ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   special sum formula (https://www.excelbanter.com/excel-worksheet-functions/44562-special-sum-formula.html)

tjb

special sum formula
 
OK, from a given range with various numbers I need to be able to add all
numbers that are greater than or equal to "24". The COUNTIF function doesn't
do what I want, it only counts the number of times a number is greater than
or equal to 24. I know this is possible but can't figure it out. Any ideas?

Biff

Hi!

Try this:

=SUMIF(A1:A10,"=24")

OR:

=SUMIF(A1:A10,"23")

Biff

"tjb" wrote in message
...
OK, from a given range with various numbers I need to be able to add all
numbers that are greater than or equal to "24". The COUNTIF function
doesn't
do what I want, it only counts the number of times a number is greater
than
or equal to 24. I know this is possible but can't figure it out. Any
ideas?




Arvi Laanemets

Hi

=SUMIF(Range,"=24",Range)


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"tjb" wrote in message
...
OK, from a given range with various numbers I need to be able to add all
numbers that are greater than or equal to "24". The COUNTIF function
doesn't
do what I want, it only counts the number of times a number is greater
than
or equal to 24. I know this is possible but can't figure it out. Any
ideas?




Rowan

Try

=SUMIF(A1:A10,"=24",A1:A10)

Hope this helps
Rowan

tjb wrote:
OK, from a given range with various numbers I need to be able to add all
numbers that are greater than or equal to "24". The COUNTIF function doesn't
do what I want, it only counts the number of times a number is greater than
or equal to 24. I know this is possible but can't figure it out. Any ideas?


Rowan

Or more simply:

=SUMIF(A1:A10,"=24")

Regards
Rowan

tjb wrote:
OK, from a given range with various numbers I need to be able to add all
numbers that are greater than or equal to "24". The COUNTIF function doesn't
do what I want, it only counts the number of times a number is greater than
or equal to 24. I know this is possible but can't figure it out. Any ideas?



All times are GMT +1. The time now is 08:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com