A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

A challenge, Serious help requested



 
 
Thread Tools Display Modes
  #11  
Old June 3rd, 2006, 09:24 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default A challenge, Serious help requested


Thank you both for all the help. Sandy's formula did exactly what I was
looking for. I can now move on to easier problems.



Thanks again
Dave


--
dps9460
------------------------------------------------------------------------
dps9460's Profile: http://www.excelforum.com/member.php...o&userid=14725
View this thread: http://www.excelforum.com/showthread...hreadid=548056

  #12  
Old June 3rd, 2006, 09:46 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default A challenge, Serious help requested

Hi Ron,

True, Sandy....I failed to mention that the formula I posted is an ARRAY
FORMULA*.


Yes your use or ROW() should have alerted me to that fact.

Your previously posted formula always calculates 24 hours when both
cells are blank.


If you mean the first formula I posted then yes that's right. My last
formula however does the same as yours with the exception that it returns ""
when there is no trip taking place.


--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Ron Coderre"
wrote in message
...

True, Sandy....I failed to mention that the formula I posted is an ARRAY
FORMULA*.

Your previously posted formula always calculates 24 hours when both
cells are blank.

I believe this formula satisfies the OP's requirements:
=IF(AND(ISBLANK(C2),MAX((C$2:C20)*ROW(C$2:C2))=M AX((B$2:B20)*ROW(B$2:B2))),0,IF(C2="",24,C2*24)-IF(B2="",0,B2*24))

That array formula only calculates times for the trip duration,
ignoring blank cells where no trip is in progress.

(thanks for spotting the mispost)

Regards,
Ron

*Note: For array formulas, hold down [Ctrl] and [Shift] when you press
[Enter], instead of just pressing [Enter].


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile:
http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=548056



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ANN: PowerPoint Heaven Updates - Maze Challenge Game tohlz Powerpoint 1 March 1st, 2006 05:49 PM
Conform a total to a list of results? xmaveric General Discussion 1 August 21st, 2005 07:22 PM
Conform a total to a list of results? xmaveric Worksheet Functions 0 August 21st, 2005 10:42 AM
delivered/read receipt requested marvquestion General Discussion 2 May 16th, 2005 08:45 PM
I have a task that was "requested by" someone. At Task window, c. Engr2 General Discussion 0 January 25th, 2005 03:45 PM


All times are GMT +1. The time now is 06:27 AM.


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