+ Reply to Thread
Results 1 to 4 of 4

Range and Variable formula

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    Wausau, WI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Range and Variable formula

    I would like to set up a spreadsheet that I can import into a Word Document. I have searched every where but don't know if it is possible. What I am trying to accomplish is this. Let's say the client has 121 chairs, So the formula should read that anything from 0 - 150 chairs is this rate, 151 - 200 chairs will be this rate, ect. What I want to do is set it up and then just have to input the number of chairs and it will do compute it from there.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Range and Variable formula

    Something like

    =Lookup(A1,{0,151,201,251},{0,5,10,20})

    where A1 is the cell you input number of chairs, and 0, 151, 201, 251 are the lower bounds of the ranges.. and 0, 5,10, 20 are the corresponding rates...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-10-2010
    Location
    Wausau, WI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Range and Variable formula

    I tried that and it's not multipling. I'm just getting an error message #Name?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Range and Variable formula

    Did you type it in correctly?

    Can we see your formula?

+ 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