ATTN: Excel Pros: How to use a nested if function in excel to calculate vacation days?
-
I so need help right now. I need to use a nested if function to calculate the # of vacation days based on an employee's status. cell B6=ft or pt cell D6=years employed employees get 15 days for ft employees, 10 days for pt employees, and 0 days for everyone else I cannot figure out my nested if function. Can anyone help me?? Please!!!
-
Answer:
=IF(B6="ft",15,IF(B6="pt",10,0))
lilsnob8681 at Yahoo! Answers Visit the source
Other answers
=IF(B6="ft",15,IF(B6="pt",10,0))
brayden
The solution is to use countif and offset worksheet functions together with offset nested inside countif. Assume you have your 12 mth table on sheet2, excluding the column titles which is the month number the data block is A2:L21. The cell to show result, you put formula =COUNTIF( OFFSET( Sheet2!A2:A21, 0,A1 ,20,1),1) Inside the offset function: Sheet2!A2:A21 is the 1st mth data 0 is the offset of row, irrelevant in this case A1 is the offset of column, enter integer range from 0 to 11(1st mth to 12th mth) in Cell A1, or directly replace A1 with integer of that range. When enter 0(either in the formula or in cell A1), it means using A2:A21(1st mth) itself, if 11 is entered, it means move right 11 column from A2:A21 which is the 12th mth. 20 is the number of rows you want the formula return, 1 is the number of column you want the formula return. Hope this helps.
Winifred
Related Q & A:
- How to use a BackgroundWorker?Best solution by Stack Overflow
- How to query a nested document in mongo?Best solution by Stack Overflow
- How to access a nested function from another nested function in javascript?Best solution by devarticles.com
- How to use a compass to find where true north and magnetic north is?Best solution by adventure.howstuffworks.com
- How long can a Canadian stay in the US for a vacation?Best solution by forbes.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.