Solved

Multiple IF & multiply Statement

Posted on 2013-11-19
6
115 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
  • 4
  • 2
6 Comments
 
LVL 32

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 32

Accepted Solution

by:
Rob Henson earned 500 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 32

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 32

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
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…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now