+ Reply to Thread
Results 1 to 10 of 10

Amateur Excel User Needing Help On First University Assignment

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

    Amateur Excel User Needing Help On First University Assignment

    Hi All,

    Brief intro, I'm Joe, 19 y/o Aerospace Engineering Student at the University of Liverpool.

    I have been set my first coursework assignment.

    I'll list the parts I'm slightly confused with and then be more specific with what is wrong.

    I need to have a user input box that when a value is entered a number of calculations are carried out 7 results are given using the entered value to calculate these values. This part shouldn't be too difficult, the bit I am struggling on is the fact a word needs to be displayed based on the value entered by the user. I am currently using the =IF() function for this, but it seems to only allow one parameter.

    I need it to follow these conditions.

    If <entered value> is greater than 0 and less than 11000 then the word displayed is "troposphere",
    if <entered value> is equal to 11000 then "tropoause" is displayed
    if <entered value> is greater than 11000 and less than 15000 then "stratosphere" is displayed,
    if <entered value> is greater than 15000 then "Invalid Entry" is displayed.

    I have started this and have currently got so far as

    =IF(B2<B2>"",IF(0<B2<11000,"Troposphere",IF(B2=11000,"Tropopause","")),"")

    but the 0<B2<11000 part doesn't work and troposphere is never displayed.

    Also, last question, is it possible to have a bevel effect on certain cells to make them stand out and is it possible to "lock" cells from a user inputting a value and only having the one input cell allowing a user to enter a value?

    Thanks for the help,

    Joe

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Amateur Excel User Needing Help On First University Assignment

    I think you'll be asked soon to rewrite your thread title since it does not conform to the forum rules.

    That being said, it seems to me that B2 cannot be less than B2, a cell can't be less than itself.
    Now, based on this...
    If <entered value> is greater than 0 and less than 11000 then the word displayed is "troposphere",
    if <entered value> is equal to 11000 then "tropoause" is displayed
    if <entered value> is greater than 11000 and less than 15000 then "stratosphere" is displayed,
    if <entered value> is greater than 15000 then "Invalid Entry" is displayed.

    It seems to me you want something like (assuming your values are in Col B)
    =if(B2<=11000,"Tropoause",if(b2<15000,"stratosphere","invalid entry"))

    I think I caught all of it.

    EDIT: missed your last part, and I really don't know about that "bevel" part.
    Last edited by Sam Capricci; 10-07-2013 at 03:49 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    10-07-2013
    Location
    Oldham, UK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Amateur Excel User Needing Help On First University Assignment

    =If (AND (B2> 0, B2 <1100),CONCATENATE (B2,"troposphere"),"")

    Then nest your other if statements.
    Does this help?

    Regards

    Dan.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Amateur Excel User Needing Help On First University Assignment

    Joe,

    Two parts that need attention. One is nested IF statements and their syntax. Look here:--> http://www.techonthenet.com/excel/fo.../if_nested.php

    The second is the use of the AND statement in an If Statement. Look here:--> http://www.techonthenet.com/excel/formulas/and.php

    For editing protection: Look at this link: http://www.techonthenet.com/excel/cells/protect2010.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    10-07-2013
    Location
    Oldham, UK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Amateur Excel User Needing Help On First University Assignment

    Sorry,

    Forget the CONCATENATE part,

    Just use "the word"

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

    Re: Amateur Excel User Needing Help On First University Assignment

    Quote Originally Posted by Sambo kid View Post
    I think you'll be asked soon to rewrite your thread title since it does not conform to the forum rules.

    That being said, it seems to me that B2 cannot be less than B2, a cell can't be less than itself.
    Now, based on this...
    If <entered value> is greater than 0 and less than 11000 then the word displayed is "troposphere",
    if <entered value> is equal to 11000 then "tropoause" is displayed
    if <entered value> is greater than 11000 and less than 15000 then "stratosphere" is displayed,
    if <entered value> is greater than 15000 then "Invalid Entry" is displayed.

    It seems to me you want something like (assuming your values are in Col B)
    =if(B2<=11000,"Tropoause",if(b2<15000,"stratosphere","invalid entry"))

    I think I caught all of it.

    EDIT: missed your last part, and I really don't know about that "bevel" part.
    This works apart from the part where it needs to display troposphere between 0 and 11000

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Amateur Excel User Needing Help On First University Assignment

    Sorry, tropopause and troposphere looked the same.
    try this instead
    =if(B2<11000,"Troposphere",if(b2=11000,"tropopause",if(B2<15000,"stratosphere","invalid entry")))
    Last edited by Sam Capricci; 10-07-2013 at 04:26 PM.

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

    Re: Amateur Excel User Needing Help On First University Assignment

    Quote Originally Posted by Sambo kid View Post
    Sorry, tropopause and troposphere looked the same.
    try this instead
    =if(B2<11000,"Troposphere",if(b2=11000,"tropopause",if(B2<15000,"stratosphere","invalid entry")))
    That worked fantastically!! Thanks ever so much!

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Amateur Excel User Needing Help On First University Assignment

    Sure, and thanks for the rep points.
    BTW, if that solved your issue, (not sure since you had another part) don't forget to mark the thread solved using the thread tools at the top of the post.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Amateur Excel User Needing Help On First University Assignment

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the adress bar)

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Amateur Excel, help with multiple IF functions / Conditional formatting if poss!
    By oidarwazeh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2013, 01:21 PM
  2. Graduating university soon! Let's keep learning excel!
    By blitzcrag in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-03-2013, 01:35 AM
  3. Lasik doc amateur excel user
    By visionxcl in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-24-2012, 02:34 PM
  4. Urgent (University) Please Help m with an EXcel Function
    By aaronjason8992 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-26-2008, 06:24 AM
  5. [SOLVED] New user needing help with coming up with a formula
    By Igniter in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-02-2005, 03:05 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