+ Reply to Thread
Results 1 to 9 of 9

Format a cell with an IF::THEN foumula that will include a square root, and a cubed root

  1. #1
    Registered User
    Join Date
    12-27-2013
    Location
    Oklahoma City
    MS-Off Ver
    Excel 2003
    Posts
    49

    Format a cell with an IF::THEN foumula that will include a square root, and a cubed root

    One more time, more complex

    I need a formula that says:

    if [cell B] is between 60 and 100, then [cell C]=[Cell B]/√[cell A], BUT if [Cell A] is <60 or >100, then [cell C]=[cell B]/3√[cell A] (that should read cubed root of Cell A)

    so appreciative of you who can chew through these. Thanks for your help
    Last edited by dan_fash; 04-03-2015 at 03:32 PM.

  2. #2
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: Help (again) with a math formula including a square root

    Please Login or Register  to view this content.
    If A is less than 60 or greater than 100 cube route otherwise square root?
    Please consider adding a * if I helped.

  3. #3
    Registered User
    Join Date
    12-27-2013
    Location
    Oklahoma City
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Help (again) with a math formula including a square root

    yes, same basic formula, [cell C]=[Cell B]/√[cell A], but cubed root instead of square root if a is less than 60 or greater than 100

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help (again) with a math formula including a square root

    I don't particularly like your title. It is borderline not acceptable. See Rule #1 for the forum:

    However, I think that this is what you are looking for.
    If the value in B1 is between 60 and 100 find the square root of that value and if the value in B1 is not between 60 and 100 look at the value in A1 and if it is less than 60 or greater than 100 take the cube root of the number in A1

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    12-27-2013
    Location
    Oklahoma City
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Help (again) with a math formula including a square root

    Im sorry you dont' like the title, I do. in fact, need help with a formula that includes a square root.

    What I'm trying to do is insert a formula that will apply one of two different formulas, depending on the value of cell A. not just finding the square or cubed root

    If cell A is between 60 and 100, I need for cell C to = [Cell B]/√[cell A]

    If Cell A is below 60 or above 100, I need cell C to = [Cell B]/3√[cell A]

  6. #6
    Registered User
    Join Date
    12-27-2013
    Location
    Oklahoma City
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Help (again) with a math formula including a square root

    Possibly this is in more proper excel verbage

    if A1 is between 60 and 100, then C1=B1/√A1
    if A1 <60 or >100, then C1=B1/3√A1

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Format a cell with an IF::THEN foumula that will include a square root, and a cubed ro

    This, I think, will meet your needs:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    12-27-2013
    Location
    Oklahoma City
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Format a cell with an IF::THEN foumula that will include a square root, and a cubed ro

    Quote Originally Posted by newdoverman View Post
    This, I think, will meet your needs:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I see how this should work, however I receive a #VALUE! error when A1 is between 60 and 100

    My A1=70, B1=0.44, C1=#value!

    A2=50, B2=0.40, C2=0.66332

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Format a cell with an IF::THEN foumula that will include a square root, and a cubed ro

    One of your values isn't a number to get the #Value error. Entering the values that you quote as giving an error the result is 0.663325

    Quote from the Excel Help file:
    "Excel can display this error if your formula includes cells that contain different data types. If error checking for formulas is enabled, the ScreenTip displays "A value used in the formula is of the wrong data type." You can typically fix this problem by making minor changes to your formula."

+ 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] Power and Square Root Formula Does Not Calculate Correctly
    By EverClever in forum Excel General
    Replies: 10
    Last Post: 01-20-2015, 04:06 PM
  2. adding a square root to a formula
    By Tom Collins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2014, 09:12 AM
  3. Replies: 3
    Last Post: 08-19-2009, 08:53 AM
  4. Taking Square Root of a Formula
    By capin131 in forum Excel General
    Replies: 2
    Last Post: 09-17-2008, 06:48 PM
  5. [SOLVED] Root mean square (RMS) error formula
    By Lea Olsen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2005, 01:06 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