Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Same thing but looking within a range

Posted on 2011-09-28
2
Medium Priority
?
171 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:
Michael Fowler earned 2000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

886 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