Is there a sum if formula if a range of cells has a specific letter with a number? I want to sum the totals for vacation and sick leaves and I will be entering "V8" or "S8" for example. The letter V represents vacation and the letter S is for sick. The number 8 represents the amount of hours they used a specific type of leave so that number could change into quarters as well. Example, V3.25 as they may only need a part of the day to take off for vacation. So basically a range of cells that I type this data into will represent each day of the month and then 2 cells to sum up the vacation and sick totals separately.
Example would be cells A1:AD1 will be the range that I type in V8 or S8 and I would like cell A2 (vacation total) to sum up all the hours of V8s that are typed in the A1:AD1 range. Then cell B2 (sick total) to sum up all the hours for S8 that are typed into the A1:AD1 range.
Is this possible? Thank you so much for the help.
May also need an option for changing V8 to EV8 sometimes for emergency vacation and S8 may change to MA8 for medical appointment. The summing of these changes will still go into the same totals. I just need to be able to add these other options for vacation and sick.
Example would be cells A1:AD1 will be the range that I type in V8 or S8 and I would like cell A2 (vacation total) to sum up all the hours of V8s that are typed in the A1:AD1 range. Then cell B2 (sick total) to sum up all the hours for S8 that are typed into the A1:AD1 range.
Is this possible? Thank you so much for the help.
May also need an option for changing V8 to EV8 sometimes for emergency vacation and S8 may change to MA8 for medical appointment. The summing of these changes will still go into the same totals. I just need to be able to add these other options for vacation and sick.
Last edited: