+ Reply to Thread
Results 1 to 3 of 3

Help required with IF functions - adding an extra variable and outcome

  1. #1
    Registered User
    Join Date
    10-07-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2008
    Posts
    7

    Help required with IF functions - adding an extra variable and outcome

    Hi there,

    I am currently using excel to make a utility for some University coursework. I need a set of results displayed based on a number entered by the user.

    I am currently using this function

    =IF(OR(B5>15000,ISTEXT(B5)),"invalid entry",1013.25*((B9/288.15)^(8.91/(0.0065*287))))

    This works well, however I need the cell to perform a different calculation when the value in B5 is above 11000. How would I change my current function to do that?

    thanks,

    Joe

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Help required with IF functions - adding an extra variable and outcome

    Try

    =IF(OR(B5>15000,ISTEXT(B5)),"invalid entry",IF(B5>11000,diff_calculation,1013.25*((B9/288.15)^(8.91/(0.0065*287)))))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    10-07-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2008
    Posts
    7

    Re: Help required with IF functions - adding an extra variable and outcome

    Quote Originally Posted by Ace_XL View Post
    Try

    =IF(OR(B5>15000,ISTEXT(B5)),"invalid entry",IF(B5>11000,diff_calculation,1013.25*((B9/288.15)^(8.91/(0.0065*287)))))
    That worked perfectly! Thank you!

+ 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] adding target lines into graphs without adding an extra column of data
    By ea223 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-16-2013, 12:32 PM
  2. Replies: 8
    Last Post: 08-27-2012, 04:37 PM
  3. extra hours adding money for each extra hour worked FORMULA
    By cynthiamcastro in forum Excel General
    Replies: 3
    Last Post: 06-18-2012, 11:27 AM
  4. (IF formula) Adding extra functions
    By nacho12 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2009, 04:17 AM
  5. Function required - Top 10 with extra columns & duplicates
    By adamsherring in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2008, 11:24 AM

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