Solved

IF formula

Posted on 2014-10-17
8
75 Views
Last Modified: 2014-10-17
Collumn AB on the attached "combined" sheet contains a number.

I need a formula in the neighbouring cell AC to perform the following;

IF AB(...) = 11 return "Platinum"
IF AB(..) >=9<11 return "Gold"
IF AB(..)>=7<9 return "Silver"
IF AB(...)>=6<7 return "Bronze"
IF AB (...)<6 return "Poor Performer"

Hopefully this should be fairly straight forward.
EE-combined.xlsx
0
Comment
Question by:robmarr700
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 51

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 300 total points
ID: 40386475
Copy the below formula to the cell AC:2 and then drag it till the end of AC column:
=IF(AB2<6;"Poor Performer";IF(AB2<7;"Bronze";IF(AB2<9;"Silver";IF(AB2<11;"Gold";"Platinum"))))

Open in new window

0
 

Author Comment

by:robmarr700
ID: 40386484
This is returning an error and highlighting the first number "6" in the sequence of the formula
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 40386485
Alternatively setup a small table as per below:

0      Poor Performer
6      Bronze
7      Silver
9      Gold
1000000      Platinum

Then use a lookup formula:

=VLOOKUP(AB2,$A$2:$B$6,2)

A2:B6 being the table above.

Thanks
Rob H
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 33

Accepted Solution

by:
Rob Henson earned 200 total points
ID: 40386494
Maybe Vitor's suggestion is not working because his locale uses the semicolon in formulae rather than a comma.

With commas instead:

=IF(AB2<6,"Poor Performer",IF(AB2<7,"Bronze",IF(AB2<9,"Silver",IF(AB2<11,"Gold","Platinum"))))

Thanks
Rob
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40386498
Robmarr, check if you copied all characters. Or you can post here your Excel file so I can check it for you.
0
 
LVL 26

Expert Comment

by:ProfessorJimJam
ID: 40386509
Please find attached.
EE-combined.xlsx
0
 

Author Comment

by:robmarr700
ID: 40386512
Good Spot Rob,

Thanks Guys
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40386520
Yes, Regional Settings. For us comma it's used for decimal numbers so we need to use ';' for separate parameters.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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 create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

632 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