With A1 displaying 8:00 AM, and B1 displaying 4:30 PM, the formula =B1-A1
results in 8:30 when the cell has format h:mm. The formula =(b1-A1)*25
displayed 8.5 when General format
If you need to cross midnight, use =(B1-A1)+(A1>B1) the last term add 1 to
the results of the subtraction
best wishes & Merry Christmas
Any "day" but I have been in the egg-nog.
Tanoaks for the correction
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.