Spaceballs_the_fanboy
New Member
- Joined
- Feb 15, 2018
- Messages
- 18
Hi folks,
I think I have a very complicated way of explaining something that should be rather simple, I think.
Background: My work offers credits. You earn credits after working 10 business days in a given month.
Worksheet: I created my work sheet so that Row 1 is equal to Day 1 of the month, etc. up to Row 31. Each month is 2 columns wide, starting with January in Columns D, and E. Using January as an example, I want to put that an employee started working January 2. In the spreadsheet I indicate this with the word START in E2, E being the 2nd column utilized for the month, cell 2 being the 2nd day of the month.
My problem:
I can calculate the credits using formulas, which is rather inefficient. But, also, I do not know how to formulate if there is a second condition. The second condition is the END date. In this example, lets use March 6. To indicate this I would use the word END in I6. I do not want to have to constantly use one formula or the other depending if START, or END is used.
The solution I need, based on the formulas I know, if there is a better solution, please offer it :
I want Excel to Check columns. E, G, I, etc. for either the word START or END
If found, what is the row - the row number indicates the day of the month
If START, calculate networkdays (excluding weekends, but holidays are ok and do not need to be exluded) from START day to end of month
If END, calculate networkdays from END to beginning of the month
If networkdays is greater than, or equal to 10 = 9.375
Also... if a month is between START and END = 9.375 (I have been doing this manually)
BONUS FEATURE:
Is there a way to identify NOTnetworkdays and to fill the cell with the colour black? if it can, it would also be cool to see "holidays" filled in some colour
Thank you
I think I have a very complicated way of explaining something that should be rather simple, I think.
Background: My work offers credits. You earn credits after working 10 business days in a given month.
Worksheet: I created my work sheet so that Row 1 is equal to Day 1 of the month, etc. up to Row 31. Each month is 2 columns wide, starting with January in Columns D, and E. Using January as an example, I want to put that an employee started working January 2. In the spreadsheet I indicate this with the word START in E2, E being the 2nd column utilized for the month, cell 2 being the 2nd day of the month.
My problem:
I can calculate the credits using formulas, which is rather inefficient. But, also, I do not know how to formulate if there is a second condition. The second condition is the END date. In this example, lets use March 6. To indicate this I would use the word END in I6. I do not want to have to constantly use one formula or the other depending if START, or END is used.
The solution I need, based on the formulas I know, if there is a better solution, please offer it :
I want Excel to Check columns. E, G, I, etc. for either the word START or END
If found, what is the row - the row number indicates the day of the month
If START, calculate networkdays (excluding weekends, but holidays are ok and do not need to be exluded) from START day to end of month
If END, calculate networkdays from END to beginning of the month
If networkdays is greater than, or equal to 10 = 9.375
Also... if a month is between START and END = 9.375 (I have been doing this manually)
BONUS FEATURE:
Is there a way to identify NOTnetworkdays and to fill the cell with the colour black? if it can, it would also be cool to see "holidays" filled in some colour
Thank you