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 Office » General Discussions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Formula



 
 
Thread Tools Display Modes
  #1  
Old May 31st, 2010, 11:39 PM posted to microsoft.public.office.misc
Yeroc
external usenet poster
 
Posts: 2
Default Conditional Formula

Fairly new to using formula's

I am trying to develope a formula that will:
In cell B2 = A2 - A3 but if B2=A2 I want the value to be "0".


A B
1 33 11
2 22 22
3 0

Please help.
  #2  
Old June 1st, 2010, 09:00 PM posted to microsoft.public.office.misc
JoAnn Paules
external usenet poster
 
Posts: 10,630
Default Conditional Formula

You have to add another column. Using your example and adding a column C:
Cell C2 would contain the formula =IF(B2=A2,"0",(A2-A3))


--
JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"



"Yeroc" wrote in message
...
Fairly new to using formula's

I am trying to develope a formula that will:
In cell B2 = A2 - A3 but if B2=A2 I want the value to be "0".


A B
1 33 11
2 22 22
3 0

Please help.


 




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 06:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.