+ Reply to Thread
Results 1 to 3 of 3

Using IF/WHEN formula for determining product shipping prices

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Cool Using IF/WHEN formula for determining product shipping prices

    Hi Everybody,
    Thanks in advance for your help! I am Super new to excel, but very excited about its possibilities. What a powerful tool!

    How do i write an IF/THEN statement, or some kind of statement so that it compares a value (WEIGHT) to a range of values (shipping prices according to weight) and adds the correct amount (cost to ship) to another value (wholesale price), adds a percentage (profit margin), and yields a new value (MY PRICE)?

    I have columns for WHOLESALE PRICE, WEIGHT, and MY PRICE. There are already values for wholesale price and product weight, and I am trying to determine my price for 500 products. I also have a chart for the Fedex prices per pound, but i'm not sure how to use it in the formula, ie. should I type in the prices in the same box as the weight range or keep those in separate boxes.


    I need something like:
    =IF(J1 (WEIGHT Column) is equal to or between 0-1 lbs, then add $7.95 to WHOLESALE price + 3% = MY PRICE,
    IF J1 (WEIGHT Column) is equal to or between 1.1-3 lbs, then add $8.95 to WHOLESALE price + 3%= MY PRICE,
    IF J1 (WEIGHT Column) is equal to or between 3.1-5 lbs, then add $9.95 to WHOLESALE price + 3%= MY PRICE,
    IF J1 (WEIGHT Column) is equal to or between 5.1-7 lbs, then add $10.95 to WHOLESALE price + 3%= MY PRICE,
    IF J1 (WEIGHT Column) is equal to or between 7.1-10 lbs, then add $11.95 to WHOLESALE price + 3%= MY PRICE.)

    I hope that is not too complicated... but it seems like it is to me right now ...

    Thanks guys!

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Using IF/WHEN formula for determining product shipping prices

    your better off having a vlookup to a table of weights to assign the price, otherwise your going to end up with a very convoluted nested if statement which would be hard to maintain
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Using IF/WHEN formula for determining product shipping prices

    Hi and welcome to the forum

    What you want sounds fairly easy, as suggested, instead of a huge nested if statement, it will probably easier to create a table of values and then use a vlookup() statement to search for what you want.

    If you upload a sample workbook, showing what you are working with, a sample answers along with how you arrived at them (dont upload any sensitive data), Im sure we can throw something together for you.
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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