Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Multiple conditions for one function

I want a function to occur when a value in one cell is greater than 0 and
when it equals zero. However when the cell is blank i do not want the
function to occur or for there to be anything visible in the cell. Right now
it is treating a blank cell as zero.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 97
Default Multiple conditions for one function

Hi,

Following should help ...

=IF(AND(A1=0,A1<""),"YES","")

HTH
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Multiple conditions for one function

With
A1: (a number, zero, or blank)

Try this:
=IF(A1="","",IF(A1,"your < zero formula","your = zero formula"))

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Minnie2627" wrote in message
...
I want a function to occur when a value in one cell is greater than 0 and
when it equals zero. However when the cell is blank i do not want the
function to occur or for there to be anything visible in the cell. Right
now
it is treating a blank cell as zero.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Multiple conditions for one function

=if(a1=0;function;"")

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Minnie2627" escreveu:

I want a function to occur when a value in one cell is greater than 0 and
when it equals zero. However when the cell is blank i do not want the
function to occur or for there to be anything visible in the cell. Right now
it is treating a blank cell as zero.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Multiple conditions for one function

And how does that treat a blank cell, Marcelo?
--
David Biddulph

"Marcelo" wrote in message
...
=if(a1=0;function;"")

hth


"Minnie2627" escreveu:

I want a function to occur when a value in one cell is greater than 0 and
when it equals zero. However when the cell is blank i do not want the
function to occur or for there to be anything visible in the cell. Right
now
it is treating a blank cell as zero.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Multiple conditions for one function

yes you are right, I lost some part of the question.

sorry for the mistake
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"David Biddulph" escreveu:

And how does that treat a blank cell, Marcelo?
--
David Biddulph

"Marcelo" wrote in message
...
=if(a1=0;function;"")

hth


"Minnie2627" escreveu:

I want a function to occur when a value in one cell is greater than 0 and
when it equals zero. However when the cell is blank i do not want the
function to occur or for there to be anything visible in the cell. Right
now
it is treating a blank cell as zero.




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Multiple conditions for one function

=IF(AND(A2<"",A2=0),"whatever you want","")
--
David Biddulph

"Minnie2627" wrote in message
...
I want a function to occur when a value in one cell is greater than 0 and
when it equals zero. However when the cell is blank i do not want the
function to occur or for there to be anything visible in the cell. Right
now
it is treating a blank cell as zero.



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
multiple conditions with IF function. Pramit Excel Worksheet Functions 2 June 25th 07 06:05 PM
Multiple Conditions within an IF Function Will Excel Worksheet Functions 2 October 7th 06 02:06 AM
If Function with Multiple Conditions tlosgyl3 Excel Discussion (Misc queries) 6 July 11th 06 01:25 AM
Logiacl function with multiple conditions stellarblue11 Excel Worksheet Functions 4 May 25th 06 03:55 PM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


All times are GMT +1. The time now is 01:51 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"