Are you trying to calculate 11 am divided by 6 pm? I don't think that has any meaning.
On the other hand, if you're trying to compute the difference between 11 am and 6 pm, as in started work at 11, ended at 6, that's seven hours, you might try this:
1. Format the cells in question, including the calculation cells as "time" cells - picking your favorite, i.e., military, etc. Or make a custom time format so 11:00 shows up as "11a" - it's easy.
2. After that, it's pretty straight-forward. The only trick is that you _have_ to enter the hours and minutes as "11:00" and not "11" or "11a" as Excel won't know what you mean.
3. I've found that using the military time format makes things easier (e.g., 6 pm = 18:00, etc.).
4. Excel will do the math properly, that is, 6 pm - 11 am = 7 hours, or 7:00. Play around with the Format > Cell capabilities, you'll find what you want.