+ Reply to Thread
Results 1 to 6 of 6

Dynamic search to add data

  1. #1
    Registered User
    Join Date
    05-06-2012
    Location
    Timisoara, Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Question Dynamic search to add data

    Hi ! I need your help guys ... I am having an excel worksheet with approximately 2000 rows and 30 columns (E6:AF2000) and I am trying to create a cell where you can type the value or text I am looking for (let's say A2) and based on that I need it to show me only the rows that are relevant to the search.

    I was trying to do this myself and I succeed in creating a formula and do the search trick by using SEARCH, RANK, VLOOKUP and IFERROR, but doing this it will return me the results in a specified range that I set ... and I don't need this because I have to add some more data in the existing rows.

    Basically, I need something like a dynamic search and display only the rows based on the search, then I would manually add the data on the row from the table (which is E6:AF2000) and have the information stored.

    I dig up a bit and looking for a solution to this and I end up searching for a visual basic code to hide and unhide rows based on the search from the cell A2, but none worked as expected...

    I hope you understand what I am looking for . It would really save me from a lot of time.

    Thank you very much for your time ! I appreciate.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dynamic search to add data

    Hi spidykwya,

    welcome to the forum.

    If you want to display the rows based on the search (reference), try using Filter / Advance Filter.... thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    05-06-2012
    Location
    Timisoara, Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Dynamic search to add data

    Yes, i knew that and already tried it ... but I can't get a reference to a cell, I can only get a reference to a certain value ...

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dynamic search to add data

    Okay.. reference to a cell can be given while using "advanced" filter where you give the criteria. Thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    05-06-2012
    Location
    Timisoara, Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Dynamic search to add data

    Thanks for the answer, you gave me a great idea ! That did the trick, but can you help me with a vba code that would do the operation from "advanced filter" :D ? I am searching around but I haven't figured it out yet :D.

    Btw, already gave you the well deserved star :D. Cheers!

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dynamic search to add data

    You are welcome spidykwya,

    You can record a quick macro where you can get the vba code, alternatively see the below link of our forum :-

    http://www.excelforum.com/excel-prog...reference.html

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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