Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel 2003 IF function question

Hi. I hope you can help me out. I'm dealing in clock time. I've written the
formula
=if(AN7<.375,.375 If (AN7=.375,AN7))

So, if the content of cell AN7 is before 9:00AM, the formula cell posts
9:00AM and if the content of cell AN7 is later than 9:00AM, the formula cell
posts that time.

The problem is if cell AN7 is blank. The formula cell is now posting
9:00AM, i assume because I have no greater than 0 statement. What I want is
for the formula cell to post blank, or at worse "false".

Is this doable?
--
craig phila
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default excel 2003 IF function question

Try:
=IF(AN7="","",IF(AN7<0.375,0.375,IF(AN7=0.375,AN7 )))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lotus lover" wrote:
Hi. I hope you can help me out. I'm dealing in clock time. I've written the
formula
=if(AN7<.375,.375 If (AN7=.375,AN7))

So, if the content of cell AN7 is before 9:00AM, the formula cell posts
9:00AM and if the content of cell AN7 is later than 9:00AM, the formula cell
posts that time.

The problem is if cell AN7 is blank. The formula cell is now posting
9:00AM, i assume because I have no greater than 0 statement. What I want is
for the formula cell to post blank, or at worse "false".

Is this doable?
--
craig phila

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default excel 2003 IF function question

And of course you don't need the AN7=0.375 test, because you've earlier
tested for AN7<0.375.

=IF(AN7="","",IF(AN7<0.375,0.375,AN7))
or
=IF(AN7="","",MAX(0.375,AN7))
--
David Biddulph

"Max" wrote in message
...
Try:
=IF(AN7="","",IF(AN7<0.375,0.375,IF(AN7=0.375,AN7 )))


"lotus lover" wrote:
Hi. I hope you can help me out. I'm dealing in clock time. I've written
the
formula
=if(AN7<.375,.375 If (AN7=.375,AN7))

So, if the content of cell AN7 is before 9:00AM, the formula cell posts
9:00AM and if the content of cell AN7 is later than 9:00AM, the formula
cell
posts that time.

The problem is if cell AN7 is blank. The formula cell is now posting
9:00AM, i assume because I have no greater than 0 statement. What I want
is
for the formula cell to post blank, or at worse "false".

Is this doable?
--
craig phila



  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default excel 2003 IF function question

"David Biddulph" <groups [at] biddulph.org.uk wrote:
=IF(AN7="","",IF(AN7<0.375,0.375,AN7))
or
=IF(AN7="","",MAX(0.375,AN7))


Yes. Thanks for refinements, David.
Guess I was too hung up with the front IF part of it <g
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel 2003 IF function question

thanx max
--
craig phila


"Max" wrote:

"David Biddulph" <groups [at] biddulph.org.uk wrote:
=IF(AN7="","",IF(AN7<0.375,0.375,AN7))
or
=IF(AN7="","",MAX(0.375,AN7))


Yes. Thanks for refinements, David.
Guess I was too hung up with the front IF part of it <g
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel 2003 IF function question

thnax so much. works exactly right.
--
craig phila


"David Biddulph" wrote:

And of course you don't need the AN7=0.375 test, because you've earlier
tested for AN7<0.375.

=IF(AN7="","",IF(AN7<0.375,0.375,AN7))
or
=IF(AN7="","",MAX(0.375,AN7))
--
David Biddulph

"Max" wrote in message
...
Try:
=IF(AN7="","",IF(AN7<0.375,0.375,IF(AN7=0.375,AN7 )))


"lotus lover" wrote:
Hi. I hope you can help me out. I'm dealing in clock time. I've written
the
formula
=if(AN7<.375,.375 If (AN7=.375,AN7))

So, if the content of cell AN7 is before 9:00AM, the formula cell posts
9:00AM and if the content of cell AN7 is later than 9:00AM, the formula
cell
posts that time.

The problem is if cell AN7 is blank. The formula cell is now posting
9:00AM, i assume because I have no greater than 0 statement. What I want
is
for the formula cell to post blank, or at worse "false".

Is this doable?
--
craig phila




  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default excel 2003 IF function question

Welcome, Craig.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lotus lover" wrote in message
...
thanx max
--
craig phila



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
Excel 2003 Line Chart Question Marilyn Charts and Charting in Excel 2 January 3rd 07 02:01 PM
Excel 2003 Question Marilyn Excel Discussion (Misc queries) 0 December 22nd 06 08:24 PM
excel 2003 question CorinDarksoul Excel Worksheet Functions 5 June 26th 06 05:05 PM
Excel 2003 - Autofilter Question windsong Excel Discussion (Misc queries) 4 December 13th 05 08:11 PM
Question about Excel 2003 Jason Excel Discussion (Misc queries) 1 April 27th 05 03:53 PM


All times are GMT +1. The time now is 11:20 PM.

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"