#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel 2003 formula

howdy. i hope you can help me with this simple formula.

cells A1 and B1 are time formatted. cell C1 is number formatted.

if cell A1 shows a time before noon and cell B1 shows a time after 1:00pm, i
want cell C1 to post .50. if either of these conditions is not met, i want
cell C1 to post 0.00.

how do i write the formula in cell C1?

thank for the assist.
--
craig phila
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default excel 2003 formula

=IF(AND(A1<0.5,B10.5416666666666),0.5,0)

--
Gary''s Student - gsnu200779
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default excel 2003 formula

Here's another way......

=(A1<"12:00"+0)*(B1"13:00"+0)/2

"Gary''s Student" wrote:

=IF(AND(A1<0.5,B10.5416666666666),0.5,0)

--
Gary''s Student - gsnu200779

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default excel 2003 formula

Or let Excel do some of the arithmetic and use
=IF(AND(A1<0.5,B113/24),0.5,0)
--
David Biddulph

"Gary''s Student" wrote in message
...
=IF(AND(A1<0.5,B10.5416666666666),0.5,0)

--
Gary''s Student - gsnu200779



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
Need help with a formula in excel 2003 Stephen C. Excel Discussion (Misc queries) 1 April 19th 07 07:24 PM
Need Help With a Excel 2003 Formula Bazza Excel Worksheet Functions 2 November 13th 06 11:21 PM
Can I get help with an excel 2003 formula miltdp Excel Worksheet Functions 1 January 23rd 06 07:11 PM
Excel 2003 - Need Formula Help windsong Excel Discussion (Misc queries) 1 December 13th 05 08:26 PM
Excel 2003 - Need Formula Help windsong Excel Discussion (Misc queries) 3 November 23rd 05 05:11 PM


All times are GMT +1. The time now is 05:55 AM.

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"