Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default adding numbers in a specific range of values

I have column A listing miles from point to point, column B give the number
of occurences in 60 days. I'm trying to add up the number occurences if the
miles are in between lets say 50 and 150 miles. Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default adding numbers in a specific range of values

=SUMPRODUCT(--(A1:A100=50),--(A1:A100<=150),B1:B100)
You can not use whole column A:A or B:B

"Tophaw" wrote:

I have column A listing miles from point to point, column B give the number
of occurences in 60 days. I'm trying to add up the number occurences if the
miles are in between lets say 50 and 150 miles. Can anyone help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default adding numbers in a specific range of values

=COUNTIF(A:A,"=50")-COUNTIF(A:A,"150")

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Tophaw" wrote in message
...
I have column A listing miles from point to point, column B give the
number
of occurences in 60 days. I'm trying to add up the number occurences if
the
miles are in between lets say 50 and 150 miles. Can anyone help?



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
Selecting values from a range that equal a specific total Matt UK Excel Worksheet Functions 4 November 25th 06 09:42 PM
Count Specific word in specific range [email protected] Excel Worksheet Functions 2 May 16th 06 10:30 AM
Display values set in a range?? rpp114 Excel Worksheet Functions 1 May 4th 06 08:08 PM
Displaying numbers stored in a range??? rpp114 Excel Discussion (Misc queries) 0 May 4th 06 07:37 PM
How do I define a range using values in cells? Matthieu de Wit Excel Worksheet Functions 2 April 26th 06 09:43 PM


All times are GMT +1. The time now is 05:34 AM.

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

About Us

"It's about Microsoft Excel"