+ Reply to Thread
Results 1 to 5 of 5

Can anyone decipher or deconstruct these formulas for me? Thanks

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    San Diego, California
    MS-Off Ver
    Excel 2011
    Posts
    2

    Can anyone decipher or deconstruct these formulas for me? Thanks

    =IF((E12+F12>0),IF(((E12*12)+F12)>=Summary!L7,ROUNDUP((((E12*12)+F12)-Summary!L7+1),0),0),IF((Summary!L16>0),Summary!L16-Summary!L7+1,0))

    =MAX(0,MIN(1,IF(AF12>=0,AF12,IF(Summary!L8>=0,(AK12*Summary!L8),MIN(AS12,1*IF(AG12>=0,(AK12*AG12),IF(AP12>0,AR12,IF(E12+F12=0,AK12*Summary!L14,0))))))))

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Can anyone decipher or deconstruct these formulas for me? Thanks

    Many could but not with anything meaningful. I will give you a couple of bits that might help

    The IF has the form IF(compare , do_this_if_true , do_this_if_false ) eg IF(A1>5 , "result is greater than 5" , "less than 5" )

    and also use the Evaluate Formula function. This is on the formulas tab it looks a bit like a magnifying glass


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Can anyone decipher or deconstruct these formulas for me? Thanks

    Given: =IF(E12+F12>0,IF((E12*12)+F12>=Summary!L7,ROUNDUP((E12*12)+F12-Summary!L7+1,0),0),IF((Summary!L16>0),Summary!L16-Summary!L7+1,0))





    1
    Test condition
    True clause
    False Clause
    2
    E12+F12>0
    IF(((E12*12)+F12) >= Summary!L7, ROUNDUP((((E12*12)+F12)-Summary!L7+1),0),0)
    IF(Summary!L16>0,Summary!L16-Summary!L7+1,0)
    3
    This is the condition to test. It evaluates to either TRUE or False and branches to the corresponding clause to evaluate
    This is the TRUE (Then) clause of the first IF function. It is also an IF function.
    Test: is the product of cell E12 X 12 plus cell F12 is greater than or equal to the value on sheet summary cell L7?
    True (yes), THEN subtract sheet summary cell L7 from it, add 1 and round up the result to zero decimal places
    False (no), ELSE return 0.
    This is the FALSE (Else) clause of the first IF function. It, too, is an IF function:
    Test: Is value of cell L16 on Summary tab is greater than zero?
    True (yes), THEN subtract value in cell L7, sheet summary from cell L16 sheet summary and add 1
    False (no) ELSE, return zero.
    Ben Van Johnson

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Can anyone decipher or deconstruct these formulas for me? Thanks

    You also have the "Evaluate Formula" tool

  5. #5
    Registered User
    Join Date
    10-04-2013
    Location
    San Diego, California
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Can anyone decipher or deconstruct these formulas for me? Thanks

    I have a mac...

+ 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] Macro to deconstruct and change date string needed
    By Aceso in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2013, 12:41 PM
  2. [SOLVED] Help to decipher formula
    By sasexcel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2012, 05:40 PM
  3. Replies: 1
    Last Post: 10-27-2012, 02:53 AM
  4. Need help to deconstruct query
    By Canvasshoes in forum Access Tables & Databases
    Replies: 0
    Last Post: 04-27-2012, 07:04 PM
  5. Can someone decipher these formulas?
    By Bayebd24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2012, 01:17 PM

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