Solved

if statement

Posted on 2012-03-16
165 Views
I need to have a formula changed in sheet  5620-Rhealth & 5640-Retire (the formulas that need tobe chaged start at g6.  they need to include the monthly figures in sheet 5390-Stipend for the 3 employees listed in this sheet.
In other words cells g6:ag29 in sheet 5620 represent the amount of dollars we have to spend in retirements cost based on an employees salary, the 3 in sheet 5390 receive an additional stipend that must also be factored into this retirement cost calculation.
expert.xlsx
0
Question by:wcody
• 3
• 2

LVL 8

Expert Comment

I'm not sure I fully understood your request but take a look at the attached and let me know if it works for you.

Hope it helps!
expert.xlsx
0

LVL 8

Expert Comment

Hi wcody,

0

Author Comment

This doesn't appear to be the solution.

Basically I want sheet 5620 & 5640 to include any salary amount from 5390 in their existing calculation.  They are simply mulitplying the salaries from sheet 5100 right now and they need to include the additional salaries listed in sheet 5390.
0

Author Comment

To further clarify shet 5620 cell G8 should be sheet 5100 e8+sheet 539e6* sheet 5620f8
0

LVL 8

Accepted Solution

csoussan earned 500 total points
I've attached a new file.  The revised formula is as follows:

=(IFERROR(VLOOKUP(\$B6,'5100-Salaries'!\$B\$6:\$AE\$29,COLUMN(G\$1)-3,FALSE),0)+IFERROR(VLOOKUP(\$B6,'5390-Stipend'!\$B\$6:\$AF\$8,COLUMN(G\$1)-3,FALSE),0))*\$F6

My formula adds the values from '5100-Salaries' to 5390-Stipend where the ID Numbers in column B match and multiples that number by the value in column F.

1) '5100-Salaries' and '5390-Stipend' together before multiple the result by column F.
2) You want all columns multipled by column F.

Let me know if that works. :)
expert.xlsx
0

Featured Post

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…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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…
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}