Solved

if statement

Posted on 2012-03-16
5
167 Views
Last Modified: 2012-03-21
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
Comment
Question by:wcody
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:csoussan
ID: 37730971
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

by:csoussan
ID: 37737789
Hi wcody,

Any update on your issue?
0
 

Author Comment

by:wcody
ID: 37738680
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

by:wcody
ID: 37738821
To further clarify shet 5620 cell G8 should be sheet 5100 e8+sheet 539e6* sheet 5620f8
0
 
LVL 8

Accepted Solution

by:
csoussan earned 500 total points
ID: 37740307
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.

I made the following assumptions:

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to transpose my example data using VBA 9 34
Msbbox Notice (4 days) 27 59
Need to get a Word Count from a Word file 19 19
MIN per Month 8 24
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

803 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