This equation gives me #NUM! in the cell when x< 0 although I expect it to give me 1 per the MAX function. If x > 0 , it works as expected. any help?
= MAX(ROUNDDOWN(0.5*((x)^0.5 + 1),0),1)
This equation gives me #NUM! in the cell when x< 0 although I expect it to give me 1 per the MAX function. If x > 0 , it works as expected. any help?
= MAX(ROUNDDOWN(0.5*((x)^0.5 + 1),0),1)
Last edited by tdschulz; 11-09-2012 at 02:25 PM.
Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
HTH
Regards, Jeff
Excel does not find square root of -ve number.
= MAX(ROUNDDOWN( 0.5 * (( ABS(x)^ 0.5 ) * x / ABS(x) + 1),0),1).
x / ABS(x) , retains the sign, of course, you can use if statement with x < 0 or x > 0 logic.
Ah, Of course! thank you.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks