I have a sheet in which there is a column which mentions some tags.Now i am try to follow the advance filtering to see the data for 2 or 3 tags only but it's not working for me.
I have create a sample excel sheet in which i have taken S.no and Name. In that sheet I am able to apply the filter.I am not able to understand why it's not working in my sheet.
As per the snapshot i want to filter data for 2 tags <NbOfTxs> <CreDtTm>.Please check if anybody can help.
Thanks,
Advanced filter in Excel has the hidden ability of regex (regular expression).
Your data just happened to have some special characters used in regex, i.e "<"
So when you want to filter for <NbOfTxs>, I think Advanced Filter will interpret this as "return all entries that larger than <NbOfTxs> meaning anything would come after <NbOfTxs> in the dictionary, for example: <Pst>, <NcOfTxs>, etc.
I don't know the reasons why you want to use Advanced Filter but maybe you can do normal filter or pivot if it still helps achieve your ultimate goal.
Similar question here:
Advanced Filter criteria does not work for more than one criterion
You can read more on this feature of Advanced Filter here (from above question):
http://searchengineland.com/advanced-filters-excels-amazing-alternative-to-regex-143680
Related
I'm using google sheets, and I've been trying to filter data based on if the B value contains any of multiple keywords. I'm trying to sort account data, and the names aren't consistent, so I can't just say =FILTER(C:C,(B:B="BK's Stuff")+(B:B="Book")). I need something that will take information out of a lot of text like a wild card. What works great for a single entry is:
=FILTER(C:C,SEARCH("BK",B:B))
But I can't figure out how to combine it so it will filter all values that contain EITHER "BK" or "Book."
Thanks in advance.
You can do it replacing SEARCH through a combination of REGEXMATCH and ARRAYFORMULA
REGEXMATCH allows you to search for multiple keywords separated by |
Sample:
=FILTER(C:C,REGEXMATCH(B:B,"BK|book")=TRUE)
Note:
Regexp is case sensitive, so you need to specify separately
REGEXMATCH(B:B,"BK|bk|Bk|bK|") etc.
This is for Excel:
You can combine several SEARCH()s as follows:
=FILTER(C1:C20,ISNUMBER(SEARCH("Book",B1:B20,1))+ISNUMBER(SEARCH("BK",B1:B20,1)))
(should be similar for Google Sheets)
Good morning in my timezone.
I received an Excel file with a lot of rows and columns.
When i use a filter in each column i am able to see all the values the column has when i pick each drop down button.
Question :
How can i select and copy all the values of each filter?
Something very similar to group by in SQL.
Thanks in advance
Best regards
I marked this question as Off-Topic, because I think it belongs to superuser and there you find your solution: How do I get the distinct unique values in excel
I wrote this as answer, because the answer does not exist on SO (but on superuser).
I am using Surveymonkey for a questionnaire. Most of my data has a regular scale from 0-6, and additionally an "Other" option that people can use in case they choose to not answer the item. However, when I download the data, Surveymonkey automatically assigns a value of 0 to that not-answer category, and it appears this cant be changed.
This leads to me not knowing when a zero in my numeric dataset actually means zero or just participants choosing to not answer the question. I can only figure that out by looking at another file that includes the labels of participants answers (all answers are provided by the corresponding labels, so this datafile misses all non-labeled answers...).
This leads me to my problem: I have two excel files of same size. I would need to find a way to find certain values in one dataset (text value, scattered randomly over dataset), and replace the corresponding numeric values in the other dataset (at the same position in the dataset) with those values.
I thought it would just be possible to find all values and copy paste in the same pattern, but I cannot seem to find a way to do that. I feel like I am missing an obvious solution, but after searching for quite a while I really could not find an answer to my specific question.
I have never worked with macros or more advanced excel programming before, but have a bit of knowledge about programming in itself. I hope I explained this well, I would be very thankful for any suggestions or scripts that could help me out here!
Thank you!
Alex
I don't know how your Excel file is organised, but if it's like the legacy Condensed format, all you should need to do is to select the column corresponding to a given question (if that's what you have), and search and replace all 0 (match entire cell) with the text you want.
I found a similar question here (Return the count of the most frequently occurring string based on multiple criteria) but did not see a satisfactory answer. Please help if you can!
I have a list of Manufacturers and their products:
Manf.......Product..........Metric
Adobe......Photoshop.....User
Adobe......Acrobat.........User
Microsoft..Office............Device
Microsoft..Access.........Device
Microsoft..MSDN..........MSDN Named User
In another table I have a list of unique Manufacturer names, and I need to be able to say what the most common (and then second most common, hopefully) metric per manufacturer is, as below.
Manf.........Most Common Metric
Adobe.......User
Microsoft...Device
I would prefer not to have a VBA solution in this case, but will use if necessary. I have seem some INDEX MATCH attempts but nothing is working quite right yet. Thank you!
EDIT: I thought of another way to search for answers and found this, which worked! http://answers.microsoft.com/en-us/office/forum/office_2010-excel/formula-to-return-most-common-value/06383764-3c7d-e011-9b4b-68b599b31bf5?auth=1
Anyone know how to modify it to find the second and third most common values?
If I understand the requirement, a PivotTable should show you what you want:
This is in Tabular form without Totals and without Subtotals but with 'Metric' sorted Descending by Count of Metric. Repeat items labels is not checked as this may help with identifying where 'most common' starts for each Manf.
I've a game schedule where I do the referee nominations - please see the file
I want to be able to filter the columns gym, date and referee. I know how to do that on gym and dates, with the Autofilter. My problem is the referees, because the same referee can appear in bot columns referee 1 and 2 . Can you suggest any solution to this problem?
My second question is: I want to list each referees partners, thought to solve this with Pivot table - is pivot table the best solution, or du you have any other solution?
Thanks in advance for your help
Peter
file: https://www.dropbox.com/s/p798eq4u89...lish.xlsx?dl=0
MY COMMENT: I didn't look at your file but a generic approach to "normalizing" this list is to put all referees in the same column and create another column for whether they're #1 or #2 in that instance. This generally make pivoting and other data analysis easier.
So again, I haven't looked at your sheet (because I'm careful that way) and unfortunately SO doesn't let you post a picture yet, so this is just how I'd do it based on your words:
To the left is the table and to the right the pivot. You can see the referee number column that I proposed in the table. I didn't use it in this version of the pivot, but I suppose it might be handy somehow. The pivot shows who's reffing what game and let's you see at a glance that there's two different refs per game, who they are, and that they're getting their days off.
Here's how I set up the pivot:
I hope that gives you some ideas.