Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# Multiple IF & multiply Statement

Posted on 2013-11-19
Medium Priority
124 Views
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
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
• 4
• 2

LVL 33

Expert Comment

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

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

ID: 39659153
You legend Rob, that is tidy!

Thanks
0

LVL 33

Expert Comment

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

ID: 39659164
Thanks Rob,

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

Regards,
Seamus
0

LVL 33

Expert Comment

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

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month9 days, left to enroll