+ Reply to Thread
Results 1 to 3 of 3

Ho to get only one price if you have two columns with diffident prices in

  1. #1
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2021
    Posts
    306

    Ho to get only one price if you have two columns with diffident prices in

    I have a xls file, with three worksheets, on the first one I have (invoice) with a invoice template.
    On this I have 3 columns "sales Price" , "Unit Price and "total".

    on my work sheet "Products", I can have amounts in both Unit ans Sales, so on my worksheet "Invoice" I only
    want to show "Sales" if there is and not unit price, so if there is no sales, it must show unit price.

    Here is my sample
    Attached Files Attached Files
    Last edited by hendrikbez; 10-26-2012 at 02:27 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Ho to get only one price if you have two columns with diffident prices in

    I've added dynamic named ranges to your CLIENT and PRODUCT sheets. So as you add more clients and products, the dynamic list of names and clients will expand itself.

    I added those clients as a drop down on the INVOICE sheet cell D18. Try it. Now it's much easier to select a customer by name.

    I added those products as a drop down on the INVOICE sheet in cells D24:D40. Now it's much easier to select a product by name.

    I've replaced the formulas to lookup the address info and the product prices with standard VLOOKUP formulas. Your column P is no longer needed.

    I've updated the pricing formulas to show one price or the other, not both. I've updated the totals accordingly.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2021
    Posts
    306

    Re: Ho to get only one price if you have two columns with diffident prices in

    ThankYou, it is working.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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