Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Erin
 
Posts: n/a
Default Counting values between 70 and 140

I'm creating a worksheet that requires a function that counts the number of
values between 70 and 140.

I've tried =COUNTIF(U60:AM90,"70")-COUNTIF(U60:AM90,"<140") however this
duplicate counts the over 70 group.

Any help would be appreciated!
Erin
  #2   Report Post  
Govind
 
Posts: n/a
Default

Hi,

A simple change would fix this

=COUNTIF(U60:AM90,"70")-COUNTIF(U60:AM90,"140")

IN the first countif, you count everything above 70 (which would also
include values above 140) and in second countit you reduce the values
which are above 140. so the net result is values between 70 and 140.

Regards

Govind.

Erin wrote:
I'm creating a worksheet that requires a function that counts the number of
values between 70 and 140.

I've tried =COUNTIF(U60:AM90,"70")-COUNTIF(U60:AM90,"<140") however this
duplicate counts the over 70 group.

Any help would be appreciated!
Erin

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



All times are GMT +1. The time now is 06:47 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"