[Solved] Formula doesn't work

Discuss the spreadsheet application
Post Reply
jackamus
Posts: 6
Joined: Mon Jul 13, 2015 1:28 pm

[Solved] Formula doesn't work

Post by jackamus »

This formula =tan^-1*(A2) produces an error result like (hash)Name?
What am I doing wrong?
Last edited by Hagar Delest on Mon Jul 13, 2015 9:58 pm, edited 1 time in total.
Reason: tagged [Solved].
Open Office 4.1.1 on MacOS 10.10.3
FJCC
Moderator
Posts: 9619
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Formula doesn't work

Post by FJCC »

TAN() is a function but you are not giving it anything to operate on. Do you mean the reciprocal of the tangent of A2

Code: Select all

=1/TAN(A2)
or the inverse tangent of A2

Code: Select all

=ATAN(A2)
or something else?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
jackamus
Posts: 6
Joined: Mon Jul 13, 2015 1:28 pm

Re: Formula doesn't work

Post by jackamus »

I am trying to calculate a helix angle using these 2 figures 69 (base of triangle) and 12 the height. This produces a tangent of 0.1739. I then do =Tan^-1*(the cell that this figure is in) and then get the error. All I want to do is find the angle of the tangent in spread sheet.
Open Office 4.1.1 on MacOS 10.10.3
FJCC
Moderator
Posts: 9619
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Formula doesn't work

Post by FJCC »

If the value 0.1739 is in A2, you can use the formula

Code: Select all

=ATAN(A2)
to get the angle in radians. ATAN() is the function for the inverse tangent. Tan^-1 is not recognized by Calc as the inverse tangent.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
jackamus
Posts: 6
Joined: Mon Jul 13, 2015 1:28 pm

Re: Formula doesn't work

Post by jackamus »

A2 has the figure 0.1739. When I then use a new cell and put in =ATAN(A2) I get 0.172178154. I was expecting to get an angle.
Open Office 4.1.1 on MacOS 10.10.3
FJCC
Moderator
Posts: 9619
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Formula doesn't work

Post by FJCC »

You did get an angle in radians. 180 degrees is equal to pi radians, so you can get an answer in degrees with the formula

Code: Select all

=ATAN(A2) * 180/PI()
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
jackamus
Posts: 6
Joined: Mon Jul 13, 2015 1:28 pm

Re: Formula doesn't work

Post by jackamus »

We have lift-off! Thank you for your help.
Open Office 4.1.1 on MacOS 10.10.3
Post Reply