LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Logical value in time formula?

This is a simple question compared to some others here! :-)

I have come across a spreadsheet which does various calculations on time
values. The formula in question is:
=C10+(C10<C5)-C5

....where C5 and C10 are both time values (e.g. 9:30 PM). The formula seeks
to determine the elapsed time between C5 and C10. Obviously, the expression
(C10<C5) is a logical expression, and evaluates to such if it is entered into
a test cell (it evaluates to "TRUE" in every case I tested.) The formula
calculates properly if this term is included, and does NOT calculate properly
if it is NOT included.

I've never used logical expressions in an arithmetic formula. Can anyone
explain why the logical term is necessary, and how it works? I'm just not
comfortable passing the spreadsheet along without understanding how
everything works!

Thanks,
Geebee
 
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
Logical formula from a list charlie Excel Worksheet Functions 4 November 4th 08 05:30 PM
logical formula mike Excel Worksheet Functions 2 October 28th 08 06:21 AM
Help with Logical Formula talltom Excel Worksheet Functions 4 November 5th 07 07:58 PM
A Complicated Logical Formula Yuanhang Excel Discussion (Misc queries) 8 July 1st 07 08:07 PM
Need help about logical formula vlook fomula Excel Worksheet Functions 3 January 24th 07 01:21 PM


All times are GMT +1. The time now is 03:23 PM.

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

About Us

"It's about Microsoft Excel"