ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   401 k formula (https://www.excelbanter.com/excel-worksheet-functions/46096-401-k-formula.html)

stacy

401 k formula
 
if # of years employed is in C5, salary is in D5, percent to contribute is in
D2...I need a formula that determines...IF number of years employed is
greater than or equal to one then the contribution is equal to the percent
multiplied by the salary; otherwise the contribution is zero.

Bob Phillips

=IF(C5=1,D5*D2,0)

--
HTH

Bob Phillips

"stacy" wrote in message
...
if # of years employed is in C5, salary is in D5, percent to contribute is

in
D2...I need a formula that determines...IF number of years employed is
greater than or equal to one then the contribution is equal to the percent
multiplied by the salary; otherwise the contribution is zero.




stacy

Bob, this is what I used but it is not putting the "0" in...any suggestions???

"Bob Phillips" wrote:

=IF(C5=1,D5*D2,0)

--
HTH

Bob Phillips

"stacy" wrote in message
...
if # of years employed is in C5, salary is in D5, percent to contribute is

in
D2...I need a formula that determines...IF number of years employed is
greater than or equal to one then the contribution is equal to the percent
multiplied by the salary; otherwise the contribution is zero.





Bob Phillips

Then surely that suggest that C5 is greater or equal 1?

--
HTH

Bob Phillips

"stacy" wrote in message
...
Bob, this is what I used but it is not putting the "0" in...any

suggestions???

"Bob Phillips" wrote:

=IF(C5=1,D5*D2,0)

--
HTH

Bob Phillips

"stacy" wrote in message
...
if # of years employed is in C5, salary is in D5, percent to

contribute is
in
D2...I need a formula that determines...IF number of years employed is
greater than or equal to one then the contribution is equal to the

percent
multiplied by the salary; otherwise the contribution is zero.







David McRitchie

Or perhaps zero values is not checked in options:
Tools, Options, View, [x] zero values

"Bob Phillips" wrote...
Then surely that suggest that C5 is greater or equal 1?

"stacy" wrote ...
Bob, this is what I used but it is not putting the "0" in...any

suggestions???

"Bob Phillips" wrote: =IF(C5=1,D5*D2,0)




stacy

No, the years employed is like 0.88...

"Bob Phillips" wrote:

Then surely that suggest that C5 is greater or equal 1?

--
HTH

Bob Phillips

"stacy" wrote in message
...
Bob, this is what I used but it is not putting the "0" in...any

suggestions???

"Bob Phillips" wrote:

=IF(C5=1,D5*D2,0)

--
HTH

Bob Phillips

"stacy" wrote in message
...
if # of years employed is in C5, salary is in D5, percent to

contribute is
in
D2...I need a formula that determines...IF number of years employed is
greater than or equal to one then the contribution is equal to the

percent
multiplied by the salary; otherwise the contribution is zero.







stacy

Ok guys, this is the formula I used =IF($C$13=1,D13*$F$4,0) and it is not
giving me a zero in my less than a year cells....do I not need to use
absolute reference???

"David McRitchie" wrote:

Or perhaps zero values is not checked in options:
Tools, Options, View, [x] zero values

"Bob Phillips" wrote...
Then surely that suggest that C5 is greater or equal 1?

"stacy" wrote ...
Bob, this is what I used but it is not putting the "0" in...any

suggestions???

"Bob Phillips" wrote: =IF(C5=1,D5*D2,0)





stacy

I figured it out....Thanks!

"stacy" wrote:

Ok guys, this is the formula I used =IF($C$13=1,D13*$F$4,0) and it is not
giving me a zero in my less than a year cells....do I not need to use
absolute reference???

"David McRitchie" wrote:

Or perhaps zero values is not checked in options:
Tools, Options, View, [x] zero values

"Bob Phillips" wrote...
Then surely that suggest that C5 is greater or equal 1?

"stacy" wrote ...
Bob, this is what I used but it is not putting the "0" in...any
suggestions???

"Bob Phillips" wrote: =IF(C5=1,D5*D2,0)






All times are GMT +1. The time now is 08:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com