Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jay Jay is offline
external usenet poster
 
Posts: 671
Default How do I delete specified times from a spreadsheet

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.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default How do I delete specified times from a spreadsheet

Hi Jay

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

--
Regards

Roger Govier


"Jay" wrote in message
...
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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete specific text in spreadsheet SITCFanTN Excel Worksheet Functions 2 June 4th 06 02:12 AM
unable to delete page break on Excel spreadsheet sonjsull Excel Worksheet Functions 1 June 3rd 06 07:16 PM
delete series of letter in spreadsheet kendraa Excel Worksheet Functions 6 November 22nd 05 12:16 AM
Mirror spreadsheet? Rykar2 Excel Discussion (Misc queries) 4 November 12th 05 03:50 AM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM


All times are GMT +1. The time now is 11:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"