Solved

Same thing but looking within a range

Posted on 2011-09-28
2
165 Views
Last Modified: 2012-05-12
Hello,

I just had a thought, how could I manipulate the above formula to look for a certain range istead of just one number,
For example, what would I do if I had the following ratings range?

Ratings Range
1-2 ticks = 5
3-5 ticks = 4
6-9 ticks = 3
10-12 ticks = 2
12 and over ticks = 1
0
Comment
Question by:vegas86
2 Comments
 
LVL 23

Accepted Solution

by:
Michael74 earned 500 total points
ID: 36812863
An IF statement stops calculating once it reached a statement that is true therefore you can use the following

=IF(COUNTIF(A2:E2,"P")<=2,5,IF(COUNTIF(A2:E2,"P")<=5,4,IF(COUNTIF(A2:E2,"P")<=9,3,IF(COUNTIF(A2:E2,"P")<=12,2,1))))

Michael
0
 

Author Closing Comment

by:vegas86
ID: 36812879
Thanks again Michael!! :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question