?
Solved

Multiple IF & multiply Statement

Posted on 2013-11-19
6
Medium Priority
?
123 Views
Last Modified: 2013-11-19
Hi,

I have attached a spreadsheet where i am allowing users to select different ratings in dropdown boxes which afffect the overall score in I8.

Currently it works fine as i have manually inputted the appropriate score in the formula

=(3*'Standing Data'!C8)+(3*'Standing Data'!G8)+(2*'Standing Data'!K8)+(1*'Standing Data'!O8)

3 = High
2 = Medium
1 = Low

As the users change the dropdowns, i want the numbers to update. So above the first dropdown is high, if a user changed that to low, i would need the formula to calculate as

=(2*'Standing Data'!C8)+(3*'Standing Data'!G8)+(2*'Standing Data'!K8)+(1*'Standing Data'!O8)

Has anyone a suggestion to how i could achieve this?

Many thanks
Multiple-IF-EE.xlsx
0
Comment
Question by:Seamus2626
[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
  • 4
  • 2
6 Comments
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39659130
Have the dropdown populate a cell with the required value of 1 to 3 and then refer to that cell in the formula.

What variety of dropdown control are you using?

Thanks
Rob H
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 2000 total points
ID: 39659144
Sorry just looked at file.

In M1 to M3 I have listed:

Low
Medium
High

then changed the formula to:

=(MATCH(E8,M1:M3,0)*'Standing Data'!C8)+(MATCH(F8,M1:M3,0)*'Standing Data'!G8)+(MATCH(G8,M1:M3,0)*'Standing Data'!K8)+(MATCH(H8,M1:M3,0)*'Standing Data'!O8)

Hope I have understood the rankings OK.

Thanks
Rob H
0
 

Author Closing Comment

by:Seamus2626
ID: 39659153
You legend Rob, that is tidy!

Thanks
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 33

Expert Comment

by:Rob Henson
ID: 39659155
Also looking at your formula in J8, you don't have an option for equal to 3 or equal to 2.15. These at the minute would fall out as "SCC" which I assume would not be correct.

You could probably simplify this formula with a close match lookup:

=VLOOKUP(I8,'Standing Data'!C20:D23,2)

Thanks
Rob H
0
 

Author Comment

by:Seamus2626
ID: 39659164
Thanks Rob,

I just threw that formula in and received an #N/A error?

Regards,
Seamus
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39659378
#N/A would suggest that it is not finding the value of cell I8 in the first column of the range:

Standing Data'!C20:D23

See attached.

Rob H
Copy-of-Multiple-IF-EE.xlsx
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

770 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