+ Reply to Thread
Results 1 to 29 of 29

Pricelist with multiple serach facility

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Pricelist with multiple serach facility

    Find attached , required formula on A7 to drag rightwards and down words
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Raw data on sheet2 to pull on sheet 1 depening on what I require to search for

    Expected output

    - If I types tiles on b2 , it should pull results from sheet 2 with the word tiles on column d ,since I am expectig to put up sanitary and fittings
    - If I type gemma on b1 , it should bring all tiles of this supplier
    - If then I type 50 x 50 on cell b4 whil having gemma on cell b1 , i should bring those tiles sized of that supplier

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Alving Chung I hope you have done this for me for tile size and tile surface , two levels , I guess 4 levels wont be an issue too

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    This is definately an array formula

  5. #5
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Try this automated version...
    Attached Files Attached Files
    Regards,
    Rudi

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Wow rudi , can you please explain how you did this

    My boss will go nuts seeing this , we talked about last eve and he gave me a week
    on over while I have the answer ready this morning

  7. #7
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Do i save it macro enabled , this is super , but I only fear asking them how to enable macro

    I wish I had a formula version too

  8. #8
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Hi,

    glad I could help

    The filter is driven by VBA code that triggers when you click the Filter button.
    If you press ALT+F11, you will see the code that runs the filters.

    The cells in B2:B4 have Data Validation (Data Ribbon) that links to a unique list of items for that column. (See Sheet 2, Columns P to S)
    Once you have chosen your combination of values, and click the filter button, the code does the rest, to filter for your values and copy the filtered data from Sheet 2 to Sheet 1.

  9. #9
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Quote Originally Posted by makinmomb View Post
    Do i save it macro enabled , this is super , but I only fear asking them how to enable macro

    I wish I had a formula version too
    Yes...if there is macros involved, it has to be saved as (*.xlsm), else the macros will not trigger.
    A formula version will become quite slow on a big file. I assume you have more data than just the sample data you posted. If formulas are to run this filter, it will become quite slow with larger volumes of info as the will need to vlookup each value from each column of data...

    Maybe someone else can jump in with a formula version... (Not me though )

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    RUDIS if I am planned to go with your solution , is the vba set to trigger more data , meaning if I add on additional stuff on the raw data sheet

    Or do you have to modify the vba

  11. #11
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Hi,

    You can add as much data as you want to the list in sheet 2. The macro will filter the entire contents no matter how long (or short) the list is.
    Please note that you must NOT have any completely blank rows between the data. Full blank rows will cause the macro to not work properly.

    You will need to maintain the drop down lists manually (See image below)
    Also, as you add more data to the list in sheet 2, you must add the unique values to the small lists in columns (P to S)
    Then on sheet 1 you must select cell b1 and go Data, Validation, and update the range to include the new data on sheet 2, else the new values will not display in the drop downs on sheet 1. Do this for each of the four cells B1:B4 (if you added new values to the small lists on sheet 2)

    Hope that is clear...
    Attached Images Attached Images

  12. #12
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Yes the data validation I got you , thank you very much , while I enjoy praises pouring
    onto my mail , courtesy definately yours

  13. #13
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    One quick clarification , will it still work , if I remove the drop menu ,
    we have too many products , does the vba still remain same ?

    I wish to type instead of choose from the drop menu

  14. #14
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Yes... the code is not dependent on the drop downs.
    Even if you remove the validation, you can still type the criteria in the cells B1:B4 and the macro will work.

  15. #15
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    RUDIS one more favour , can you please re send me the file , search option added ,
    search by code , i forgot to mention that , please place that on B5

    This means it will bring one result e.g. if suppose i say 239.000.01

  16. #16
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Hi,

    Attached is the updated version.
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Thank you wow really made it a difference on this , I have a line of employees who
    want to shake hands , they have scattered files , this will be one stop pricelist , hurray

    Thank you again Rudis

  18. #18
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    My pleasure...

  19. #19
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    I realised i may have to add columns on the raw data , do I have to contact you for changes
    or will you explain what to do what on the vba

    I plan to add two columns offer price after price and % column as to how much is that product offered at

  20. #20
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    I can modify the macro to work dynamically on any size list, no matter how many columns or rows the source list will be.

    I will send the new "low maintenance macro soon, however one or two questions to ask..

    1. Are you still using the validation dropdown arrows, or can I scrap them?
    2. The macro can be dynamic, but the filters cannot...will the list remain with only the current 5 filter, or must the new columns also have a filter?

    TX

  21. #21
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    No i have scrapped the dropmenu , the team is old fashioned , they punch text

  22. #22
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    The filters will remain the same

  23. #23
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    The only major change now is two columns add OFFER going after price and % after offer ,
    that is how much percent is that e.g. 20% and so on

  24. #24
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    OK...
    I'll update the code...

  25. #25
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Hi,

    Here is the updated workbook.
    I have removed the validation and changed the code to work dynamically on the size of the list on sheet two. No matter how narrow or wide, tall or short it becomes, it will always work on the table dimensions and return the filtered data to sheet 1 based on that size...

    Attached...
    Attached Files Attached Files

  26. #26
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    Thank you Rudis , I think we can mark the thread solved .

    I was wondering if the price of an item on the raw data changes , is it possible to have a mirror
    log of what changed only , a summary on sheet 3 , new price with comments what it was before

    The reason I am not starting a new loop is because , if I get a vba answer plus your vba , I think
    it will collide

    I am smiles at your vba I must say

  27. #27
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pricelist with multiple serach facility

    Do you want the entire record copied to sheet 3 if the only the price changes, and next to the price (in a separate column, the old price before it was changed?
    Not that Excel events can only trigger after something has changed, so I'll have to figure out a pre-trigger action to capture the price before it was changed. Give me a bit more ideas of what you envision so I can clarify a plan.

  28. #28
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    I need only what changed , not the whole pricelist , we have too many products , I have started a separate thread on it too

    In case I get a formula on it would be cool , since than the vba remains unchanged

  29. #29
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Pricelist with multiple serach facility

    The new thread is called price change summarise

+ 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. [SOLVED] UserForm : According to compbox(Critirea) value serach and add records
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2014, 07:18 AM
  2. Creating a template to use on multiple workbooks/pricelist
    By mrrickbarton in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-14-2013, 05:26 PM
  3. Creating a serach-database for various input
    By HenkE\\\ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2007, 10:41 AM
  4. Serach for text
    By Rodney in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-24-2006, 08:21 PM
  5. serach using a cell value
    By BrianP in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-15-2005, 11:05 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