Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sumif number is greater than a number but less than another number

I want to sumif a number in the range is greater than ie 4000 but less than
5000 than return the sum range?

How do I enter the criteria to give the results required.

Example:
Range: A2:A875
Sum_Range: D2:D875
Criteria Need: ??????

Sum if the number in A is greater than 4000 but less than 5000, than return
corresponding sum range D
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Sumif number is greater than a number but less than another number

=sumproduct(--(a2:a8754000),--(a2:a875<5000),d2:d875)
--
Wag more, bark less


"lulu151" wrote:

I want to sumif a number in the range is greater than ie 4000 but less than
5000 than return the sum range?

How do I enter the criteria to give the results required.

Example:
Range: A2:A875
Sum_Range: D2:D875
Criteria Need: ??????

Sum if the number in A is greater than 4000 but less than 5000, than return
corresponding sum range D

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default Sumif number is greater than a number but less than another number

=SUMIF(A2:A875,""&4000,D2:D875)-SUMIF(A2:A875,""&4999,D2:D875)
or
=SUMPRODUCT(--(A2:A8754000),--(A2:A875<5000),D2:D875)
or in Excel 2007+
=SUMIFS(D2:D875, A2:A875, ""&4000, A2:A875, "<"&5000)
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"lulu151" wrote in message
...
I want to sumif a number in the range is greater than ie 4000 but less
than
5000 than return the sum range?

How do I enter the criteria to give the results required.

Example:
Range: A2:A875
Sum_Range: D2:D875
Criteria Need: ??????

Sum if the number in A is greater than 4000 but less than 5000, than
return
corresponding sum range D


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
Position of first number in array greater than a given number Krapdad Excel Worksheet Functions 4 April 3rd 09 05:02 PM
How to calculate number of occurencies of a specific number number Stefan Excel Discussion (Misc queries) 4 September 8th 08 08:33 AM
countif formula to find the occurances of a number that is greater than one number but less than another steveo Excel Discussion (Misc queries) 3 July 8th 06 02:04 AM
count a number that is less than a number and greater than a numbe Dale Excel Worksheet Functions 3 November 19th 05 05:14 PM
HOW DO YOU SUMIF THE NUMBER IS GREATER THAN BUT LESS THAN A # uma Excel Worksheet Functions 1 October 6th 05 06:20 PM


All times are GMT +1. The time now is 02:34 PM.

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"