excel-xp-training - countif function
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel-xp-training - Countif function

excel-xp-training - Countif function

The UK's most regular instructor-led training courses.
Training information: excel-xp-training · Excel/courses/london · Microsoft Excel Training London
See also · excel-courses-london · excel courses in london · excel microsoft training

resolvedResolved · Low Priority · Version Standard

Countif function

Ben has attended:
Excel VBA course
Access Introduction course

by - delegate Ben [11 posts] (2008 Jan 7 Mon, 11:01) replyReply

I need to runa countif function with some strict criteria, can someone please give me a formula that will do the following:

Count if any entry in a range is greater than one number and less than another.

Many thanks,

Ben

Excel Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 5 Fri Bayswater 0 FULL    
2002/XP 2008 Dec 10 Wed Tooting 0 FULL    
2003 2008 Dec 10 Wed Bloomsbury 0 FULL    
2007 2008 Dec 10 Wed Bloomsbury 2 book now £240 £245
2003 2008 Dec 12 Fri Southwark 4 book now £224 £235
2003 2008 Dec 17 Wed Southwark 1 book now £235 £240
Full Schedule: See all 95 Excel Advanced course dates.
Bookings currently available until 24th November 2009.

RE: Countif function

by - trainer Amanda diamond contributer[1243 posts] (2008 Jan 7 Mon, 15:09) replyReply

Hi Ben

Thank you for your question.

Using the DCOUNT function may help solve your problem.

I've attached an example so you can see how this works. The formula is in the yellow cell.

Let me know if you have any further questions.

Amanda

RE: Countif function

by - delegate Ben [11 posts] (2008 Jan 7 Mon, 15:29) replyReply

Amanda,

Thank you for your reply. Unfortunately this has not worked probably due to the followig reasons:

The data in my case is horizontal which gives a #VALUE response.

Thanks,

Ben

RE: Countif function

by - trainer Amanda diamond contributer[1243 posts] (2008 Jan 7 Mon, 16:08) replyReply

Hi Ben

Yes, unfortuately this will only work on data arranged in columns.

Would it be possible to transpose the data? Copy it, then use Edit - Paste Special, tick Transpose and OK.

Amanda

RE: Countif function

by - delegate Paul gold contributer[121 posts] (2008 Jan 7 Mon, 16:54) replyReply

I'd go about it a different way.

in a column you won't be using, e.g. column CC, type = if(AND(A1>5,A1<10),1,0)

Then you can do a sum of that column.

If you have a range that won't be the same, try this: (Untested)

=if(isna(and(A1>5,A1<10),1,0),"",and(A1>5,A1<10),1,0)


this will return a blank instead of #N/A, allowing you to write your sum formula as =sum(C:C) rather than having to change the formula to it being the last cell in column C with data in.

Hope I am making sense?

Paul


Related articles

· Prepare for your MOS Certification with MS Excel Courses
· Why Excel Training (Sometimes) Doesn't Work and What You Can Do About It
· Interesting Lifestyle Applications for Microsoft Excel
· Microsoft Excel Training Advanced Courses - Making Data Validation Work For You
· Tools From Advanced Excel Courses: Goal Seek and Solver

Excel tip:

Difference between Two Dates

The DATEDIF function computes the difference between two dates. The DATEDIF function is as follows:

=DATEDIF (Date1,Date2,Interval)

Please note that Date1 must be less than (earlier) or equal to Date2

Please note that Interval must be one of the following codes: "d" (in days), "m" (in months), "y" (in years) expressed in quotes


View all Excel hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz