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
Solved

Multiple IF & multiply Statement

Posted on 2013-11-19
6
117 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 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 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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 will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

856 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