+ Reply to Thread
Results 1 to 51 of 51

Multiple Searching a Data Set

  1. #1
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Multiple Searching a Data Set

    Dear All,

    I rarely post and only use the forum out of interest and to look for solutions to problems I have and that other members may have posted on.

    I recently retired and to keep my brain active, I've embarked on a project that involves Excel 2007. I like football, don't go to matches anymore, but still follow my local team from my armchair. I'm compiling a list of all the players that have appeared for the club there are 33 columns with headings e.g. name, date of birth, place born, date joined, position etc etc. that I will be populating in the coming weeks and months. See attached sample spreadsheet

    What I am aiming for is to be able to search the data on a range of criteria and for information to be displayed as a result of the search, for example if I search for a name, lets say Jones and there are ten Jones in the data set I would like to see all 10 and their relevant stats, date of birth, place born, position etc.

    Additionally, I would like to search, lets say, for DF (abbreviation for Defender) and a list of all the defenders and their stats to be displayed. I've look Advanced Filter but with no success.

    Is this something that would be beyond Excel 2007 capabilities. I would prefer formulas to VB as I have limited knowledge of Macros.

    I've come here in desperation as I've searched the internet for solutions with no success. I have managed to write a formula that includes SEARCH, RANK, COUNTIF, VLOOKUP, IFERROR but I find these limited and not able to perform the task that I want and described earlier. Or perhaps I'm not using them correctly.

    Here's hoping some Excel 2007 Guru out there can point me in the right direction one way or the other and thank you for reading my post and in anticipation of a response.

    Regards,
    Seraphim666
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Hi,

    What you are asking for is more than achievable, even withough VBA. However, I notice only a dataset in your attached sheet, and no evidence of where, or in what dimensions, your desired returns would be.

    Could you possibly re-attach with this in mind? It's easier to work out the necessary formulas when you have a set destination in mind.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Hi XOR LX,

    Thank you for your response.

    I've attached the spreadsheet as requested and hope it is what you asked for.

    There are two tabs in the work book "SEARCH" and "DATASET". the SEARCH tab has some comments in to help your understanding of what I'm after.

    Thank you again.
    Attached Files Attached Files

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Hi again,

    Looking at what you've posted, I feel that you would be much better off posting this thread in the Access Tables & Databases section:

    http://www.excelforum.com/access-tables-and-databases/

    Please don't misunderstand me - this is possible in Excel; it's just that Access is far more appropriate for this. Of course, this depends if you actually have Access or, if not, are willing to invest in it.

    If you still would prefer to go ahead in Excel - or if you get no response after posting in that section of the forum - please don't hesitate to come back.

    Regards

  5. #5
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Hi again,

    I've post a thread on the Access and Databases forum to see what response I get.

    I don't have Microsoft Access and couldn't justify buying it to my "better half" and more to the point Now om retired I can't afford to invest in it.

    So, if you are willing to point me in the right direction and advise me, roughly, what I would need to do I'll do some more trial and error testing of my own and Internet searching.

    Thank you again for your assistance so far, I do appreciate it.

    Regards

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,929

    Re: Multiple Searching a DataSet

    Use the Auto Filter Icon on the Ribbon. I have engaged it in your file attached.

    You can then filter on any category you wish.

    Here is a short explanation of filtering. Keep in mind it was older versions, but the concept is the same

    http://www.techonthenet.com/excel/filters/index.php
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Actually I was thinking about this and was just wondering how flexible you were on the set-up that you gave in your attachment?

    Specifically, are you wanting the search criteria to consist of these several user input boxes? The reason I ask is that you could achieve the same functionality (i.e. ability to search/filter the records on multiple criteria - in fact as many as you wish) by using the in-built auto-filter on the headers of your table. This would be a straightforward and simple solution, and remove the need for any complicated formulas in there.

    The only potential drawback to this is that it would allow a user to view all data records - I'm not sure if this is something that you'd rather not be possible?

    Regards

  8. #8
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    Thank you for your response. However, it is not exactly what I'm looking for. I can already use Auto and Advance Filters.

    If you refer to the "SEARCH" tab in the Workbook you should see from it what I'm trying to accomplish. I'm really after an array formula that will do the job.

    Can you help with this?

    Thank you again for reading my post and the time you've taken to respond, it is appreciated.

    Regards

  9. #9
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Hi,

    I wanted to keep the dataset hidden so that a user could only search on it and not have direct access to the data.

    I would be happy if you could provide some idea of a formula solution.

    I had a reply from the Access and Database forum who suggested filters. I know how to use Auto and Advance Filters but wanted a "Search Engine" in essence.

    Many thanks.

    Regards.

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Yes, and this is why Access is much more preferable for this sort of thing.

    For example, I imagine that you would like, as well as the ability to search using all - or at least many - of your criteria, the functionality that, once a user starts typing, e.g. the first three letters in a particular search box, that a drop-down list of possible returns is presented to them? This is something that is a common feature of databases (i.e. Access) but less easy to replicate in Excel.

    Or perhaps you would settle for not having this luxury and, also, for a search facility which would tolerate exact matches only, perhaps presenting the user with a 'No matches found' message if this is violated? The drawback to this is the obvious loss of flexibility in searching and the added impetus on users to know precisely what they are looking for (it could become quite frustrating otherwise).

    If you are willing to make these compromises, then perhaps we can work something out.

    Regards

  11. #11
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Hi,

    Yes, I'd be more than happy to compromise and to help the search I could insert Drop Down List boxes for FullName, Position etc. so that I could make my selection from the list. I could also include an error message with the drop down list if I type the criteria in incorrectly.

    Thank you again and I look forward working something out with you.

    Regards

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Can you clarify which of your variables you'd like to use as search criteria?

    Also, which of these are going to be based on exact matches and which, if any, will be based on searching within a range, and what that range would encompass (e.g. searching for Age or Year Joined using a lower and upper bound)?

    Regards

  13. #13
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Hi,

    Initially, I would like to search on FullName, Age and Position. Perhaps, if I need to, I can tweak the formula to my requirements at a later date so that the criteria could be altered to Place of Birth etc. if that would be possible

    I don't mind if the search is not exact within a range, but that all possible matches or as many as possible are displayed.

    Regards

  14. #14
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Sorry - you misunderstand. It's actually far easier in Excel if we do restrict it to exact matching, or at least partial matching.

    Having it so that, e.g. if a user types in "Rob" and expects to see all entries returned for "Rob", "Robin", "Robert" or even "Nairobi" is not so much a problem, but inexact matching is not so straightforward, e.g. so that a search entry of "McGowan", if not found, would return "MacGowan" (if it existed).

    If you're fine with the first option, you still need to decide which one you'd prefer (exact only or exact and partial) - you might decide that it's actually undesirable that all options containing "Rob" are returned, and force it to return an exact match for that string only.

    Sorry for all the questions - hopefully there won't be too many more.

    Regards

  15. #15
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Hi,

    I'd be happy and grateful to go with the first option.

    Many thanks.

  16. #16
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Sorry - confused. That doesn't really answer me.

    "If you're fine with the first option, you still need to decide which one you'd prefer (exact only or exact and partial) - you might decide that it's actually undesirable that all options containing "Rob" are returned, and force it to return an exact match for that string only."

    Regards

  17. #17
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a Data Set

    Sorry to cause you confusion, exact match would be preferable please.

    Regards

  18. #18
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a Data Set

    Ok, thanks. I should have everything I need to start working on it now. Be in touch shortly.

    Regards

  19. #19
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Multiple Searching a DataSet

    Honestly, using complicated array formulas to fetch results with that much data would just slow the workbook down to probable non-usability. I would have to stick with Alan's original suggestion of simply using the auto filter, which can do what you've described already. If there is some special need to not use the built in Filter functionality, then I would have to recommend using VBA to fetch the results. It can work with that much data easily and output the results as values in order to keep the sheet working quickly and smoothly. But my first recommendation matches Alan's: Filters can (and should) handle this task.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  20. #20
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Multiple Searching a DataSet

    Alternately, you could use an actual database program, like Access or MySQL or Sqlite and then get comfortable with forms and SQL queries.

  21. #21
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Multiple Searching a DataSet

    I agree a filter is the simplest (best?) solution but reckon an advanced filter might suit better than an autofilter; what is the issue with it? (you mention you looked at it with no success)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  22. #22
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Hi all,

    This query was originally recommended by me to be posted in this forum after I saw it in the General forum:

    http://www.excelforum.com/excel-gene...-data-set.html

    Apologies for this resulting in a duplicate post of some sorts. I assumed that the OP had given up on this thread when he told me that he wasn't in a position to use Access.

    My first thought was that this sounded more like something suitable to a database than to Excel. My second (belated) thought was - like most of you - that this could simply be achieved by using autofilters.

    I am still not entirely sure why the OP is not willing to go down the (far simpler) option of using this method, though he intimated that he did not wish the users to be able to view all data.

    I agree with tigeravatar that a formula-based (necessarily array) solution is not going to be the best method by any means, though I have said that I will give it a go (after agreeing on a limited number of search criteria and exact matching only).

    However, whilst I'm attempting that, it might be worth asking if anyone knows of a VBA solution that could allow the use of autofilters yet hide the source data from view, so allowing all options for each criteria to be seen when selecting a filter, yet only displaying the results of each selection?

    Suggest to any moderators viewing that one or the other of this and the above thread are discontinued.

    Regards

  23. #23
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Multiple Searching a DataSet

    it is simple enough to hide the source sheet but if the data is in the workbook it will be viewable if a user really wishes to see it (they could simply filter each value in turn to build up a complete picture anyway)

    with a hidden sheet code can still use filters-how complex that will be depends entirely on the sort of filtering required: combining one or more criteria on each field like an autofilter ((field1 = A or B) AND (field2 = C or D)), or combinations of criteria on different fields such as an advanced filter will allow ((field1 = A AND field2 = C) OR (field1 = B AND field2 = D)), or both

    even without a real database one might still use ADO to query the source data-preferably in an external workbook

  24. #24
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Thanks, Joseph. Yes, I did consider this issue about being able to 'build up a complete picture' if the user really wanted to. This is why I said I'm not really sure why the OP doesn't wish any of the source data to be seen - and to what 'extent' that's the case (it would be a pretty big effort to go to the extent of 'building a picture' of the entire dataset through repeated filtering), i.e. whether more for aesthetic or for data sensitivity reasons.

    If you spend a minute looking at the other thread, do you think you'd be willing to attempt a solution along the lines of that you suggest? Looks like three criteria and exact matching only - is that something you could work with (perhaps with a 'very' hidden data sheet)?

    Regards

  25. #25
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Multiple Searching a DataSet

    perhaps tomorrow if I have some time free

  26. #26
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Hi,

    Please can you have a look at the attached?

    This is not actually in the form that you requested. This is just something that I would like to start with and then for you to determine to what extent you want the search functionality to be flexible.

    In fact, the attached is really an almost exact duplicate (in terms of what it produces) of the in-built filtering system using some array formulas (and hence is a bit pointless).

    There are five search criteria, with the following features:

    1) Any combination of all of these will produce the desired result.

    2) Not all criteria must be entered - hence the default list (all blank) is one which shows, in effect, the entire dataset.

    3) LastName need not be exact, but will search on the first given number of letters entered, e.g. "Al" (with all other four criteria blank) will result in records pertaining to "Arthur Albiston", "Martin Albrechtsen", "Albert Aldridge", "Norman Aldridge", "Scott Allan" and "Stanley Allan".

    4) FirstName is slightly different. As well as the above, it will return a match if the string entered is found anywhere within the first names in the dataset. So, with the above-mentioned criteria still in place ("Al" for LastName), entering "rt" in FirstName will further filter this list to just "Arthur Albiston", "Martin Albrechtsen" and "Albert Aldridge".

    5) Age may be filtered via the use of a lower and upper limit (inclusive).

    Obviously the big issue here is that (just as with auto-filters) users will be able to access the entire dataset simply by leaving all fields blank. However, I must confess that this issue is still slightly confusing me, as, unless you wish it to be so that nothing is seen until all five criteria are filled in (and perhaps with exact matches), then I don't see you having much functionality in terms of searching.

    Take Age, for example: what is the point in having this as a search criterion if you can only perform exact searches? Surely you would like to find all players between two ages? But then we would be left with the issue again that, if somebody really wanted, they could enter "0" and "100" and get access, again, to the whole dataset.

    Similarly with position. If you wish you to have the ability to see, say, all Defenders who've ever played, then similarly you’d have the ability to see all Attackers…and all Goalkeepers...and all Midfielders...and suddenly you've built up a picture of the whole dataset again.

    Forgive me but I really don't see the issue of data sensitivity here, which is preventing what I feel would make this a workable project; but that's your issue, not mine, and I will go ahead and make a version in which all four criteria must be entered (and will evidently have to make the Age search a single number) if that's what you really want.
    However, I thought I'd first present this version to you and to get your impressions (and give you mine).

    Regards
    Attached Files Attached Files

  27. #27
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    I did send a response to you earlier, only I can't see it in the list above.

    Did you receive it?

    Regrads,
    Colin

  28. #28
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    No. Not in this thread nor the other.

    Sometimes - if you spend a long time over a message for example - the forum logs you out for inactivity so you unwittingly think you've sent a message when in fact you haven't (since you weren't logged on). It's quite frustrating at times - I often write or copy mine to Word if I feel it's going to be a longish post.

    Regards

  29. #29
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    I thought I had sent a reply, but I must have done something wrong.

    I wrote earlier that what you have created is what I had envisaged it would look and function like.

    I am sensitive about the data as I have spent many, many hours over the last 18 months searching, researching, collecting collating, inputting, validating et al and I don't want others to be able to take advantage of my labors.

    I post to fans bulletin board and to liven things up I thought I would start posting stats about our club and its players. So, I thought that all the information I've collected in the last 18 months I would make available, free of charge, on a search only bases top list members.

    I know Excel is not secure when it comes to protecting Worksheets and Workbooks that's why I wanted to protect the data as much as Excel will allow.

    Do you know of a more robust way to protect the data?

    I'm really pleased with your progress and am happy to take your guidance, but would it be possible to select any one of the search criteria and search on that instead of having to complete all criteria boxes?

    Many thanks.

    Regards,
    Colin

  30. #30
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    "I'm really pleased with your progress and am happy to take your guidance, but would it be possible to select any one of the search criteria and search on that instead of having to complete all criteria boxes?

    You don't. Please re-read my previous thread, specifically point 2).

    As to your other point, I think you're confusing data sensitivity and data protection. It sounds as if you're saying that it's not so much an issue that other people have access to all of the statistics that you have compiled (and even that they can, through repeated searching, end up being able to piece together their own spreadsheet consisting of the entire dataset you have compiled) but more that you don't want them to be able to tamper with the data that you make available to them. Is this correct?

    This is a very different matter, and, if this is the case, there is no reason why we can't revert to the original plan of using Excel's in-built auto-filters. Although that would mean people would be able to view all the data, we can add protection to the sheet so that they are unable to in any way tamper with that data.

    Regards

  31. #31
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hello,

    Reading the last paragraph of your post, I thought you were suggesting there that all boxes would require completing. Your point 2 is what I'm looking for.

    Yes, the issue is I don't want people tampering with or copying the data, but I also like what you have achieved so far with the search boxes.

    How different would using the auto filters be to your original search option?

    Regards,
    Colin

    PS it is frustrating when you spend time and lose it without knowing, I've already copied this into Word as you suggest, just in case.

  32. #32
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Hi,

    Like I said, the version that I created is pretty much identical to what could be achieved using the in-built autofilters (though far less efficient).

    You say you have some knowledge of these autofilters? Then you'll know how effective they can be and the degree to which they offer filtering by multiple criteria (in fact, all criteria in your sheet if you so wished, with no array-formulas to slow it down).

    Perhaps you should have a look at this as an alternative. If the reason that you rejected it in the first place was through fear of data-tampering, then you shouldn't worry, as this can be easily prevented.

    Let me know your thoughts on which option you'd like to go with and we can discuss data protection options.

    Regards

  33. #33
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Sorry,

    I thought my earlier response hadn't got thought and sent it again.

    OK, so we look at Auto filtering, how would you suggest protecting the data in a more robust way than Excels built in worksheet and workbook protection provides?

    I have to say I do like the formula array that you've written and the layout, I know that you say it will slow the search down, but I think it makes it look more interesting and aesthetics is a consideration.

    I know that I must appear to be indecisive, but I'm just trying to consider all the options you suggest and weighing them up to match what I'm looking for and I know it is swings and roundabouts.

    Regards,
    Colin

  34. #34
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Ok, so I'll let you decide which option you go with: you have my array-version (which I'll be happy to refine to suit your wishes) and you have auto-filters. So let's discuss workbook protection:

    "...how would you suggest protecting the data in a more robust way than Excels built in worksheet and workbook protection provides?"

    Wow! This really is sought-after data!! Ok, I have to confess, apart from having read the odd story about how, if someone really wants to, they can get hold of the know-how to break password-protected sheets, I've never really been in a position myself where I've had to go beyond the in-built protection options.

    If you could get back to me on the first question (whether you require any amendments to the sheet I sent, if you decide to go with it) and I'll ask around to see if anyone can offer any advice on this issue of protection.

    Regards

  35. #35
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    Yes, lets go with the array option please.

    One other question, as I add players to the dataset, will the array formula automatically recognize any additions and capture them for the search?

    Regards,
    Colin

  36. #36
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    "One other question, as I add players to the dataset, will the array formula automatically recognize any additions and capture them for the search?"

    Yes. All the formulas are offset to automatically take into account any new additions to the raw data.

    In addition, the results sheet currently has the capacity to return up to 500 lines of data. If you foresee more than this being returned, simpy drag the formulas down as many rows as are required (though hopefully you won't need to go too far - array formulas start to slow down a sheet if they become too numerous).

    Do you require any changes to the sheet I sent you whilst we wait for news on protection options?

    Regards

  37. #37
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    "Do you require any changes to the sheet I sent you whilst we wait for news on protection options?"

    I think the sheet looks just fine as it is thank you.

    Regards,
    Colin

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

    Re: Multiple Searching a DataSet

    Butting in for a moment, in terms of security, it's best you get your head around the idea now that Excel is not secure from anyone who has the least inkling to access your "locked" workbook. They'll get in.

    In our company we do not email sensitive workbooks. We print a PDF of the part of the Excel wb we want them to review and they get that.
    _________________
    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!)

  39. #39
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    Thank you for your response.

    The data I'm trying to protect is not of a sensitive nature and I'm not sending it to work colleagues, but to members of a group I belong to.

    I wanted it to be a working file that users could search items of specific data without giving them access to the complete dataset.

    Is there anything more robust than Excels built in worksheet and workbook protection?

    Regards,
    Colin

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

    Re: Multiple Searching a DataSet

    Print the file to a PDF.

    When the PDF is opened, it can be searched. Just like in Excel, CTRL-F.

  41. #41
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    Thank you for your response.

    The data I'm trying to protect is not of a sensitive nature and I'm not sending it to work colleagues, but to members of a group I belong to.

    I wanted it to be a working file that users could search items of specific data without giving them access to the complete dataset.

    Is there anything more robust than Excels built in worksheet and workbook protection?

    Regards,
    Colin

  42. #42
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    Yes, that works.

    Three questions if you could help me with please:-

    1.The spreadsheet data is across 30 columns,is there away that the PDF version can show the data in Landscape rather than portrait?

    2. Is there a way of showing column headings on each page?

    3. Could some "enterprising" individual save this file back into a workable Excel forma, or is the dataset completely safe from hacking etc?

    Many thanks.

    Regards,
    Colin

  43. #43
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Sorry to butt back in here, but wasn't the idea to have some sort of searchable database?

    Whilst I appreciate that you can search for text in a pdf file (CTRL+F), that's hardly the same thing, is it? And what becomes of the work I put into the Excel version if this is to be the case?

    Forgive me if I'm missing something.

    Regards

  44. #44
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi,

    I'm sorry if exploring other solutions has caused any offense. That was not my intention, I value what you have done for me and have recorded so in your "Add Reputation".

    Your not missing anything, but perhaps have got the wrong end of a stick. I am using the worksheet you developed for me and it is working well. I thought I was being courteous in responding to JBeaucaire suggestion that's all.

    Regards,
    Colin

  45. #45
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Ok, perhaps so. It just seemed a strange tack, knowing that CTRL+F in a pdf is hardly the greatest of search methods. But I'm glad that at least you'll be using the sheet I created.

    And many thanks for your kind words in the reputation you gave me. You're very welcome and I wish you the best of luck with your project (and Excel in general!) for the future.

    Regards
    Last edited by XOR LX; 08-19-2013 at 10:39 AM.

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

    Re: Multiple Searching a DataSet

    @XOR, I gave up long ago on the idea of securing Excel data, and anything that must remain secure does not leave our offices, that's as close as we can get.

    If you have some usable security suggestions to offer seraphim, I would be of interest as well. Eveything I tried was hackable in just a few moments of effort.


    @Seraphim - before printing to your PDF, go to the PAGE SETUP and set all your sheet settings... landscape, print area, etc.

  47. #47
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Hi XOR LX,

    I was wondering if you had anymore thoughts or if you have come across a method or third party add-in that would improve the dataset security issue?

    Regards,
    Colin

  48. #48
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Multiple Searching a DataSet

    Hi again,

    Actually I bow down to Mr. Beaucaire on that issue, and I'm afraid I can't improve on what he's already said.

    It would seem he's right that, at least with Excel files, if somebody really wants to break in, then you're probably not going to be able to stop them.

    I presumed you'd agreed to go with pdfs when sharing and just keep the Excel sheet for your own personal use?

    Sorry I can't be of any more help on this issue.

    Regards

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

    Re: Multiple Searching a DataSet

    Quote Originally Posted by XOR LX View Post
    ....if somebody really wants to break in, then you're probably not going to be able to stop them.
    Let me clarify, not "probably", but absolutely will not be able to stop them. Anyone with a web browser and 5 minutes of patience will have fully unlocked any Excel file in their possession. There are easily found web sites / techniques out there proud to be able to assist in this very thing.

  50. #50
    Registered User
    Join Date
    11-20-2011
    Location
    Birmingham, UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Multiple Searching a DataSet

    Gentlemen,

    Thank you both for your endeavors on my behalf.

    I have learnt some much from you both that has enhanced my understating of many aspects of Excel and PDF files.

    I have to decide if I am prepared to take the risk of someone taking advantage of my labours by sending the data in Excel format or to forsake that for the more secure PDF format.

    I do like the spreadsheet array formulas that XOR LX has developed, whether I used that for my own personal use I'm undecided. I have some time to make up my mind as I continue to input data.

    Thank you both again.

    Regards,
    Colin

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

    Re: Multiple Searching a DataSet

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 0
    Last Post: 07-26-2013, 01:27 PM
  2. Searching multiple values in a data set
    By davi2188 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2012, 03:14 PM
  3. Searching for data across multiple spreadsheets
    By immortalthor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2009, 04:18 PM
  4. searching multiple worksheets for data
    By moncureww in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2008, 08:22 PM
  5. Searching Data with Multiple Matches
    By boylejob in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-11-2007, 12:06 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