+ Reply to Thread
Results 1 to 6 of 6

adjusting quantities

  1. #1
    Registered User
    Join Date
    04-06-2015
    Location
    seattle, wa
    MS-Off Ver
    MS Office 2013
    Posts
    4

    adjusting quantities

    I have a bunch of values in column A between 0 and 500

    - i want to break the values into ranges and :

    if the value in column A is less than 10 put a 0 in the column B,
    if the value in column A is between 11-30 put a 3 in the column B,
    if the value in column A is between 31-50 put a 10 in the column B,
    if the value in column A is between 51-100 put a 20 in the column B,
    if the value in column A is above 100+ put a 40 in the column B,

    i have attached an example of how i would like it to look.
    i am guessing there is more than one way to accomplish this but i am not great with excel
    could i uses a "IF" "AND" "OR" statement or a table of some sort

    any help would be much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Re: adjusting quantities

    Try this outexcel forum help file.xlsx

  3. #3
    Registered User
    Join Date
    04-06-2015
    Location
    seattle, wa
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Re: adjusting quantities

    sorry forgot to take out the +'s and none's

  4. #4
    Registered User
    Join Date
    04-06-2015
    Location
    seattle, wa
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Re: adjusting quantities

    that does what i want

    -thanks phbryan

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: adjusting quantities

    =IFERROR(LOOKUP(A1,{0,11,31,51,101},{0,3,10,20,40}),"")
    try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    04-06-2015
    Location
    seattle, wa
    MS-Off Ver
    MS Office 2013
    Posts
    4

    Re: adjusting quantities

    this works as well and is a little easier to use/change...knew there was going to be more than one way to do this.

    thank nflsales

+ 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] Totaling quantities
    By JBR9999 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-25-2015, 11:00 AM
  2. Comparison dates and quantities with other dates and quantities
    By elevisse in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-12-2012, 02:27 AM
  3. PRODUCTSUM for different quantities
    By T86157 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 06-27-2012, 04:06 PM
  4. Quantities from image
    By bluzuki in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-23-2010, 11:27 AM
  5. [SOLVED] Different quantities of a certain item...
    By JDellenger in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 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