Dynamic Autofiltering: Top Level View Of Incidents

Oct 4, 2005

I have a spreadsheet which I distribute weekly to certain people.
It is basically a top level view of incidents, which shows the following.

Sheet Number 1 is :
Person - Count
Joe Bloggs - 42
Fred Bloggs - 12

And so on.

This shows me a summary of how many incidents per person have been logged.

Sheet Number 2 is the actual raw data for that count, so it shows every line.
So in the above example, there would be 42 lines for Joe and 12 for Fred.

What I'd like is to put a hyperlink on sheet 1, whereby if you click onto Fred's name, it will take you to sheet 2 and autofilter to only show Fred's records (i.e 12 of them)

View 9 Replies


ADVERTISEMENT

2-level Dynamic Grouping Of Rows

Jul 8, 2008

I have a spreadsheet that requires grouping at two levels. See pasted image below.

I need a macro that on the first pass dynamically creates groups of different sizes of data based on values of one column. For example, a group is created for the RR's, a group is created for the SS's, and a group is created for TT's.

On the second pass I would like to group the groups based on the values of another column for the 2nd level of grouping. So the A's would be one group and the B's would be the other.

TotalAAToTalRRARRARRARRAToTalSSASSASSASSATotalTTATTATTATTATotalBBTotalUBUBUBTotalVBVBVBVBVBTotalWBWBWBWB

I can have 2 tables set up for the values that I need grouped at each level.

Table 1Table 2Group 1Group 2ARRBSSCTTUVWXY

I had recorded a macro where I manually grouped the data. However, this did not help, because I am creating a template that needs to dynamcally handle the data that comes in.

View 9 Replies View Related

Dynamic Sheet Level Form Button Text

Jun 19, 2007

I have a form button on a worksheet which calls a specified macro, is it possible to have the text which shows on the button, dynamic? I have created a template excel file, which the user needs to set up as they see fit. I have a separate page which is an 'admin' page where they can customize the narrative in the main template, which includes being able to change the text on form buttons on sheet 1. I have tried with this: Sheets("Approvals").Object("Button 1").Text = Sheets("Admin").Range("e14").value

This unfortuantely results in a "run time error '438' Object doesn't support this property or method". From that i would assume this function is not available, but i'm hoping someone may know a way around it??

View 5 Replies View Related

Dynamic View Of Workbook

Aug 16, 2006

I have 1 workbook which summerizes 3 other workbooks. My question is, is there a way that if I hide a column(s) in 1 workbook (by either using Hide or Outline), the corresponding column(s) will also automatically be hidden in the Summery workbook?

Or, is there a way that I can make the Summery Workbook only display / Link to cells that is been displayed in the source workbooks? I hope to do this dynamically, so if something is hidden by Outline or Hide in one of the workbook, the affected cells in the Summary workbook will also go in hiding.

I am hoping to do this by some magical Excel Function, if not then by VBA (I'm not that good a VBA programmer), if not even that, then maybe some free Excel Tool someone knows?

View 6 Replies View Related

Count Number Of Occurrences (not Incidents)

Apr 26, 2007

I am working on a spreadsheet that tracks employee attendence and I am hoping there is a formula that can count the number of occurrences (see below) not the number of incidents (total number of times it comes up).

v
h
v
v
v
h
h
v

incidents of v: 5
occurrences of v: 3

View 9 Replies View Related

How To Speed Up Autofiltering

Feb 26, 2006

How to speed up Autofiltering? Excel 2003 sp2 hangs up for 10 minutes after
I choose a record in the Autofilter.

View 13 Replies View Related

Autofiltering With Password?

Dec 11, 2006

I have a worksheet that is password protected. The userforms used to input all the data have an initialize event that unprotects the sheet to input the data and then before protect the sheet upon closing the userform. This works perfect so that input data cannot be changed once entered; however, the problem I have is that I need to allow autofiltering so users can sort through their input data. I have a command button that unprotects the sheet and places the autofilters in the correct locations, but once this is activated the worksheet then is open for modifications by the users. Is there a way that I can allow autofiltering while still keeping the data protected? If .

View 9 Replies View Related

Autofiltering Using A Variable

Jul 7, 2006

I am trying to make it so a user can input a variable such as a date and then press a button which will autofilter a lot of data by what the user entered. The problem is some of the data I want users to be able to filter by needs to be filtered using "begins with" or is "greater than" or "less than". I can only make it so I can filter by "equals" when I try to do for example "begins with" using "*" it doesn't work out. Here is an example of my code

Cells.Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:= Range("Sheet1!B4").value, Operator:=xlAnd"

This code will auto filter data by what ever is entered into B4 on sheet 1. I can't figure out how I can filter with the "begins with" function or "less than" function using a variable.

View 5 Replies View Related

Autofiltering Text As You Type

Jan 6, 2010

I have a spreadsheet with approx 12000 rows.8 columns. it represent material in our inventory and each row is a specific records that contains a lot of info. I need to be able to have a field in a top pane (could be top row i guess. or a small form) where i can start typing text and as i am typing, the spreadsheet auto filter the rows to display only whatever fit my parameters i am typing. a few example of what i will type in are:

bearing*2217
valve*gate*3*150
asco*8344

as you may have guess, "*" is a wildcard. The spreadhseet are generated using crystal reports over night, so i am not sure how i can or should use macros or add in for this..

View 5 Replies View Related

Autofiltering A Protected Sheet

Dec 11, 2006

When I protect my sheet and have the option to allow the users to autofilter the sheet, how come it doesn't work? I want to allow people to autofilter the data in the worksheet but not modify the contents of the cell.

View 9 Replies View Related

Autofiltering Dates By Selecting Month

May 14, 2009

I have a large spreadsheet which has a column of dates (dd-mmm-yyyy) in it. I would like to be able to filter by month regardless of dd and yyyy. I would like to see all quotes in Jun.

View 2 Replies View Related

Autofiltering Then Adding Value To Filtered Rows?

Jul 25, 2014

I am able to autofilter a sheet to show only rows with a date in Column U but no "x" in Column BC. Now I want to be able to put an "x" in BC in only the filtered rows. The purpose is if someone enters a date in Column U, the macro will show only those rows minus the rows that have already had an "x" added to BC.

For the most part I've gotten this to work using but it will also put an "x" in Column BC, row 3001 on down.

How can I get it to stop at the last row?

Cells.AutoFilter Field:=21, Criteria1:="<>"
Cells.AutoFilter Field:=55, Criteria1:="="
Columns(55).SpecialCells(xlCellTypeVisible).Value = "X"

View 5 Replies View Related

Delete Entire Row Of Result Of Autofiltering?

Mar 2, 2012

I need to delete entire row of the result of autofiltering i.e. the visible rows only

If I do this manualy it works but if I record this on a macro, it records the absolute cells range I pick, when in fact the result of the filtering is different every time.

Is there a way around this with VBA?

I've Seen Copy paste in this forum but in my case i need to delete the entire row.

View 1 Replies View Related

Using VBA To Save And Redo Autofiltering Settings

Aug 9, 2007

I am trying to figure out how to save a worksheet's autofiltering settings and be able to re-create those settings.

I would start off with a spreadsheet with a few Autofilters on. I would like to make a macro that will record the initial Autofilter settings, then the macro would do a bunch of stuff that would need to 'Show All'. After these actions take place, I would like to be able to return to the initial Autofilter settings. I'm not even sure which VBA command should be used for this sort of thing.

View 9 Replies View Related

Excel 2007 :: How To Adjust Protected View Settings But Protected View Tab Is Missing From Trust Centre Settings

Dec 12, 2013

Excel 2007 - need to adjust protected view settings but the protected view tab is missing from my Trust Centre settings - have the following tabs - trusted publisher / location, add-ins, activeX, macro, message bar, external content and privacy options. Document is a revenue authority download and without being able to adjust the protected view settings, can't input data.

View 3 Replies View Related

Countif Formula: Count The Number Of Incidents In Column BB That Are >0 But Only IF The Value In Column E Is "Abbeywood"

Dec 29, 2009

I'm trying to count the number of incidents in column BB that are >0 but only IF the value in column E is "Abbeywood". i.e. how many times there's a figure greater than 0 for Abbeywood. I can't seem to get count if to do this!

View 4 Replies View Related

Multi-Level Reporting

May 15, 2008

I have a 2-column employee file. Column A has the employee id and column B has the manager's employee ID. The reporting layers can get pretty deep. In this example, there are 6 layers of reporting. For example, Employee id 1200 (which is not in column A) has 2 employees. One of them (1712) has several employees, one of whom (1680) has employees reporting to them and so on for several levels.

Is there a way in Excel (2003 or 2007) to summarize the reporting structure? For instance, I need to know all of the employees that report up through emp id 1712 - not just that report directly to 1712, but all those under 1712's tree.

View 9 Replies View Related

Multi-Level Folders In VBA?

Apr 19, 2012

I have the following function. the problem with this excel is i give it "C:" as directory, it search only one level of sub folders i.e it will search the filename in

C: est
C: est3

It does not go deeper. i.e it wont look in folder that is for example

C: estanotherlevel
C: est3anotherlevelmylevel3

How to modify my function so that it goes to the deepest folder. is there a way to do it?

Function GetFile(directory As String, filename As String)
Dim FSO As Object
Dim fldr As Object
Dim subfldr As Object
Dim file As Object
Dim fullname As String

[code].....

View 2 Replies View Related

Getting Sheet Level Names - VBA

Jul 24, 2012

How can I obtain the sheet-level name through VBA? I'm not referring to the sheet (tab) name but the name as defined though Insert/Define or Insert/Create, etc .

I know the way to get the cell level name goes something like this:

MsgBox Sheet1.Range("A1").Name.Name

But i don't know the correct syntax for sheet level.

View 4 Replies View Related

Check Memory Level

Feb 10, 2009

I have this memory game I want to set out on the computer. In table A, Row 2 (B2:E2) I (Moti) start off being the first player, where I place a series of different items. (In Example is given letters but can be kitchen article food and so…. Separated by coma) these Items are shown to player Jack, for a few seconds, so he can memorize them and Answer in (B3:E3) ....

View 9 Replies View Related

Sum Depending On Indent Level

Sep 22, 2009

I was wondering if it was possible to do a SUMIF function depending on the indent level, e.g. sum all of the values which have an indent of 2 in the row headings.

View 2 Replies View Related

Display Outlines At Different Level

Nov 11, 2006

I created 2 groups of lines (or outlines) with sub-outlines (so I have 2 levels) in the same worksheet.

I would like, via a macro, to display the 1st at level 1 and the 2nd at level 2.

Of course, I tried the "showlevels" command but it puts both groups at the indicated level.

Is there any command to work only on 1 of the 2 groups ?

View 4 Replies View Related

Bucket Level Chart

Aug 30, 2007

With reference to thr great charts that Andy Pope has made available on his website; specifically the thermometer chart and the dollar spit chart. Is there any way that one can use these methods on something shaped like a bucket or do the shapes have to be "straight line shapes"?

What I was trying to do was to adapt the thermometer method to work on a bucket but I realised that the chart is built on a column chart. Thus a bucket would not work cos the top is wider than the bottom.

View 7 Replies View Related

Multi-level Lookup

Oct 24, 2007

I'm looking for a formula to pull the correct piece of data from one worksheet and display it in another. I have tried VLOOKUP, but it is only returning values from the first instance of my lookup value. Below I have included a sample of what the data from the first sheet looks like. My lookup value is entered on Sheet2 in cell A1. The formula I have used is as follows...

=VLOOKUP(A1,Sheet1!A2:D13,4,FALSE)

The result this would return for a value of 111111111 is 15, but I'm looking for one more level of depth in this lookup, by being able to pull not necessarily the cost of the first code, but of a specific code......

View 3 Replies View Related

Relative Path With Different Directories - Especially Up One Level

Jan 4, 2011

Is there any way to reference a directory that is up one level from the ActiveWorkbook.Path?

I am trying to accomplish three goals:

1. Maintain a Master Database in a root directory and pull data from a subdirectory - EASY:

VB : FilePath = ActiveWorkbook.Path & "sub-DirectoryName"

2. Maintain a Minor Database located in a sub-Directory, Named by Month, and pull data from the Master Database located in the Root Directory (up one level). Which I cannot find the right syntax for - ".." does not work.

3. Maintain a Minor Database in a sub-Directory, Named by Month, and pull data from a different Minor Database in a Different sub-Directory (e.g. up one level to root directory, then down one level to "January"). Which I also cannot find the right syntax for.

The Databases are going to be moved around A LOT, so I have to use relative paths.

View 4 Replies View Related

3 Level Dependent Data Validation

Jan 16, 2014

I have a workbook with three sheets.

Sheet 1 is a large data array (approx 8 columns x max 400 rows), than contains the inventory and cost information of a list of products in a running cafe.

Sheet 2 is is a recipe analysis tool that I want to be able to use data validations to cost out recipes, drawing information from sheet 1 in three dependent drop down boxes 1- category, 2- supplier, 3- item name, which then returns that items cost per standard of measure.

Sheet 3 is where I have started to try to generate a unique list for category and supplier to assist sheet 2 in referencing from sheet 1.

There is data overlap across the inventory items, with many items having the same category and or supplier.

Examples that I have found online use the index and match function, in conjunction with naming to return the array required for the drop down, however most of these examples I have found contain simple unique lists.

I cant seem to nut dynamic naming, which is integral as the list is expanding and contracting all the time.

So far I have been successful by manually naming a range (not a satisfactory solution as per above) and then using the indirect function to reference that named array from sheet 1.

View 4 Replies View Related

Multi Level Match Function

Nov 19, 2009

Been trying to figure out whats wrong with my formula. The 4th column doesn't seem to produce the intended result. I have attached here for reference.

View 4 Replies View Related

Water Tank Level Formula

Jan 1, 2010

I am making a chart for displaying the amount in inches that we have in the water tanks.

The idea is to have a setup like this...

View 14 Replies View Related

Multi Level Bill Of Material

Feb 9, 2010

create a multi level BOM in excel:

i have a formula
A=a+b+c+B
B=a+d+e

if i select A, i need excel to give 2a+b+c+d+e (and that should be in another sheet.

also i may take 50% of A +50% of B the resulting formula must appear.

i attached an exemple file.

View 14 Replies View Related

Use The Dropdown List To Move To The Next Level?

Jan 23, 2013

I have a sheet on the left is a list of document names, next to the list is a hyperlink to the actual document. On the right is a drop down list.

The list contains:

Started
In Progress
Complete

I want each person to be able to use the dropdown list to move to the next level but not be able to go backwards.

Example of how it would work:

A person would click the link to the document and set the status to Started in the drop down.They would read half the document and set the list to In progress. However they would not be able to go back to Started or a blank cell once they have set it to In Progress. The same applies to the next level, if they set it to Complete, they cannot change it to anything. Perhaps before "locking" it as Complete there could be a message box warning that the action is not reversible and giving the option to leave it as In Progress.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved