Thread
:
How do I define the signum function sign(x) in Excel?
View Single Post
#
3
Tushar Mehta
Posts: n/a
Do you really mean sign(x)=0 if x<0? If not (and you meant sign(x)=-1
if x<0), then check XL help for the SIGN function.
--
Regards,
Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
In article ,
says...
I am trying to define the function sign(x) in Excel. Sign (x) = 1 if x0,
sign(x)=0 if x<0 and sign(0)=0. I know that it is probably straightforward to
do as an if statement, but I wondered if there is just an explicit function
in Excel that would do it for me.
Reply With Quote