+ Reply to Thread
Results 1 to 2 of 2

Need help Translating a Formula

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Need help Translating a Formula

    Here is the formula and what I've been able to make of it so far:

    =ROUND(IF($C11>0,ROUND(($B$14*ATAN($B$16*((IF((F$2-$D11)/($E11-$D11+1)>1,1,IF((F$2-$D11)/($E11-$D11+1)<0,0,(F$2-$D11)/($E11-$D11+1))))+$B$15))+$B$17)/100,3),IF($E11-F$2>0,0,100%)),4)


    The first ‘IF’ says that if cell C11 is greater than 0, to round the result (to the nearest 3rd decimal of):

    IF the result of cell (F2-D11)/(E11-D11+1) is greater than 1, multiply cell B14 by the trigonometric function of Arctangent of 1 in radians

    Or


    If the result of cell (F2-D11)/(E11-D11+1) is less than 0, multiply cell B14 by the trigonometric function of Arctangent of 1 in radians


    IF the result of cell (F2-D11)/(E11-D11+1) is greater than 1, multiply cell B14 by the trigonometric function of Arctangent of ((F2-D11)/(E11-D11+1)/100) and rounded to the nearest 3rd decimal in radians

    IF cell E11-F2 is greater than zero, put 0 in the cell, if less than zero, put 100% in the cell – round the cell to the nearest 4th decimal.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Need help Translating a Formula

    I think you have made a fair assessment of what it does ... maybe the question is why it is doing it

    I tend to use Alt-Enter and spaces to try ans split the components up. It sometimes makes it a little easier to see what's going on. In this case, I'm not so sure

    HTML Code: 

    Regards, TMS
    Last edited by TMS; 12-17-2013 at 04:40 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Translating formula from 2007 to 2003
    By coach.32 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2013, 07:47 PM
  2. translating a formula into Excel 97-2003
    By exced in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2008, 10:29 PM
  3. [SOLVED] Translating an IF formula from Lotus 1-2-3 to Excel
    By fsufan13 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-03-2005, 08:40 PM
  4. Translating an IF formula from Lotus 1-2-3 to Excel
    By fsufan13 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-02-2005, 06:17 PM
  5. [SOLVED] Re: Translating spreadsheet formula to VBA
    By bharat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2005, 10:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1