Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default SIN , COS , TAN VALUES NOT CORRECT.

I have one form in which I have added 2 text boxes. In text box 1 I am
putting angle values in degrees and in text box 2 I am looking for sin value
.. Which formula should
I write in change event of textbox1 so that i will get sin value.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default SIN , COS , TAN VALUES NOT CORRECT.

Don't forget that the trigonometrical functions in Excel expect angles
to be in radians - check it out in Excel Help.

Hope this helps.

Pete

On Dec 2, 2:19*pm, HARSHAWARDHAN. S .SHASTRI
wrote:
* I have one form in which I have added 2 text boxes. In text box 1 I am
putting angle values in degrees and in text box 2 I am looking for sin value
. Which formula should
*I write in change event of textbox1 so that i will get sin value.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default SIN , COS , TAN VALUES NOT CORRECT.

Hi,

Use:
SIN(angle)
COS(angle)
TAN(angle)

All of these work in VBA as written above, however, they will fail if
written as

WorksheetFunction.Sin(angle)

or if the angle is in degrees not radians then convert to radians using

WorksheetFunction.Radians (22.5)

So your formulas might look like this

SIN(WorksheetFunction.Radians (22.5))

If this helps, please click the Yes button

Cheers,
Shane Devenshire


"HARSHAWARDHAN. S .SHASTRI" wrote:

I have one form in which I have added 2 text boxes. In text box 1 I am
putting angle values in degrees and in text box 2 I am looking for sin value
. Which formula should
I write in change event of textbox1 so that i will get sin value.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match formula not returning correct values. pm Excel Discussion (Misc queries) 1 January 30th 08 03:15 PM
VLOOKUP won't generate correct response for "inbetween" values NavyPianoMan Excel Discussion (Misc queries) 9 August 28th 07 02:28 PM
Calculating correct pecentages with negative values Sue Excel Worksheet Functions 4 July 22nd 06 07:12 PM
show difference between weights with correct pos and neg values Sharon Durow Excel Worksheet Functions 2 January 30th 06 05:15 PM
x axis not showing correct values Micayla Bergen Charts and Charting in Excel 1 August 28th 05 01:57 AM


All times are GMT +1. The time now is 03:06 AM.

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

About Us

"It's about Microsoft Excel"