I've got a spreadsheet with over 60,000 entries each with a different post code. I want to filter and then count to find the most re-occuring post code. However, I want to do this just on postal area, so I need to edit the info so the last 3 characters of the post code are removed, eg...
SE10 4BX
becomes
SE10
other than doing it manually is there anyway to just command excel to delete last 3 characters from my list?
I have a database in Excel 2013 and now I want that when a value (a person's name) is entered in a cell. That then the database sort of filters the list for me, so it's still possible to make changes in the entries.
[URL]
Picture above to specify the search, which I would therefore like to edit
Dashboard_Action Pool Team 7.2.xlsm
I have been all morning working on a simplified version of the tutorial from YouTube: Create your own Excel Search Pt. 4. But came back later so only then that I can not change the data:?
Do anyone know that if excel can be copy and paste special value when some of the columns are filter? It seems that you can only do copy and paste special value when unfilter everything column.
Is there a way to edit my database located on sheet 1 using the advanced filter (output) on sheet 2?
I have a gigantic database and I want to filter it down to the rows I need to edit.. so I used advanced filter to extract the rows I need on to another sheet. But if I edit the rows on sheet 2 how do I makes those changes reflect on sheet 1 (the full database)
two formulas to search a range containing a unique 9 digit number which contain duplicates and then see if there are one of four values in another column.
Column A contains a unique SBI number(9 digits) and will be duplicated. In column E there are a possiblility of 4 other values which are read off a list. These are "Open", "In Progress", "On Hold" and "Closed.
SBI's Open
Need this formula to everytime it finds a unique SBI it goes to column E and count if any of the duplicate SBI's have Open", "In Progress", "On Hold" task and count it as an SBI which is still OPEN.
SBI's Closed
Need this formula to everytime it finds a SBI it goes to column E and count if any of the duplicate SBI's have only "Closed" tasks and count that.
There are duplicate SBI's because there are "Tasks which are listed under multiple SBI, so an SBI number can have 1 to ? tasks under it.
Want to basically count that all tasks under that SBI are closed if they are count it if not it's still open.
Have a formula to count the individual SBI already so maybe a only have the SBI closed formula and minus that count against the total SBI's to give the not closed SBI's ?
I am using code to filter my 4 sheets Greater then 0 (zero)
After apply above filter now i need to copy multiple rows and paste on another specific workbook for paste i m using below code:
for 1st sheet with the name ("V2")
for 2nd sheet with the name("LV")
For 3rd sheet with the name ("F2")
and 4th sheet with the name("L2")
If I play above code one by one all is going very well,,,,,,or if use in this way all is going very well
But here is a big problem..........if any sheet have no value greater then 0(zero)....then code paste all data... e.g shssts("LV") .Range("C5:C54").Copy but C5:C54 have no data greater then 0(zero) and it will paste on another sheet c5:c54 and again new sheets data will paste below the c54 while c5:c54 have no data.
So I want if any sheet have no data with range is greater then 0(Zero) then skip the copy paste code or use like SpecialCells(xlCellTypeVisible) .
I have a data to filter and count it based on the time.
As you can see on the attached file, there is a table of time range wherein I will input the total counts of the partners.
For example:
I will filter Column B with "One" & "M One".
After filtering, on the table, i will count the data that is fit on the time range.
Let say on 1:00am time range, i just want to count the data that is less than 2:00am on the filter data, and put the result on the corresponding partners. Put "0" if there is no data on that time range.
I am trying to use VBA to filter a pivot table value (Top 10 etc) based on a cell value on a seperate sheet.
1. Not sure if I reference Set pvtField = pvtTable.PivotFields("Employer_Name") or Set pvtField = pvtTable.PivotFields("Sum of Value") 2. The command filter (For Each pvtItem In pvtField.PivotItems _ pvtFields.xlTopCount _ pvtFields.Value = filterVal _ Next pvtItem) is causing difficulty.
Sub Top_Filter_1() Dim pvtTable As PivotTable Dim pvtField As PivotField
I have a spreadsheet that includes a column with location names and a column with location numbers. What I need to do is count the visible unique numbers and names (seperately) in a certain column when using a filter. I have found the formula to count the unique values and a formula to count the visible cells, but not a formula that does both.
But what do I use to count-unique values of variable D ?
=SUM(IF(FREQUENCY(RangeD,RangeD)>0,1)) doesn't work. =SUM(1/COUNTIF(RangeD,RangeD&"")) doesn't work either
They don't work because D can occur during different combinations of A,B and C. In other words, the D value of 'Smith' can, and does, occur when A is 1,2 or 3 and additionally when B is Pass, Fail, Withdrawn.
They "don't work" because I can use filters on A, B, C and D to see what the correct answer should be .. and the function doesn't return the correct answer.
I hope I've explained this ok - I've been searching on several excel-help websites for 2 days now and one of the days my client is going to want some results.
Attached I have a spreadsheet with two columns. Both are dates. One is Due Date and the other is Completed Dates. Each row represents a WO (each WO has a due date and complete date). This is what I want to extract:
- I want a count of how many WO's there are in the spreadsheet to start with - then I want to to be able to apply this fillter = Complete Date is equal to or less than Due Date (basically, I want to see how may WO's where completed after the due date). - then I want the spreadsheet to automatically calculate the count of WO's with the filter applied
I filtered my database in such a way that i end up with a list in which different companies are shown.
For example: Companies (column A) MER MER TYH INT MER TYH TYH
Now i want excel to count for me the number of different companies active (so in this example it would be 3, that is MER + TYH + INT). Does anyone know how to make this formula?
I am working on project of doing Turn around time Analysis of the volumes of work recieved before 12:30PM and after over a weeks time. My data consist of Work ref, Datein, Dateout, Timein, Timeout. To carry this analysis I have to Mannually filer the data as per Datein / Timein and Dateout and then count the no of work ref completed within Same day or one day or more than one day for each date of a given week. I recorded a Macro which gives count of no of work. for one particular date of week and repeated the same for each 5 working dates of given week. this Macro has gone to big and I want to use some looping technique which would change my filtering criteria. I tried doing this by assining a variable to Criteria but Macro gives no values.
I need to count the unique items in a range that don't contain the string "option". I would like not to use VBA for that but I can't make it work with a simple formula.
For now, I have :
[Code] ......
That doesn't count the cell with the content "option" and count correctly the other unique items. However I need to ignore any cell that contains the string "option" (with wildcards).
I have tried and tried to get the VBA code working that will tell me the number of visible rows in an autofiltered set of data, but the result I seem to be getting is always "1". Below is the most simple form of the code that I am using (it is based on previous posts and tutorials on this site). (I have also attached a workbook with sample data and the code)
With ActiveSheet Set rnData = .UsedRange With rnData . AutoFilter Field:=1, Criteria1:="5" .Select 'demonstrate that the rnData range is valid lcount = .SpecialCells(xlCellTypeVisible).Rows.Count End With End With
I have a column of "timestamp" data (in mins) which i want to filter by a given time interval, say 10 mins. Then i want to count the number of records for each time interval and output the data to a sheet. how can i achieve this? through vba?
I attached a pic illustrating what i want to accomplish.
How can I FILTER a range and display the unique items, one below the other, WITHOUT blank cells - with only a FORMULA. What I came up with is shown in the attached WB. I would like to present the countries like in C11:C15.
I found a great bit of Advanced Filter code that works great, and fixed a problem of clearing a cell breaking the filter.
But if I want to increase the criteria from 1 row to 2, so you can start to include And , Or operations, it breaks the filter. Even an attempt at a manual one fails, until you put the criteria range back down to one row, then it's fine again.
I've tried changing the Target Row to >2 but that didn't work. how to make the criteria range bigger, and no problems of breakage if you clear the cells? It makes for a very useful automated Advanced Filter.
Here's the code :
[Code] .....
Database = the named area of raw data. DATA is the name of the raw data worksheet The criteria range should be AZ1:BC3, but of course royally breaks it...
Save advanced filter settings Remove filter (or simply set to be 'select all' Run other code (I have this piece of course) Put filter back on with same selections chosen as when it was removed
(Need this becuase the code in the middle does not work properly when the data is filtered)
I just got into the world of PowerPivot, Excel 2013 and Pivot Tables and am in the process of creating a Dashboard which I will then be uploading to SharePoint 2013.
On top of page I added the new timeline filter which I've linked to my pivot charts. Now what I would like to do, is create an additional pivot chart which looks at whatever date range has been used in the timeline filter and subtract 5 years from that. So, when I select a date range of November 2013 - December 2013 in timeline filter, the additional pivot chart will show the details for November 2008 - December 2013. This is where I get stuck.
I'm using two SSAS cubes which I'm combining together in PowerPivot and then display in Pivot Tables and Pivot Charts.
I m trying to use an Autofilter to filter my cells with a Number Filter of is greater of equal to 4 and is less than or equal to 5.
But as you can see I would like to customise is using a range of 2 values which i have specified in Cell P1 and Q1.
I manage to figure out how to reference to this cell, but Im not sure how can i put my ">=" and "<=" operators into my code so i can get it to work exactly how i want as shown in Code 1.
I've a table of data which users auto-filter. I'm wanting to capture the filter criteria each time the filter is applied / re-applied. Can't seem to find an 'event' for the auto-filter.