Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default sum numbers under or over a criteria?

Hi,

I have a column of numbers. I need one formula to sum all numbers that are
under 8 and another formula to sum them if they are over 8.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default sum numbers under or over a criteria?

Assume your numbers are in A1:A10, try this:

=SUM(IF(A1:A10<=8,A1:A10)), and
=SUM(IF(A1:A108,A1:A10))

These are array formulae, so once you have typed them in (or
subsequently edit them) you must commit them with CTRL-SHIFT-ENTER
instead of the normal ENTER. If you do this correctly then Excel will
wrap the formulae in curly braces { } when viewed in the formula bar -
you must not type these yourself.

The first one adds numbers less than or equal to 8, the second one
adds numbers greater than 8.

Hope this helps.

Pete

On Mar 2, 10:49 pm, "Dan B" wrote:
Hi,

I have a column of numbers. I need one formula to sum all numbers that are
under 8 and another formula to sum them if they are over 8.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default sum numbers under or over a criteria?

That does help...Thank You!!


"Pete_UK" wrote in message
ups.com...
Assume your numbers are in A1:A10, try this:

=SUM(IF(A1:A10<=8,A1:A10)), and
=SUM(IF(A1:A108,A1:A10))

These are array formulae, so once you have typed them in (or
subsequently edit them) you must commit them with CTRL-SHIFT-ENTER
instead of the normal ENTER. If you do this correctly then Excel will
wrap the formulae in curly braces { } when viewed in the formula bar -
you must not type these yourself.

The first one adds numbers less than or equal to 8, the second one
adds numbers greater than 8.

Hope this helps.

Pete

On Mar 2, 10:49 pm, "Dan B" wrote:
Hi,

I have a column of numbers. I need one formula to sum all numbers that
are
under 8 and another formula to sum them if they are over 8.

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default sum numbers under or over a criteria?

You're welcome - thanks for feeding back.

Pete

On Mar 2, 11:06 pm, "Dan B" wrote:
That does help...Thank You!!

"Pete_UK" wrote in message

ups.com...



Assume your numbers are in A1:A10, try this:


=SUM(IF(A1:A10<=8,A1:A10)), and
=SUM(IF(A1:A108,A1:A10))


These are array formulae, so once you have typed them in (or
subsequently edit them) you must commit them with CTRL-SHIFT-ENTER
instead of the normal ENTER. If you do this correctly then Excel will
wrap the formulae in curly braces { } when viewed in the formula bar -
you must not type these yourself.


The first one adds numbers less than or equal to 8, the second one
adds numbers greater than 8.


Hope this helps.


Pete


On Mar 2, 10:49 pm, "Dan B" wrote:
Hi,


I have a column of numbers. I need one formula to sum all numbers that
are
under 8 and another formula to sum them if they are over 8.


Thanks- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sum numbers under or over a criteria?

=SUMIF(A1:A10,"<=8")

=SUMIF(A1:A10,"8")

Biff

"Dan B" wrote in message
...
Hi,

I have a column of numbers. I need one formula to sum all numbers that
are under 8 and another formula to sum them if they are over 8.

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count unique numbers in a range with a given criteria Nelson Excel Discussion (Misc queries) 4 February 9th 07 01:28 PM
add numbers if they meet criteria...? Dan B Excel Worksheet Functions 2 January 31st 07 11:47 PM
SUMPRODUCT USING WORDS AS WELL AS NUMBERS FOR CRITERIA Andrew C Excel Worksheet Functions 2 December 29th 05 08:07 PM
Add numbers in column b if date is between certain criteria Jeremy Ellison Excel Worksheet Functions 7 December 9th 05 09:32 PM
how do I count the numbers of row that meet 2 criteria Debi Excel Worksheet Functions 4 November 10th 05 09:56 PM


All times are GMT +1. The time now is 09:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"