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  

=if formulae



 
 
Thread Tools Display Modes
  #1  
Old April 12th, 2010, 09:45 PM posted to microsoft.public.excel.newusers
Janie
external usenet poster
 
Posts: 100
Default =if formulae

I have and excel spreadsheet which I wish to record an error message if one
cell as a value of more than zero and the cell below it has a value of zero.

I have managed the first part of the formula but can not figure out how if
the both cells are zero to return a " " result.
  #2  
Old April 12th, 2010, 10:05 PM posted to microsoft.public.excel.newusers
Joe User[_2_]
external usenet poster
 
Posts: 757
Default =if formulae

"Janie" wrote:
I have and excel spreadsheet which I wish to
record an error message if one cell as a value
of more than zero and the cell below it has a
value of zero.


Ostensibly:

=if(and(A10,A2=0), "ERROR", "")


----- original message -----

"Janie" wrote:
I have and excel spreadsheet which I wish to record an error message if one
cell as a value of more than zero and the cell below it has a value of zero.

I have managed the first part of the formula but can not figure out how if
the both cells are zero to return a " " result.

  #3  
Old April 13th, 2010, 05:40 AM posted to microsoft.public.excel.newusers
ozgrid.com
external usenet poster
 
Posts: 328
Default =if formulae

=IF(AND(A10,A2=0),"ERROR","")


--
Regards
Dave Hawley
www.ozgrid.com
"Janie" wrote in message
...
I have and excel spreadsheet which I wish to record an error message if one
cell as a value of more than zero and the cell below it has a value of
zero.

I have managed the first part of the formula but can not figure out how if
the both cells are zero to return a " " result.


 




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


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