+ Reply to Thread
Results 1 to 5 of 5

Help with creating nested IF function

  1. #1
    Registered User
    Join Date
    06-15-2015
    Location
    Auckland
    MS-Off Ver
    Mac 2011
    Posts
    2

    Help with creating nested IF function

    Hi,

    I have a dropdown box for selecting "How many people" with the following values

    500
    501 - 1000
    1001 - 2000
    2001 - 5,000
    5,001 - 10,000
    10,001 - 50,000
    50.001 - 100,000
    100,000 +

    I want to be able to populate another cell in the sheet with a formula that calculates price, based on which value is picked from the dropdown box. E.g. IF dropdown = 500 then price is $100, IF dropdown = "501 - 1000" then price is $200... and so on.

    I tried to create a Nested IF statement but I got an error: "you've entered too many arguments for this function".

    Is there another way to do this?

    Many thanks

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with creating nested IF function

    Make a table of the data.

    After that use VLookup to find the values in the table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help with creating nested IF function

    Is there a more fundamental relationship between the bands?

    For instance does the price of all bands increase by a constant amount (i.e. the $100 increment in your example)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    06-15-2015
    Location
    Auckland
    MS-Off Ver
    Mac 2011
    Posts
    2

    Re: Help with creating nested IF function

    Thanks Oeldere and Richard - I looked up how to make VLOOKUP work, after a bit of trial and error I managed to get it working what a great solution!

    For anyone else wanting something similar I used the guide here:
    http://www.excel-university.com/sele...le-attributes/

    and here
    http://www.contextures.com/xlOrderForm01.html

    Thanks again..

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with creating nested IF function

    Thanks for the reply.

    Great job, you get it working (on your own ).

    You can add rep(utations to the one who helped you, by clicking on the star on the left side.

    Please also mark the question solved, if it is solved

+ 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] Nested IF with AND creating error
    By nicolelschramartin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2012, 09:29 PM
  2. Help on creating a if function or a nested if function????
    By noob_excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-08-2012, 12:39 AM
  3. Replies: 6
    Last Post: 01-16-2012, 09:42 AM
  4. Creating a nested If function with multiple vlookups
    By Symeoni1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2012, 02:53 PM
  5. Creating a deeply nested IF MATCH user defined function
    By rrbest in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2011, 01:23 PM

Tags for this Thread

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