+ Reply to Thread
Results 1 to 3 of 3

when to use double (( in a formual

  1. #1
    Registered User
    Join Date
    05-22-2008
    Posts
    1

    when to use double (( in a formual

    what i want to know is when to use double (( and )) in formuals an example formual which i have used is below

    =IF(($A$1-B2)*20%<=0,0,IF(($A$1-B2)*20%>7200,7200,($A$1-B2)*20%))
    Last edited by coalville; 05-22-2008 at 08:57 AM.

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    There is no double ((, only two sets of parentheses. Each parenthetical statement is offset from and calculated before the rest of the formula. Having (( means that you are starting one parenthetical statement and immediately starting another within it. Since each parenthetical statment has to have both ( and ), if you have one such statement in another, it often happens that they will either begin or end at the same time, thus requiring (( or )). HTH.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Excel does follow the traditional hierarchy of math which can be remembered with the mnemonic "Please Excuse My Dear Aunt Sally" Using the first letter of each word Parentheses, Exponents, Multiplication, Division, Addition, Subtraction (with M and D being equal and A and S being equal). So with your equation
    Please Login or Register  to view this content.
    you want cell A1 subtracted from B2 BEFORE it's multiplied by 20% so you need the parentheses around that to bump it up on the hierarchy. Make sense?

    ChemistB

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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