+ Reply to Thread
Results 1 to 7 of 7

Problem with IF-formula?

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    Denmark, Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    5

    Problem with IF-formula?

    Hello smart excelguys ,

    My boss told me to make an excelsheet with a little matrix for a exceltabel.

    Before I start searching on the internet and renting books, can any of you tell me if this even is possible to do?

    I have a table looking like this:

    1-20 5
    21-30 10
    31-50 20

    What my boss want me to do is a table if I type in a number in A1 between 1-20 the number in B1 says 5, and if the number in A1 is between 21-30 the number in B1 says 10... And if you hadn't guest the last part here.. If I type in the number between 31-50 it says 20.

    Is it even possible to make an fomular that do this?

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Problem with IF-formula?

    there are several ways to do it to be honest.

    I personally do it this way

    one possiblilty.xlsx
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Problem with IF-formula?

    if you wanted to do this with if you could do it like this

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Problem with IF-formula?

    or if like me you dont like nested ifs as they get silly confusing you could try this

    Please Login or Register  to view this content.

    more.xlsx

    this shows more ways.

    (there are even more ways as well. which you use depends on what your using the data for and how complicated the info can be)
    Last edited by twiggywales; 10-18-2012 at 07:36 AM.

  5. #5
    Registered User
    Join Date
    10-18-2012
    Location
    Denmark, Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Problem with IF-formula?

    So far all of them are pretty good for what I need to use it for.

    Thak you so much!

    This site is awesome.. And I'll start looking around and see if there are other interesting thing I can impress my boss with!

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Problem with IF-formula?

    gald to help,

    remember to mark it solved and a star tap to anyone that helps is always appreciated

  7. #7
    Registered User
    Join Date
    10-18-2012
    Location
    Denmark, Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Problem with IF-formula?

    Did you get my star?

+ 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