urbanbison8 said:And finally, I’m adding a formula to sum everything up for the total hours, and everything seems fine.
Now, how can I make it so that when I type a word like "Go" (vacation) instead of a number, Excel actually recognizes that word as the value 8 (eight hours) and includes it in the hourly sum?
Maybe this will help you :confused:: I usually work with a dummy cell (A1), and since you have a larger dataset, you can just apply the same logic by changing the cell reference... You can set up a formula like =if(A1="go";8;A1). The only downside to this approach is that you have to tuck the formula away somewhere next to your table or on a new Sheet2, sum those results there, and then plug that final number into your main table (specifically where you mentioned: ''And finally, I’m adding a formula to sum everything up for the total hours''). Otherwise, here is what the formula does: if the specified cell (A1) contains the word ''go'', Excel spits out the number 8; if that word isn't there, it just keeps whatever was entered (like 4, 5, 6, 7, 8 hours, or whatever number you need).
Note: The " symbol is just standard quotation marks from your keyboard using shift+2.