+ Reply to Thread
Results 1 to 15 of 15

Calculating Cases delivery

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Calculating Cases delivery

    Folks,


    How do calc this in excel ?

    FROM 1 TO 300 I *36
    FROM 301 TO 400 I * 43
    FROM 401-500 I * 49

    =IF(A1<=300,A1*0.36) but how do I continue ?
    Last edited by davi65; 10-28-2016 at 02:28 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Calculating Cases delivery

    Your question is ambiguous.

    if A1= 350, Are the first 300 "sold" at 36 and the rest at 43, or are all 350 "sold" at 43....

    more information, please....
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,858

    Re: Calculating Cases delivery

    Does it have to be an IF() function? How many options are there (or can it expand to)?

    My personal preference for something like this, even at 3 options is to use a lookup table and a lookup function. Since most people start with the VLOOKUP() function, I will recommend this as a starting point: https://support.office.com/en-us/art...8-93a18ad188a1

    After creating your lookup table, your function would look something like =A1*VLOOKUP(A1,lookup_table,2,TRUE)
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    Like this.

    1 and all in between 300 $108.00 -->*0.36
    301 and all in between 400 $172.00 --> *0.43
    401 and all in between 500 $225.00 --> *.45
    501 all in and above 600 $294.00 --> 0.49

  5. #5
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    Like this.

    1 and all in between 300 $108.00 -->*0.36
    301 and all in between 400 $172.00 --> *0.43
    401 and all in between 500 $225.00 --> *.45
    501 all in and above 600 $294.00 --> 0.49

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Calculating Cases delivery

    it's been a long day here and I'm tired; but your words and your number don't quitte match...

    If the no of cases is in A1, is this it:

    =SUMPRODUCT(--(A1>{0,300,400,500}),--(A1-{0,300,400,500}),{0.36,0.07,0.02,0.04})

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Calculating Cases delivery

    If that earlier one of mine is wrong, then this one will be right:

    =A1*LOOKUP(A1,{0,301,401,501},{0.36,0.43,0.45,0.49})

  8. #8
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    thank you Glenn...
    Last edited by davi65; 10-29-2016 at 09:03 AM.

  9. #9
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    this one is working...

    THANK YOU GLENN!

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Calculating Cases delivery

    Quote Originally Posted by davi65 View Post
    this one is working...

    THANK YOU GLENN!
    Which one, by the way???

    Either way. Glad to have helped...
    Last edited by Glenn Kennedy; 10-28-2016 at 03:27 PM.

  11. #11
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    Here is the sheet.

    I want to change the formula to read how much I pay per case on CELL AM,AN ETC.


    Attachment 486892

    Glenn this one work ->=X6*LOOKUP(X6,{0,301,401,501},{0.36,0.43,0.45,0.49})

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Calculating Cases delivery

    Unfortunately, your attachment didn't attach!!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  13. #13
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    Files attached
    Attached Files Attached Files

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Calculating Cases delivery

    Sorry. I only found your reply today. I don't understand. What are you expecting to see in cells in column AM, AN, etc????

  15. #15
    Registered User
    Join Date
    10-28-2016
    Location
    new york
    MS-Off Ver
    A+
    Posts
    62

    Re: Calculating Cases delivery

    Glenn

    How do I make a formula do read cells AN-AO-AP-AQ... right now i am using:

    =P68*LOOKUP(P68,{0,301,401,501},{0.36,0.43,0.45,0.49})

    But if I decide to change the payment from 1-300 to 0.22. I will have to change every single formula I want to have a formula that read the value on AN-AO-AP-AQ


    Cases Cases Cases Cases
    1-300 301-400 401-500 500-600
    0.36 0.43 0.45 0.49

+ 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. Calculating Next Delivery Date Based on Conditions
    By MollyLou15 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-01-2015, 04:06 PM
  2. Add cases opened and closed for each month and specifics about the cases.
    By ChrisLaRoc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2014, 08:19 PM
  3. Replies: 2
    Last Post: 06-05-2013, 12:14 PM
  4. Calculating between two date/timestamps for service delivery
    By andrewjend in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-15-2011, 01:28 PM
  5. Replies: 3
    Last Post: 08-12-2010, 03:45 PM
  6. Calculating $/hr (delivery driver)
    By oliveman6 in forum Excel General
    Replies: 3
    Last Post: 01-01-2010, 03:30 AM
  7. Calculating age of open cases
    By Slongy in forum Excel General
    Replies: 14
    Last Post: 05-27-2009, 08:54 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