Filtering Column - Calculation Does Not Stay With Assigned Cells
Mar 19, 2014
How would I fix my formulas from not working when I filter other columns? It is a simple =A1/A3 cell and this calculation is down the full column. When I filter any column, the calculation does not stay with the assigned cells.
View 2 Replies
ADVERTISEMENT
Jun 10, 2014
I have a little trouble with my macros. I wrote several different macros, each for a special purpose. Then I created some Buttons, which would make it easy for others to work with them.
But I have now experienced several times, that my buttons don't keep their assigned macro.
View 5 Replies
View Related
Mar 11, 2014
I have a spreadsheet with multiple columns:
Column B - Host Contact
Column C - Company Name
Column D - Attendees
Column E - Contractor Position
Column B will have anywhere from 1 to 10 names.
Column C will have 1 -2 names.
Column D will have anywhere from 1 to 10 names.
Column E will correlate with column D.
This list will go to multiple people who will want to filter column B for their name. When they filter their name, they should see all values in columns C, D and E.
When I try to filter this spreadsheet by a persons name in Column B, it only shows me the first value in columns C, D and E.
One of the attached pictures shows a mock-up of the unsorted list, the other shows the sorted list.
Sorted Format.PNGUnsorted Format.PNG
View 1 Replies
View Related
Jan 28, 2013
How do I lock a column header so that it will always stay at the top as I scroll down the page?
View 4 Replies
View Related
Jul 31, 2009
I am using Excel 2007.
I have a spreadsheet with about 30 items in 30 rows. I have a picture object which corresponds to the item # and other info in each row. When I sort the rows, the picture objects don't get sorted with the rows and end up no longer corresponding with the item # and other info.
I have right clicked and set the properties for each picture object to "move and size with cells". This does not prevent the problem.
View 9 Replies
View Related
May 16, 2014
I'm working on a sheet I have to complete and I'm blocked 'cause I'm not able to find the right formula to get the result I need.
I have a sheet that contains 4 columns with the following content (consider the following just as an example. The real sheet contains more that 25,000 rows.
User ID Repository 1 Repository 2 Repository 3
001FG x
001FG x
10GA x
20PK x
20PK x
20PK x
21CC x
4C1D x
Now, the table contains the user id (unique ID) and three columns that stand for the access right the user has for accessing a specific repository.
This means that a User can have more than one occurrence in the sheet because it could have rights to access different repository (i.e. the user 20PK can access all the repository).
What I should be able to do is to transform the table above to a new one with unique user id and the rights for each repository. I would need something like this:
User ID Repository 1 Repository 2 Repository 3
001FG x x
10GA x
20PK x x x
21CC x
4C1D x
How can I do this by using a formula and not a macro?
View 3 Replies
View Related
Jun 21, 2007
I have a spreadsheet with a row for a company name, their offer price underneath that, and a 1,2, or 3 underneath that. In a seperate tab I have the offer prices in order of rank with the company name next to the corresponding price using the Index function. I also need to be able to color code the background of the offer price based upon the 1,2 or 3 associated with each name. I am new to the Index stuff so I need some help putting this one together.
View 3 Replies
View Related
Feb 8, 2014
I would like to take a List of numbers, which come from a separate spreadsheet, place them into a UserForm text box and then use a command button to input the list of numbers into a column of cells. The list would often vary, between 1 and 10 entries. But if I could do this, I would be able to resolve an issue with my spreadsheet that continues to haunt me (the dreaded number stored as text.....). I know that you can assign a single textbox value to a single range-cell value. But if I could input a list at a time, it would obviously save a lot of effort.
Example
In spreadsheet #1, I would copy the list below.
25466
87550
66985
44252
In the user form I would paste these numbers into the text box and they would be input into Sheet #2
B6 = 25466
B7 = 87550
etc. etc.
View 2 Replies
View Related
Jul 12, 2006
I am trying to do is filter out one column of data with another. Basically if a value from column A is in column B... delete it.
Here is code that I am using:
Sub filter_out()
' filter_out Macro
' this will scan one column and remove cells from it that
' are in it that are in another column
Dim INV As Range
Set INV = ActiveSheet.Range("A2")
Dim MW As Range
Set MW = ActiveSheet.Range("B2")
I keep getting object errors and it fails...
View 4 Replies
View Related
Jan 3, 2013
How (or if) you can put multiple filters into one column? For example, I have a main cell with sub cells (that need to be filtered), and those sub cells have sub cells (that need to be filtered). All withing a single column. I have an example of what my data looks like in the attached.
View 4 Replies
View Related
Jul 9, 2014
Why after the first loop (Z=2) all of a sudden column A in WS ATT disappears. Worth adding that column M in WS L is a "dynamic" range (at first it contains 7 cells) in the sense that it shrinks with each loop (M2:M8, second loop: M2:M7 etc.).
[Code] .....
View 8 Replies
View Related
Apr 3, 2007
I have been trying to transpose a piece of code that was put on this forum back in 2005 into my own Workbook but have been unsuccessful. The original piece of code filtered a column for unique entries and then filtered the main sheet for each unique entry and cut and paste each row that the unique value occurred in and in a new worksheet. A new worksheet would be created for each unique filter.
So what I am trying to do is look up a list of values that i have in a list on the worksheet. Then for each entry in my list, create a new page and cut and pasted the filtered main worksheet into that page.
Finally return to the main worksheet and then remove all filters.
I have attached the original file that was submitted so you can look at how it works and I have posted a sample my worksheet (with some things disabled to reduce file size but hopefully you will get the layout. However I don't currently have that sample on this computer. It is posted on another thread under the title "Selecting rows with specific values in a column".
View 5 Replies
View Related
Feb 13, 2012
I have exported a report to Excel from a BI tool called ZAP.
Unfortunately the cells in the columns are merged by group eg. salesperson, product, country.
I need to be able to filter by each of the columns - the only way i can think of is to unmerge and copy the information to the rest of the "merge area".
This will be extremely time consuming as there are more than 1000 rows and at least 5 columns that I want to filter.
Sales PersonCountryCustomer NameProduct Model DetailJohn WUNITED KINGDOMAPCBasicPremiumStandardStAPLAccessoriesAcrylic FsPremiumFsStStyAPOAccessoriesPremiumStandardStAPMFsPremiumStandardSt
View 3 Replies
View Related
Jun 18, 2014
I had column A and
a1 = 1/2/1990
a2= 2/5/2000
a3 =4/3/1999
a4 = #N/A(From vlookups)
a5 = 6/4/2013 and
a4 = #N/A(From vlookups)
How would i filter out just the #n/a's
Something like:
If this workbook.sheets("sheet1").cells(t,1) = #n/a then
run code
Not sure because it's a error not actually #n/a right?
View 3 Replies
View Related
May 1, 2009
This may be a basic question but I haven't been able to find the solution:
I'm using Excel 2003. I have a list with repetitive entries in one column and unique entries in the other columns. Example
0001 a
0001 b
0002 c
0002 d
0003 e
0003 f
I need to filter the list so that only unique entries in the first column show up, but I need the rest of the information to carry with it. Example:
0001 a
0002 c
0003 f
I can't use the Avanced Filter > Unique Entries Only function because the information in the adjoining columns is not unique.
View 6 Replies
View Related
Jun 6, 2014
I am currently writing a macro that does a variety of things, one of these being that it automatically sums up columns I,J and K. The dilemma I have is that I need to be able to see the sum of the data in a cell at the bottom of the column, after manually filtering it according to what I want to see.
View 4 Replies
View Related
Oct 13, 2011
Column A
Row1 Orange-Apple-Pear
Row2 Orange-Grapes-Melon
Row3 Berry-Apple-Melon
Row4 Banana-Grapes-Melon
Row5 Orange-Grapes-Banana
Given the information above:
I want to find a macro that will auto filter on for example
"Banana" would filter to rows 4,5
"Orange" would filter to rows 1,2,5
"Apple" would filter to rows 1,3
View 4 Replies
View Related
Dec 3, 2013
I am having a set of data. Every month I need to filter for some values and replace data in some cells.
In the attached file I have given the data and also the filter conditions and what column I need to change.
creating a macro where in the filters and the changes to be made are in the table. The macro should use these conditions and make the changes.
View 2 Replies
View Related
Sep 7, 2013
I have a macro that turns off filtering option when it runs. What I want is for to first warn the user that rows have been filtered and the Macro will not run, then once the filters are switch off, the macro will run. It does the last bit at the moment but switches off the filtering of protected cells and once the macro has run the sheet can no longer be filtered .
Sub NewRowSQT()
Dim ans As String
ans = MsgBox("Ensure you have selected a cell in column B immediately below the section you wish to add to or the Macro will FAIL!", vbYesNo)
[Code]....
View 1 Replies
View Related
Nov 14, 2009
I need to create report (just summing up) based on values in two different columns. I need a VBA to do it as the column values may vary at any time.
I have attached a sample workbook for your kind reference.
View 14 Replies
View Related
Jan 23, 2013
Learn about the "copy only visible cells" when I've filtered down a filter. Now Excel copies that way by default everytime I copy multiple rows when I've filtered. But NOW I want to copy everything that is hidden between the filter as well, i.e. how it did it before.
How can I tell Excel to do that?
View 2 Replies
View Related
Jan 31, 2014
I have a column that contains combined data of numbers and letters. I want to filter that column to exclude cells that contain the letter "d" or "f". I am trying to create a pivot table from the results of the filter to only display the ID #s that do not contain the letters "f" or "d".
The data inside the fields is not the same length and is not listed in a particular order. I have over 14,000 records I need to filter.
Data set example: The items in red are an example of the cells I would like to exclude from my worksheet. Is there a way to filter without deleting the data?
445-0706634F946
5886-K949-D001
445-0716622F946
445-0706634F887
497-0480473
445-9995967F025
6569-9788-2342
9016-1300
9016-C765-875
123-S765-87645
View 1 Replies
View Related
Jan 22, 2013
I have a spreadsheet where I need to lock certain cells, only problem is this then takes away the ability to filter the columns which I also still need in that spreadsheet.
Is there a way to lock cells so that they can not be edited but also keep the filtering function?
View 2 Replies
View Related
Feb 11, 2008
Is it possible to use an advance filter to detect blank cells? Or can the criteria be set to detect all cells that don't contain a letter e.g. "Y"?
View 3 Replies
View Related
Dec 16, 2013
From a table like the one here, how can I generate a list (without spaces) of all the names only? Perhaps filtering by "Mr","Miss","Dr" or something? The result I'm after would be a column on a new sheet that ran:
Mr James
Mrs Milly
Dr McAllister
Miss Aujard
Mr Barker
Mrs Stanley
View 3 Replies
View Related
Feb 6, 2008
I am comparing a set of common variables across 2 sets of independent financial data. When comparing a variable across the 2 sets e.g. profit I want to colour a neighbouring cell based on the size of the difference. For example if the difference between the two values is within plus or minus 1 make it green, plus or minus 5 red etc.
View 5 Replies
View Related
Nov 1, 2008
Background: I am HR manager for a construction company & keeper of the call-in list of personnel who are looking for work. I have a simple sheet that has columns:
Date Name Craft Experience ...more info...
If each call-in had only one craft, wouldn't have a problem. Those who are multicrafted ar listed e.g. "EL, MW, BM" In the column C. A caller two days later may be listed as "MW, BM, EL" We input the data as they say it since that is usually their order of expertise. (Yes, I know that it should have been set up with each craft having its own column, but I inherited the sheet & it has 4000+ entries)
I wrote a couple of small macros & assigned buttons on the sheet to allow the users to sort the sheet by date, or name, or craft. My customers (project managers) have requested to be able to sort by craft but have all the folks with any specific craft listed together.
Example (Excel 2003): ..
View 4 Replies
View Related
Apr 23, 2013
Here is the original table:
This is with a filter on:
You can see there that some inserted object (in this case, PDF files shown as icons), are moved. I need to find a way to immobilize every inserted object within each cell boundaries. I want to freely sort or filter and avoid this kind of problem that gets worse with more rows, columns and inserted objects.
View 1 Replies
View Related
Feb 26, 2007
i have a list of numbers in column A and B and C etc and i am trying to do some simple math for every 4th cell
Const startrow = 1
Const endrow = 60000
Range("c3:ba6").Value = 0
Range("c9:ba12").Value = 0
For y = 1 To 2
x = 0
For i = startrow To endrow Step 4
If Cells(i, y ).Value = 0 Then
x = x + 1
Else
If x > Range("c3").Value Then
Range("c3").Value = x
x = 0
Else
x = 0
End If
End If
Next i
Next y
however it can add the number in column A but never add the number in column B.
View 9 Replies
View Related
Jul 29, 2014
I have a spreadsheet where I am trying to quantify which items meet certain conditions.
In columns J, K and L I have dates. Column M is an associated $ amount. Column N calculates the number of days between J and K and column O calculates the number of days between L and K.
I have to get the dollar amount for column N over 45 days and in column O the dollar amount under 120 days.
My formula for column N is =sumifs(M6:M1166,N6:N1166,">45") and for column O is =sumifs(M6:M1166;O6:O1166,"
View 2 Replies
View Related