Table Of Contents With Statistics

May 16, 2008

I have a table of contents page. The TOC is updated each time some one opens the sheet (this is a must have based on the requirements). I'm trying to include some statistics next to each item in the TOC. These statistics are on each worksheet and just need to be copied to the TOC.
Now my problem.

The worksheets are NOT keep in alphabetical order, so After the TOC is created a sort is done to put the TOC links in alphabetical order. After the order is set, I need a formula that will read the worksheet name from a cell on the TOC (which is really a hyper link to a worksheet).

I have this already:
ActiveCell.FormulaR1C1 = "=Address!R[-2]C[-2]"

If "=Address!" (Where address is the name of one of the sheets) could be replaced with a cell reference that (I think) would do the trick.

My TOC is a MACRO not a cell formula so if this can not be done with a cell formula but can be done through VBA that would be fine.

View 6 Replies


ADVERTISEMENT

Macro To Create A Statistics Table From Another Data Table (containing Merged Cells)

Apr 14, 2009

I would like to have a macro to automatically generate a statistics table (on the "statistics" tab) with the 5 following fields:
Fragment names / # samples / # of failed samples / % of success / # of variations in the fragment (SNP). At the bottom of this table, I would like to have a cell with the average % of success for all fragments. The data to generate these statistics are on the "gene name" tab (please note that this name will change every time I will work on a new gene). To make things easier, I think the macro should be run from this tab.

1. The Fragment names are displayed in row #5. I use one column per variation per fragment. If one fragment has 3 variations, there will be three columns and I will merge together the fragment name cells. The fact that some cells are merged can be a problem when copy-paste to the stats table (as I would like to get rid of the merging).

2. # of samples corresponds to the number of cells in blue in column A. The number of samples can change from one report to another but is always constant in the same report.

3. # of failed sequences. In the table, I type "Failed Sequence" (if the analysis has failed) and "Missing Sequence" (if the analysis has not been done). When a sample is failed or missing, it is for the who fragment, no matter how many variation there is in the fragment, so I usually merge the cells of all variations for this failed sample.

4. % of success: this is quite easy #sample/#of failed+missing sequence for this fragment

5. # of variation is equal to the number of variations for this fragment (can be 0, 1, 2, etc.). When there is no variation in a fragment, I put '-- in all cells of the corresponding fragment on the "gene name" tab. Fragment 3 on my file is an example of 0 variation.

View 3 Replies View Related

Organizing Statistics (manipulate Team Statistics)

Mar 30, 2009

I want to manipulate team statistics and having a bit of trouble trying to figure out how to do it. I am relatively new to excel and am using Excel 2007.

I have attached the excel file for your reference (the same file).

What I need to do is first find out the team number using the table on first sheet named "Teams". User will enter team name on call B4 of sheet "Team entry" then in cell C4 there should be a formula to find the team number (is beside name on sheet "Teams) and displays it (on C4). Then on cell D4 of the same sheet "Team entry" there should be a formula that displays cell A1 (shows a statistic for that team) of the team sheet. Each team has its own stat sheet named by its team number (easier for me to keep track). So basically D4 should show cell A1 of the sheet that shows stats of the team entered. In addition cell E4 of "Team entry" should display stat2 (of the sheet "stat2")for the team entered.

View 2 Replies View Related

How To Create Table Depicting Trailing Monthly Data / Statistics

Dec 6, 2011

I am improving an old spreadsheet that contains a tab for inputting the following data, all using data validation:

date
employee (who did the work)
team (for whom work was done)
department (for whom work was done)
type (of work done)
Project (which property worked on)
new/revision (was this a new project or revision of old)
time (spent working on this)

I have a sheet with a drop down in which you can sort by employee and the associated chart and graphs adjust the information accordingly.

I need to create a chart and graph in which I can track the trailing month as well as year to date. Ideally, I would like to sort by the following:

- This month (i.e., the 1st of the month to present)
- previous month (etc., be able to select all previous months for which data was entered, i.e. Jan., Feb. March. etc.)
- Year to date

I know there is a way to do this - I thought maybe it would be through some formula incorporating =today() and subtracting back to what you need using numeric dates?

View 1 Replies View Related

Table Of Contents With Hyperlinks

May 17, 2007

I am attempting to build a table of contents and add hyperlink to each entry
as suggested by dynamic sheet index

The TOC is constructed properly, but when I click on the hyperlink I receive an error message:
" Reference is not valid"

My code (courtesy Jabax):

Sub Create_TOC()
Dim wb As Workbook
Dim wsTOC As Worksheet
Dim ws As Worksheet
Dim r As Long

Set wb = ThisWorkbook
Set wsTOC = wb.Worksheets("TOC")

' Turn the next two lines of code on and off as preferred
' Ans = MsgBox("Do you want to update the Index?", 4)
' If Ans = vbNo Then Exit Sub

With Application
. ScreenUpdating = False
.Calculation = xlCalculationManual
.DisplayAlerts = False
End With...

View 5 Replies View Related

Page Numbering In Table Of Contents

Feb 17, 2009

I am trying to build a sheet that contains a table of contents at the top, followed by tables as one scrolls down in the same sheet. What I would like to have to the side of each line in the table of contents is the page number of the table that line is referring to. Is there a formula or a function I can use that will dynamically retrieve the page number of a particular table?

View 3 Replies View Related

Formatting Table Column Contents

Nov 22, 2011

I have converted a table from PDF to Excel format....

The table consists of longf columns with rows of data in each column.

Once converted to Excel format, the columns become single cells with say 100 rows in each cell.

My question is this:Can I reformat these larger cells such that each row within the long single cell gets its own single cell.

This would enable me to copy paste the data into a spreadsheet and avoid the data entry....

View 1 Replies View Related

Table Of Contents For Hidden Sheets

Jan 3, 2012

I have to review work papers with 50+ sheets. The users often hide the sheets they do not use. As part of my review I have to review all sheets, even the hidden ones.

What I would like to achieve:

To create a list of all hidden sheets with hyperlinks so I can go directly to the hidden sheet. This would be the same as a table of contents but for hidden sheets.

View 4 Replies View Related

Pivot Table - How To Clear Formatting And Just Get Contents

Apr 22, 2014

How do I clear the pivot table formatting? I want just the content of the pivot table, but can't figure out how to get rid of the formatting?

View 2 Replies View Related

Table Of Contents That Will Include Chart Tabs

Apr 27, 2009

As I mentioned in my other thread, I have a spreadsheet with 9 worksheets and 200+ charts in individual tabs. As you can imagine, searching back and forth across 200+ tabs is a bear. While I have used Tab Colors to help, it's still way too annoying.

Sadly, each chart must be in its own tab in order to ensure that the links to PowerPoint and Word continue to work. Unless I'm missing something, individual tabs are the only thing that have worked for me.

I recently found a macro that creates a TOC for worksheets, but it didn't include chart tabs. Is there such a thing, or is there a way to creat such a TOC manually?

View 5 Replies View Related

Create Dropdown List For Table Of Contents?

Dec 6, 2010

I am trying to create a drop down list for a table of contents that can link off to other pages within the same work book since it is very large and difficult to navigate through. I can create dropdowns were the lists it draws from is hyperlinks and that doesn't do anything special. It is just like drawing a regular list. I want the drop down when I click on something, to link me over to the other sheet.

View 7 Replies View Related

Copy And Paste Table Contents Without Functionality

Nov 26, 2013

I have a spreadsheet with macros and conditional formatting assigned to it. What I want is to be able to copy only the displayed contents, without the macros and formatting instruction, to a separate workbook for reporting purposes.

View 2 Replies View Related

Show Field Contents In Pivot Table

Oct 23, 2003

Can I do something so my pivot table shows Manager name in all appropriate cells (eg. agomes is A3:A4 and bschaefe in cells B5:B13)? ........

View 9 Replies View Related

Table Of Contents - Drawing Info From Various Cells On Different Sheets

Jul 29, 2009

I have a "Generate Table of Contents" button that launches a macro. This macro builds the Table of Contents, creates (3) columns (Patient Name, Date of Pickup, and Frequency), finds all of the sheets in the work book (already renamed to a patient's name), sorts them alphabetically, and lists them under the Patient Name column.

This code works great - The next challenge:

On each sheet (which corresponds to a patient in the database), there is a cell that is filled in that states which day the patient picks up their medication. There is another cell that designates how often they come to pick it up.

I am at a loss as to how to direct the macro to: For each sheet, go to the specific cell, and then report it in the table of contents.

It somehow needs to bind the information together... meaning the patient name, date of pickup, and frequency must be displayed correctly each and every time on the same row.

View 4 Replies View Related

A Formula That References A Table Based On Contents Of Another Cell

May 20, 2008

Here is what I am trying to achieve:

I have a workbook with two tabs, on the first one there is one column and the top of the column(A1) is a dropdown containing the options 'Boy' or 'Girl'.
One the second worksheet I have two named tables (Boy and Girl) - these tables each contain a single column array with 5 names in each (so we have a table of 5 boys names and a table of 5 girls names)

What I want to happen is when a user selects an option from the dropdown in A1 the cell below(A2) is populated randomly with a name from the corresponding list.

I have achieved this initially using the following formula:
=IF(A1="Boy", INDEX(Boy,RandInt(1,10)), INDEX(Girl,RandInt(1,10)))

This works fine, but I will need to expand this for several dropdown options, so my new workbook will have a dropdown of car makes, and each make will have a list of the models associatied with the car make (e.g. Ford: Fiesta, Escort, Mondeo...)
But I do not want to have a ridiculously long nested IF statement for every car Make, so what I want to do is something along the lines of the following:

=INDEX([CONTENTS OF A1],RandInt(1,10))

So I use the text selected from the dropdown in A1 as the TableName in my formula - however, I cannot retrieve that to use in the formula without it coming back as a text with the "" included and my formula errors!

View 9 Replies View Related

Lotto Statistics

Aug 23, 2007

Been searching the archives but not finding my answers. I downloaded historical lottery numbers and want to run statistics on them- just no clue where to start. I guess the 1st and most important thing is to figure out which #s have come up most often out of all of them. I assume it's some sort of COUNT or LOOKUP code- but not sure. I have the #s arranged in a sheet like so ...

View 6 Replies View Related

Descriptive Statistics

Jun 27, 2008

want to make a macro to do a 'descriptive statistics data analysis' of column b and put the results in m1 to n18.

basically doing this but in a macro.
add in= tools /data analysis/ descriptive stats

I have recorded it doing this, but it for some reason can't do what it wrote.

View 9 Replies View Related

SUMPRODUCT Statistics

Mar 9, 2009

On Sheet1 I have 2 cells one has the date 1-mar-09 and the other has 7-mar-09. I need to find this range on Sheet2 which has all the dates for the year in ColumnA and then total the amounts found in Sheet2!ColumnB for the specified date range. Is this possible without VB?

View 9 Replies View Related

Pull Some Statistics From A Workbook

Jan 27, 2009

I'm trying to pull some statistics from a workbook I've been sent and am having some trouble working out how to achieve this.

I have a small interface that allows the user to choose a possible answer (drop-down menu) from a questionnaire (Yes, No, Maybe)(cell: C6). On the interface the user also picks the question they wish to see the stats for (cell: C5)

The data I have been sent has been set up with the questions along in row A, and the answers below in each column (the answers run across row A from column G - AH).

So, what I'm basically after is a formula that first looks up the question specified in C5 (I've used HLOOKUP to pull some other data), and then counts how many times the Yes, No or Maybe answers appears in the column where the question data is held.

View 4 Replies View Related

Statistics Of Random Numbers

Dec 3, 2009

I have two rows in a sheet with random numbers (1 till 90).

Those numbers in those two rows I change them every 5 minutes with new one still from 1 to 90
I need a "way", in one side of my sheet (lets say in column B) to count how many times a number was repeated after finish my work (example after 2 hour's)

Is that possible with excel 2007?

View 7 Replies View Related

Statistics: How To Recode Data

Oct 9, 2002

I have been looking everywhere for this. In SPSS, it is very easy to recode data, but how do you do this in Excel? For example, researchers often "reverse" their questions on surveys with Likert scales to eliminate respondent errors. In those questions, you want 1=5, 2=4, 3=3, 4=2, 5=1. Is there a plug-in or some other formula that is out there?

View 9 Replies View Related

Bowling Statistics Formula

Jul 6, 2008

I have running total of bowling scores current & going back from when I first started.

What I’m trying to archive is a formula that will count the most recent 96 scores and still allow me to add new scores each week in keeping the current running total of 96 games.

The statistics are listed from A4:C215 that may have 1 or 2 scores not listed. (missed games)

Each week new statistics will be added in cell A4:C4 anywhere’s of 1-3 games.

View 6 Replies View Related

Soccer Statistics Spreadsheet

Sep 11, 2008

Back to test you with a few problems as I work through a project I'm carrying out, based on past results data of the English Premier League.

I have some of the solutions/formulas I require already, but there are still some gaps to be filled in!

***

the spreadsheet is set out as follows:

Key Columns / Sub-Title (Remarks)

B Date (the date a match was played - the s.sheet is sorted by this column, A>Z)
C Home Team
D Away Team
E Home team goals scored
F Away team goals scored
I-M Indicates via U or O whether the match contained under or over 0.5,1.5,2.5,3.5,4.5 goals
N Points obtained for Home team (i.e. 3 for a win, 1 for a draw, and 0 for a loss)
O Points obtained for Away team (i.e. 3 for a win, 1 for a draw, and 0 for a loss)

There are 381 rows in total for each worksheet (season) - 1 for the titles, and 2-381 for each match played in the season...................

View 9 Replies View Related

Economic Statistics Forecast

Mar 3, 2007

I try to predict some macro economic statistics but any attempt till now didn't make sense. the attached file. Note: when i used the FORECAST function the predicted values showed an unlogical drop while there seems to be a positive trend.

View 4 Replies View Related

Statistics From Golf Scores

Mar 14, 2008

I am creating a workbook to manage golfer scores, teams, winnings, handicap, ect. I am having trouble with the statistics sheet. I Need A Sub To:

1. Column "B" , take the average of the lowest 5 numbers in columns "AB" though "AU"

2. Column "C" , take the average of the lowest 10 numbers in columns "G" through "Z" divided by 0.96

3. Column "D" , take the average of the lowest 10 numbers in columns "AW" through "BP"

this needs to happen for each row where there is a name. (names added daily)

I have included a similar sheet as the one i am working with along with some command buttons typically not included. Should show some of the problems I am having.

View 5 Replies View Related

Statistics By Date Range

Apr 1, 2008

I need to record on Sheet 2 how many times enteries in Coloum B on Sheet 1 appear per date range.

View 3 Replies View Related

Referencing Selected Tabs To Print Selection & Update Table Of Contents Sheet

Nov 30, 2009

I searched but didn't find exactly what I needed. I have a workbook with 31 sheets. It is a price guide with each category on a separate worksheet. I figured out how to list the sheets on a separate tab. What my client wants is the ability to:

1. select certain categories for printing, the ToC, Cover and backcover pages have to print in every case

2. the ToC has to change depending on the sheets selected.

I'd rather write some code and give him an an easy command button rather then teaching him how to select non-concurrent sheets and printing only active sheets.

What I'm really stuck on is the updating of the ToC with active sheets only (category and starting page which changes depending on pages selected).

View 13 Replies View Related

Summary Of Horse Racing Statistics

May 6, 2009

i need to do the following on the attached spreadsheet using a macro: SHEET 1. This is an example of the original data i will be working with i need

1) You will notice that the Min and Max columns are not all together, i need these to all be together. I then only want the Race course, race time, date and type, Min, Max and ratings.

2) I then want the following formula added to Column F, Max minus Min. In column G i would like the following formula Rating minus Min. And finally in Column H Rating minus Max.

3) I would the like to Highlight in Yellow the horse with the highest possible number. I want this done for each column (F,G,H) in each race i would like all Horses that dont have a yellow cell in any of the Columns (F,G,H) to be deleted, leaving me with just the highlighted horses. An example of the required final result is contained in Sheet 2 of the attached spreadsheet.

View 2 Replies View Related

Football Statistics From 2 Data Columns

Oct 6, 2006

I have a simple spreadsheet recording games played on my football table.

Each match is the first to 10 goals. So each result is a simple: ...

View 7 Replies View Related

Getting Summary Statistics From Data Arrays

Jun 1, 2007

I have formed data arrays in VBA after running a time series simulation model. The array is m simulations x n periods. Small example: ...

View 6 Replies View Related







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