+ Reply to Thread
Results 1 to 4 of 4

Calculator for price list - dynamic

  1. #1
    Registered User
    Join Date
    02-02-2014
    Location
    Poznań, Poland
    MS-Off Ver
    Excel 2007
    Posts
    6

    Calculator for price list - dynamic

    Hi everyone,
    I uploaded a file with the table in excel. Right now it works this way: if I put the quantity in the column O, it takes the price from different column (depending on the quantity) and multiplies it by this quantity, it works even if I change the range in second line. What I need to do now is to register macro (or whatever other thing) that makes it possible to add additional ranges, for instance to create a new column H where I can put the number 40 and so on. I've been trying to change the formula but it doesn't work anyway, so it seems to me that VBA is the only choice but I am not very good at this, if someone could give me any tip, I'd be grateful.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Calculator for price list - dynamic

    Hi,

    You either made some errors in the description or haven't shown what your workbook really does (there is no formula referring to column O) you mentioned: "if I put the quantity in the column O"
    That is why despite of several downloads of the attachment and number of visits to your thread there was no answer for quite some time (as for this forum standards).

    Let me try to guess:

    As a general concept - you do not need columns I:L in Arkusz3. The same result could be obtained with MATCH function.

    But before you delete columns - write number in M4 and try in N4 formula:
    Please Login or Register  to view this content.
    As you copy it down you notice it shall be a bit more complicated in real life to take care of empty quantities - for instance (if you have english version of Excel Translate yourself - jeżeli.błąd function -> IFERROR)
    Please Login or Register  to view this content.
    PS. I checked it also after unprotecting the sheet (a general advice - posting protected workbook and not sharing password with other users significantly decreases chances for answer :-P )
    Last edited by Kaper; 02-03-2014 at 05:49 AM. Reason: note on sheet protection added
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    02-02-2014
    Location
    Poznań, Poland
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Calculator for price list - dynamic

    OK, firstly, sorry for my mistakes, you were right I looked at a little bit different spreadsheet than I uploaded. But anyway, your formula works just perfectly, thank you for this.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Calculator for price list - dynamic

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Replies: 1
    Last Post: 07-24-2013, 12:13 PM
  2. Cost to Selling Price Viability Calculator
    By Margaret jackie in forum Excel General
    Replies: 5
    Last Post: 11-15-2012, 05:42 PM
  3. Help needed for a price calculator
    By voffel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-12-2011, 04:45 PM
  4. Need help with price calculator with exceptions
    By monin in forum Excel General
    Replies: 20
    Last Post: 06-14-2011, 05:27 AM
  5. base price list compute on to another price list? on excel work sh
    By excel spread sheet in forum Excel General
    Replies: 0
    Last Post: 03-29-2006, 01:25 PM

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