Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

formula question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob - 01 Sep 2006 15:33 GMT
B55 calculates the difference of two values
B56 calculates square root of B55
I want to set B56 to zero if B55 is negative.

How do I do this?

Thank you,
Rob

Excel 2003 (11.6355.6568) SP1
Domenic - 01 Sep 2006 15:48 GMT
Try...

=IF(B55>0,B55^2,0)

Hope this helps!

> B55 calculates the difference of two values
> B56 calculates square root of B55
[quoted text clipped - 6 lines]
>
> Excel 2003 (11.6355.6568) SP1
Rob - 01 Sep 2006 15:48 GMT
Never-mind.  I got it.

Thanks,
Rob

> B55 calculates the difference of two values
> B56 calculates square root of B55
[quoted text clipped - 6 lines]
>
> Excel 2003 (11.6355.6568) SP1
ChuckF - 01 Sep 2006 15:54 GMT
=if(b55<0,"0",SQRT(B55))
HTH

> B55 calculates the difference of two values
> B56 calculates square root of B55
[quoted text clipped - 6 lines]
>
> Excel 2003 (11.6355.6568) SP1
Dana DeLouis - 01 Sep 2006 16:34 GMT
One way:  =SQRT(MAX(B55,0))

Signature

Dana DeLouis
Windows XP, Office 2003

> B55 calculates the difference of two values
> B56 calculates square root of B55
[quoted text clipped - 6 lines]
>
> Excel 2003 (11.6355.6568) SP1
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.