User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Excell Question Page [1]  
REDWOLF
All American
790 Posts
user info
edit post

I am trying to set up a spread sheet that will allow me to track salary costs. The question I have is that I have some cells that I need to track on a one year basis and others that are on a two year basis. An example would be if you have someone that is signed to a one year contract and others that are signed for two or more. Here is what I need:

COl A: Name COl B: Length Col C Salary
person a 2 35,000
person b 1 42,000
person c 2 36,000
person d 1 38,000

Total for 1 year[= cells]
total for 2 year[= cells]

I then have a two total cells that I would like to add up to the salary totals but the first would only add up to what the one year contracts are and the second one would add up to all of the contracts that are more 2 years or more.

Is this possible or is it just eaiser to just click through with out the formulas?

Thanks

Is there a way to do this with the formula options. I am not real framilar with the IF statments and can not get it to work

7/18/2006 6:01:04 PM

OmarBadu
zidik
25071 Posts
user info
edit post

is this for a class or job?

7/18/2006 6:02:17 PM

REDWOLF
All American
790 Posts
user info
edit post

more so a hobby,

7/18/2006 6:02:58 PM

qntmfred
retired
40726 Posts
user info
edit post

use sumif()

[Edited on July 18, 2006 at 6:15 PM. Reason : =SUMIF(B1:B5,"=1",C1:C5), =SUMIF(B1:B5,"=1",C1:C5)+2*SUMIF(B1:B5,"=2",C1:C5)]

7/18/2006 6:10:57 PM

REDWOLF
All American
790 Posts
user info
edit post

^ Thanks a lot that worked out for now. In the future I need to make it more complicated because I will have contracts that are over a 2 year period. But for right now it will work. Is there a way to set it up that the IF statement will work if your value is ">1" then (C2:C5) and so on....

Thanks again.

[Edited on July 18, 2006 at 6:34 PM. Reason : .]

[Edited on July 18, 2006 at 6:34 PM. Reason : .]

7/18/2006 6:33:56 PM

qntmfred
retired
40726 Posts
user info
edit post

SUMPRODUCT(B1:B5,C1:C5) is the more general form of what you are doing

7/18/2006 6:37:59 PM

 Message Boards » Tech Talk » Excell Question Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.