GHOSTOF309
New Member
- Joined
- Jun 7, 2023
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hello all,
I am somewhat of a novice at Excel but have been dabbling in it over the past few years learning on my own.
I have made monthly report for employees at work to include rows of cells for hours worked each day and time off used each day (vacation, personal, sick, etc). If you see in the first picture below, duty hours will always just be a number equalling the number of hours worked. The "other" hours would be listed as the number of hours taken off of work along with a letter indicating what type of time was used to take off... ex: 4 hours vacation time would be 4V, 4 hours personal time would be 4P and so on. I have figured out the macro that I needed to be able to add cells that include text using sum_only_numbers which works well for adding horizontally and vertically.
At the bottom of my worksheet i have cells for the total amount of Vacation, Personal, Sick time etc. used for the month. I am trying to figure out how to make a formula for each cell under Personal, Sick, Vacation etc in picture #2 to add the cells in picture #1 automatically determined by the letter used 4P, 4V, 4S etc. I have found numerous formulas but none seem to work.
Thanks in advance for any and all assistance.
I am somewhat of a novice at Excel but have been dabbling in it over the past few years learning on my own.
I have made monthly report for employees at work to include rows of cells for hours worked each day and time off used each day (vacation, personal, sick, etc). If you see in the first picture below, duty hours will always just be a number equalling the number of hours worked. The "other" hours would be listed as the number of hours taken off of work along with a letter indicating what type of time was used to take off... ex: 4 hours vacation time would be 4V, 4 hours personal time would be 4P and so on. I have figured out the macro that I needed to be able to add cells that include text using sum_only_numbers which works well for adding horizontally and vertically.
At the bottom of my worksheet i have cells for the total amount of Vacation, Personal, Sick time etc. used for the month. I am trying to figure out how to make a formula for each cell under Personal, Sick, Vacation etc in picture #2 to add the cells in picture #1 automatically determined by the letter used 4P, 4V, 4S etc. I have found numerous formulas but none seem to work.
Thanks in advance for any and all assistance.