Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board > Off Topic > Off Topic - General


Reply
 
Thread Tools Rate Thread
Old 01-20-2006, 10:50 AM   #1
gillenr
Optimist
 
Join Date: Feb 2002
Location: Delaware
Posts: 666
Excel question.

I can't do a "countif" using a value range like ">10<20". Am I doing something wrong, or should I be using something other than "countif"?
Thanks.
gillenr is offline   Reply With Quote Reply
Old 01-20-2006, 12:38 PM   #2
rokitman
Registered BSer
 
rokitman's Avatar
 
Join Date: Jun 2002
Location: New York
Posts: 1,075
Make them two separate conditions.
rokitman is offline   Reply With Quote Reply
Old 01-20-2006, 05:51 PM   #3
gillenr
Optimist
 
Join Date: Feb 2002
Location: Delaware
Posts: 666
Already doing that - was hoping for something more "elegant".
gillenr is offline   Reply With Quote Reply
Old 01-20-2006, 07:58 PM   #4
arkansasman
Registered User
 
Join Date: Feb 2004
Location: Paragould, Arkansas
Posts: 198
gillenr

Quote:
I can't do a "countif" using a value range like ">10<20".
Why don't you use nested IF statements?
arkansasman is offline   Reply With Quote Reply
Old 01-21-2006, 02:28 AM   #5
mainardi
Let's Pick Some Winners!
 
mainardi's Avatar
 
Join Date: Nov 2002
Location: Vegas
Posts: 282
Lightbulb One Possible Solution...

Quote:
Originally Posted by gillenr
I can't do a "countif" using a value range like ">10<20". Am I doing something wrong, or should I be using something other than "countif"?
Thanks.
Try this: =SUM(IF(A3:A32>10,IF(A3:A32<20,1,0)))

There IS a trick to it, though... Excel calls this an "array formula", so what you have to do is type in the formula IN THE FORMULA BAR (it typically is the text area right above the spreadsheet and has the equal sign next to it) AND THEN do a "CTRL-SHIFT-ENTER" while still in the FORMULA BAR. If you don't do this, you'll get a #VALUE! error in the cell where you put the formula.

YOU HAVE TO DO THE "CTRL-SHIFT-ENTER" STEP IN THE FORMULA BAR EVERY TIME YOU EDIT THE FORMULA!!!

Still in all...
__________________
Best of Luck,

Joe Mainardi
www.ponypicker.com
mainardi is offline   Reply With Quote Reply
Reply





Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

» Advertisement
» Current Polls
Wh deserves to be the favorite? (last 4 figures)
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 10:30 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program
designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.