How do I delete specified times from a spreadsheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a spreadsheet that is using a nested array to add column L after
meeting specified criteria in columns A and B. Columns H and I are times.
Column L is the difference between H and I.

What I am attempting to do is have column L calculate the difference only if
the times are between 8:00 and 22:00 in column H. I would want the L column
to show zero if the criteria is not met. I have used "MOD(I3636-H3636,1)"
as the formula to calculate the time difference between H and I.
 
Hi Jay

Try
=MOD(MIN(TIME(22,0,0),I3636)-MAX(TIME(8,0,0),H3636),1)
 

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.

Ask a Question

Back
Top