+ Reply to Thread
Results 1 to 3 of 3

Need a formula for Calculation based on different rage

  1. #1
    Registered User
    Join Date
    02-26-2020
    Location
    bangalore
    MS-Off Ver
    2013
    Posts
    1

    Need a formula for Calculation based on different rage

    I Have a calculation of product with different range.

    Example:

    0-100 Price will be 85
    101-500 Price will be 70
    501-1000 price will be 66
    1001 - 2000 price will be 50
    More than 2001 - 45

    In this calculation, if i need 600 Product, then first 100 product will be Rs 85, for 400 product will be Rs. 70 and last 100 will be Rs. 66

    can some one help me to put formula for the same, if its great share with excel file.

    thanks in advance

    regards,
    Sudhir

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Need a formula for Calculation based on different rage

    Can you please review the attached, are you looking for something like this.
    What I did here is split the quantity in different slabs and multiplied each with the respected cost.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Need a formula for Calculation based on different rage

    =if(a1<100,a1,100)*85+if(a1<=500,max(a1-100,0),400)*70+if(a1<=1000,max(a1-500,0),500)*66+if(a1<=2000,max(a1-1000,0),1000)*50+max(a1-2000,0)*45+max(a1-2000,0)*45
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. Formula Calculation based on Different Values
    By tkelbel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2020, 01:48 PM
  2. Replies: 9
    Last Post: 08-22-2018, 04:19 PM
  3. [SOLVED] Convert count Blak formula into given Rage i.e (LEN(B4)=0)
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2017, 07:37 AM
  4. Formula/Calculation Based on Yes/No List
    By 1.zer0 in forum Excel General
    Replies: 15
    Last Post: 07-08-2010, 05:46 AM
  5. Placing a number based on the rage of another cell
    By The Inquistor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2008, 04:38 PM
  6. Use different formula to calculation based on conditions
    By 0-0 Wai Wai ^-^ in forum Excel General
    Replies: 2
    Last Post: 12-03-2005, 04:30 AM
  7. Replies: 7
    Last Post: 07-02-2005, 04:06 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