+ Reply to Thread
Results 1 to 5 of 5

filter data and auto display

  1. #1
    Registered User
    Join Date
    08-23-2010
    Location
    England
    MS-Off Ver
    Excel 2003+2010
    Posts
    4

    Thumbs up filter data and auto display

    Hello All, thank for reading

    I posted this query in the programming section, but i'm not sure if that was the correct place for it!

    I have a lengthy product list with price breaks, a very simplified version of which I have attached as a screenshot.

    i would like to be able to enter a product code in A2, a quantity in B2 and have the sheet automatically display the correct price for that amount of that product.

    Is it possible to do, and can you give a clue as to how if it is please?

    Any help would be greatly appreciated!!!
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by swanie; 08-24-2010 at 04:05 PM.

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: filter data and auto display

    Put 0, 200, 600, 1000, 1500 in C4:G4
    Then try
    =index(B:G,match(a2,B:B,0),match(b2,c4:g4))

    I can test an example if you upload a workbook instead of a picture

    hth
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Registered User
    Join Date
    08-23-2010
    Location
    England
    MS-Off Ver
    Excel 2003+2010
    Posts
    4

    Re: filter data and auto display

    Hi Cheeky,

    Many thanks for your response!!! I am probably having a moment, but i tried your suggestion and it kept giving me the incorrect "price"

    Darn close though

    I have uploaded the test file as a workbook so if you could have another look for me I would be really greatful

    Thanks muchly again

    Swanie

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: filter data and auto display

    =index(C:G,match(a2,B:B,0),match(b2,c4:g4))

    example workbooks ftw

  5. #5
    Registered User
    Join Date
    08-23-2010
    Location
    England
    MS-Off Ver
    Excel 2003+2010
    Posts
    4

    Re: filter data and auto display

    You are an absolute super hero!!!!!!!!!!!!!!!!!!!!

    Thank you very muchly

+ 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