ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Creating Nested Functions (https://www.excelbanter.com/excel-discussion-misc-queries/155824-creating-nested-functions.html)

Debra Lisa

Creating Nested Functions
 
Creating Nested Functions using IF AND and IF OR
Help Please. Its for an assignment and I just can't get it.
The problem is as followed:
5 days for Full time employees who have worked 1 or more years.
3 days for Full time employees who have worked less than 1 year or for
part-time employees who have workd more than 2 years
0 days for everyone else.
Enter a formula using a nested If function to determine each employees's
total family leave time.(Hint: USe the And and OR functions.)

I'm using Excel 2003.

Thanks,
DLLewis
--
DLLewis

Bill Kuunders

Creating Nested Functions
 
=IF(AND(A2="fulltime",B2=1),5,IF(AND(A2="fulltime ",B2<1),3,IF(AND(A2="parttime",B2=2),3,0)))

cell a2 has parttime or fulltime
cell b2 has years of service
assuming parttime who have worked 2 years or more,, not "more than 2 years"

Regards

--
Greetings from New Zealand


"Debra Lisa" wrote in message
...
Creating Nested Functions using IF AND and IF OR
Help Please. Its for an assignment and I just can't get it.
The problem is as followed:
5 days for Full time employees who have worked 1 or more years.
3 days for Full time employees who have worked less than 1 year or for
part-time employees who have workd more than 2 years
0 days for everyone else.
Enter a formula using a nested If function to determine each employees's
total family leave time.(Hint: USe the And and OR functions.)

I'm using Excel 2003.

Thanks,
DLLewis
--
DLLewis




Tevuna

Creating Nested Functions
 
See my answer on your other post at the Worksheet Functions forum

"Debra Lisa" wrote:

Creating Nested Functions using IF AND and IF OR
Help Please. Its for an assignment and I just can't get it.
The problem is as followed:
5 days for Full time employees who have worked 1 or more years.
3 days for Full time employees who have worked less than 1 year or for
part-time employees who have workd more than 2 years
0 days for everyone else.
Enter a formula using a nested If function to determine each employees's
total family leave time.(Hint: USe the And and OR functions.)

I'm using Excel 2003.

Thanks,
DLLewis
--
DLLewis


Debra Lisa

Creating Nested Functions
 
Thanks for the assistance, I will give credit where credit is due.
--
DLLewis


"Bill Kuunders" wrote:

=IF(AND(A2="fulltime",B2=1),5,IF(AND(A2="fulltime ",B2<1),3,IF(AND(A2="parttime",B2=2),3,0)))

cell a2 has parttime or fulltime
cell b2 has years of service
assuming parttime who have worked 2 years or more,, not "more than 2 years"

Regards

--
Greetings from New Zealand


"Debra Lisa" wrote in message
...
Creating Nested Functions using IF AND and IF OR
Help Please. Its for an assignment and I just can't get it.
The problem is as followed:
5 days for Full time employees who have worked 1 or more years.
3 days for Full time employees who have worked less than 1 year or for
part-time employees who have workd more than 2 years
0 days for everyone else.
Enter a formula using a nested If function to determine each employees's
total family leave time.(Hint: USe the And and OR functions.)

I'm using Excel 2003.

Thanks,
DLLewis
--
DLLewis






All times are GMT +1. The time now is 06:24 PM.

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