Create Sheet For Details Of Each In Table

Jul 6, 2007

I have a work sheet(sheet1) that contains 700 people's information. Each row contains information for one person. Let's call the first person A. I have to copy certain columns of person A's response to another work sheet(sheet3) in the same file. Then, copy person A's e-mail address and save the sheet as person A's e-mail. Repeat the same steps for the next respondent.

I have created the macro for person A already (including the saving part). Now the question is how to write the loop in the macro.

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 7/5/2007 by Jean Kuo
'
'
Range("Q4").Select
ActiveCell.FormulaR1C1 = "=Sheet1!R[-2]C[-4]"
Range("Q13").Select
ActiveCell.FormulaR1C1 = "=Sheet2!R[-9]C[-14]"
Range("Q14").Select
Sheets("Sheet2").Select
Range("D4").Select
Sheets("Sheet3").Select
Range("Q14").Select
Sheets("Sheet2").Select
Range("D4").Select
ActiveCell.FormulaR1C1 = ""
Range("C4").Select
Selection.Copy
Range("D4").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveCell.FormulaR1C1 = "=Sheet1!R[-2]C17"
Range("C4").Select
Sheets("Sheet1").Select

Range("T1").Select

Sheets("Sheet3").Select
ActiveCell.FormulaR1C1 = "=Sheet2!R[-10]C[-13]"
Range("Q15").Select
ActiveCell.FormulaR1C1 = "=Sheet2!R[-11]C[-12]"
Range("Q16").Select
ActiveCell.FormulaR1C1 = "=Sheet2!R[-12]C[-11]"
Range("Q17").Select
Sheets("Sheet2").Select
Range("F4").Select
Sheets("Sheet2").Select
Range("G5").Select
Sheets("Sheet3").Select
Range("Q17").Select
ActiveCell.FormulaR1C1 = "=Sheet2!R[-13]C[-10]"
Range("Q22").Select
ActiveCell.FormulaR1C1 = "=Sheet1!R[-20]C[42]"
Range("Q22").Select
Selection.Copy ...

View 3 Replies


ADVERTISEMENT

Excel 2007 :: Sheet Name In Show Details For Multi-sheet Pivot Table?

Jan 30, 2014

Excel 2007.

I have a workbook with a sheet per day, each sheet has a variety of 'jobs' as columns and a variety of people and kit as rows. Hours are manually input each day during the month.

Simplified version... These are two separate sheets 'M060114' and 'Tu070114'.

Monday
Dig
Drive

Dave
4
5

Bill
2
7

Tuesday
Dig
Drive

Dave
2
7

Bill
8
1

I have a Pivot Table on a separate sheet. This was created using the Wizard (ALT +D +P).

Dig
Drive

Dave
6
12

Bill
10
8

So far, lovely.

But when I double-click on a number or right-click and choose 'Show Details' I don't get the sheet names in the newly created information sheet. I get the Row label, column label and a list of the entries.

So if I clicked on 10 above...

Row
Column
Value

Bill
Dig
2

Bill
Dig
8

That's fine with just a couple of entries but with about 80 columns and 250 rows spread across a month, therefore 30ish sheets, it's difficult marrying up the 'Show Details' sheet to the actual data.

So after all that, the question. Is there a way of getting the sheet name to appear in the 'Show Details' information sheet?

View 1 Replies View Related

Details Of A Person Say Age And Put The Details In Another Table

Dec 9, 2009

I was interested in getting Excel to look up details of a person say age and put the details in another table under the correct heading.

E.g. Fred Bloggs age 25

Would look like this

First Name Surname 16-24 25 - 49

Fred Bloggs 0 Tick or something

View 9 Replies View Related

Excel 2010 :: Create Sheet With Table From Pivot Table?

Apr 26, 2012

Recently, the boss showed me a Pivot table & chart, which consists of a list of about 30 user names in the first column. The row headings were the different items they purchased from a vending machine. & when he clicked on any name in the first column, this created a new sheet, renamed with users name, with a small table of results showing what that person purchased.

Problem is, none of us can figure out how to do this. I have created a new Pivot table & chart exactly like the original, but I cannot get the smaller sheet to generate. (Excel 2010)

View 3 Replies View Related

Pivot Table - Details To Appear On Same Tab

Feb 15, 2012

I have 2 pivot tables on the one tab, called "Other VAT".

When I double-click a cell within the first pivot, instead of opening a new tab with the data, I want the data to appear on the same tab in cell A40, which is a free cell underneath both the pivot tables.

If I then doubleclick a cell within the second pivot table, I want it to appear underneath the data from the drill down of the first pivot.

View 1 Replies View Related

Obtain Details From Table

May 25, 2006

I am currently running XC running races and am wanting to know how i can have a quicker way of sorting out the best of sex, best of age group and best overall. The age groups are Under 18, under 30 and over 30. What can i do with v- lookup and other formulas to make it easier to record when they come in with out a long wait, i just want to be able to type in thier number and get all thier details so i can add the time straight in, then from there work out the winners instantly

View 2 Replies View Related

Create A Macro That Find And Calculate Based On Details Of 4 Columns On Same Spreadsheet

Jul 21, 2012

create a macro that will find and calculate based on the details of 4 columns on the same spreadsheet.

Basically, here is what I need to do:

1. Need to calculate how many QTY IN (Column F) and PALLETS IN (Column I) of a specific PART# (Column A) and LOT CODE (Column B) For example if enter a PART # and LOT CODE, it will calculate how many QTY IN and PALLET IN of that PART # and LOT CODE.

2. Need to do the same for QTY OUT (Column G) and PALLETS OUT (Column J) also.

3. Output should contain the PALLET # , QTY IN and PALLETS IN based on the PART # and LOT CODE search. I just want to simplify the search function in this spreadsheet because it is very cumbersome if you need to find how many items left for that PART # and LOT CODE.

Attached is the spreadsheet..

View 9 Replies View Related

Expanding Details From A Pivot Table

Feb 5, 2007

I would like to use some VB code to search a Pivot Table, find a specific value and show the details relating to the value. I used the following code I have obtained from another thread in the forum

Sub Expand_Pivot_Values()
Dim rngFind As Range
Dim rngPTData As Range, rngPTC1 As Range
Dim rngF As Range, rngP As Range
Dim strFind As String
Set rngFind = ActiveSheet.Range("J3:J6")
'set the pivot table data range - see help file for property description
Set rngPTData = ActiveSheet.PivotTables(1).DataBodyRange
'set start cell for find
Set rngPTC1 = rngPTData.Cells(1)
For Each rngF In rngFind.Cells
'set variable to find........................

This code works fine but only identifies the first time the value appears in the pivot table and shows detail relating to that value. I need add to the code to search the pivot table and find recurring values. For example if the value is "2" I would like to show detail on each "2" value there is in the pivot table.

View 7 Replies View Related

Create Sheet For Each Name In Table List

Aug 14, 2006

I am copying info from a program into the "Input" worksheet - It is from my phone switch of logins and logouts of my employees. I have 11 supervisors and my end goal is to have each one of their coordinators show up in their specific tab automatically with all of their login information, ids, logins, and logouts. I can do the other math for the Marks and break lengths but I am having a hard time with this. I have been trying vlookup, but cannot figure out a way to bring all of the different rows... It only brings over one row.

I have tried to use some of the code from other posts on this sight, but have not had any luck.

What I am looking for it to do is on the Alis worksheet - the light blue sections. I am also finding it difficult in the light purple section also. I am trying to figure out how much time they were on the clock.

View 3 Replies View Related

Table Manipulation Based On Header And Details Tables?

May 19, 2014

I have a table which is extracted from a database using 2 tables.

1 Header and 1 details table.

I want to display the latest date in column E.

As Column A,B,C is the header table and column D,E is the details table.

Can this be done in vba or a pivot?

View 1 Replies View Related

Macro To Show Pivot Table Details..Any Ideas?

Feb 26, 2009

The size of this pivot table depends on how many different customers are in the data tab.

What I want is a macro that will show the details as if you were to double click on the grandtotal, but the grandtotal in column c is never in the same row and I am having difficulty coming up with a macro to do this.

There are some other functions it is performing as well so I just need to add this to the existing macro code.

View 6 Replies View Related

Create Pivot Table In Hidden Sheet

Mar 18, 2009

I'm getting a 1004 run-time error when creating a pivot table.

I believe this happens because I'm creating it in a hidden sheet. When I unhide it no errors occur.

View 2 Replies View Related

How To Get Details From Master Sheet To Template Sheet

Jun 1, 2012

I have a query on array formula

Am using this formula to get the details from master sheet to template sheet

=IFERROR(INDEX('P O Detail'!$D:$D, SMALL(IF('P O Template'!$C$4='P O Detail'!$B:$B, ROW('P O Detail'!$A:$A)-ROW('P O Detail'!$A$2)+2), ROW(1:1))),"")

with Ctrl+Shift+Enter

This is working fine based on the input cell $C$4

What am looking for is ... how to add two more input data $D$4 & $E$4 so that based on these three values I should get the required output.

View 3 Replies View Related

How To Create New Excel Sheet From Results Sorted From Table

Sep 12, 2013

I have a simple sheet consisting of about 900 rows and 4 columns. The cells in column D are filled with numbers. I converted column D to a table and sorted to show only numbers over 10,000. I can now see the results including the cell values for rows A,B,C, and D. I would like to delete the rest of the unused rows, or create a new sheet with my results. Right now, some row numbers are not visible, so the visible rows go from 4, 27, 45, 48, 52, etc. When I try to copy and paste what I see in my results into a new sheet, the entire original sheet still pastes.

My final goal is to just have a sheet with 4 columns, and the corresponding values as long as the values in column D are over 10000. I do not need a table, just a regular sheet.

View 3 Replies View Related

Excel 2010 :: Cannot Create Pivot Table In New Sheet

Jan 21, 2012

I get a "Object variable not set" error when creating a Pivot Table from a cache. I want the destination to be in a different sheet in the workbook. I set the new worksheet as: Set WSD = Worksheets.Add and I reference WSD.Cells(2,FinalCol +2) in the destination field of the CreatePivotTable method. I use the code from the Excel 2010 VBA book I got last week.

View 9 Replies View Related

Transfer Details From One Sheet To Another?

Jun 18, 2014

I am trying to transfer information for the 'Master CCO CCB Document List' tab into one of the other tabs ('In Progress' and 'Complete') based off of the status. If the status is Complete, Approved, Declined will transfer to the 'Complete (Approved or Declined)' Tab. If the status says 'On Hold, Pending, 1st & 2nd Session Review needed will transfer to the 'In Progress (On Hold-Pending)' Tab.

I want the master list to house all of the entries, so when the status changes it is just copied to the other sheet and not cut and pasted.

On the 'In Progress' tab, once the status changes to Complete, Approved or Declined I would like for the item to be cut and pasted into the 'Complete' tab,

I'm stumped and really not sure if this will work properly. I've tried everything and now I can''t figure out how to add the contents from the form to the master list tab.

View 1 Replies View Related

Auto Update Details In Next Sheet

Aug 22, 2014

I create daily report for dispatch documents to our various branches. Now I am looking for formula (or formula is not possible then VBA code) that will auto update document number and dispatch date in "output" sheet.

Find attached sheet with desired output.

View 5 Replies View Related

Inserting Contact Details From Another Sheet

Oct 15, 2008

I have a workbook which I use for invoicing customers. Sheet one is the inovice template. Sheet two is the contact details of all my clients (i.e. column headings are Name, Address 1, Address 2, Town/City etc.).

In the invoice sheet I would like to be able to select the name of the client from a dropdown so that it automatically fills in the address into the other cells of the invoice.

View 3 Replies View Related

Copy Of Some Cell Details To Other Sheet

Nov 27, 2008

My worksheet is attached. It asks the name whenever we will open this workbook. The same would be written autometically in open by cell with date & time.Then it ask "whether its new project or not"? If yes then then approved by cell & date-time would be blanks or if no then it will show the last approver's name, date & time. I need whenever anyone approve this in case of NOT NEW Project so the name of the approver & Date & time should be recorded in the another sheet name "record" along with the sr. nos. But the record will be blank whenever we will select "yes" in "whether its a new project". I want to make it password protected & password is "007".

View 14 Replies View Related

Extract Details From All Sheets To One Sheet

Dec 14, 2007

I have in Sheet 1, in column A, the list of employees who are existing, in column B their mobile numbers and in column C the amount of mobile usage for the month June 2007.

In Sheet 2, in Column A, I have the existing list of employees of June 2007, some new employees who have joined, in Column B their mobile nos. and in Column C, amount for July 2007.

Similarly, for August, Sept. Oct. 2007 etc. In each sheet, the old employees are copied and new ones are added alongwith their details. It so happens, some employees leave the organization in between in August, Sept. or Oct. 2007.

Now, I want to extract in column A, the list of all the employees who were existing initially in June 2007, who have joined later on and who have left in between, their corresponding mobile numbers in column B and their amount in column C and show them monthwise in one single sheet side by side. E.g....

View 9 Replies View Related

Excel 2007 :: VBA Create Pivot Table - How To Prevent Creation On New Sheet

May 11, 2012

I have pieced together a VBA script to create a pivot table. Which is all great and works fine BUT for some reason it is now forcing the table onto a new worksheet. see code below, why it might be creating a new sheet. Alsothe sheet Worksheets("TICKETS BY OWNER & DAY") does exist.

Code:
' HERE WE CREATE THE PIVOT TABLES AND CHARTS FOR REPORTS
Dim WSD1 As Worksheet
Dim WSD2 As Worksheet
Dim WSD3 As Worksheet

[Code].....

View 1 Replies View Related

Extract All Approx Match Determined From Expandable List In Sheet Two And Create Table?

Nov 18, 2013

I download a daily inventory file from my supplier.
.
I sell only selected products from that file.
.
I would like to use a list of the product part numbers of the products I sell on sheet 2 (Inventory) and have all the results from sheet 1 (ProductFeed) built into an expandable table on sheet two including all the parts numbers (expandable because I will add or delete part numbers from the list) I have listed and not just one part number but several.
.
Second issue: the download file contains part numbers in column "A" with variables like 418, 418_color, 418_size etc.... I would like all part numbers that begin with the number 418 and the ones that contain the variable added to be listed in the new table so I will get a list of all part number 418 and the variables which include 418 in them.
.
I want to return the results of the whole row(s) of the matched data as well in the new table.
.
I have attached a file of the working data that I have with the data I will use although the ProductFeed will change daily which I intend to copy and paste into the table each day.

View 2 Replies View Related

Creating Formula To Change Details On A Sheet Using Userform?

Feb 21, 2014

On the attached spreadsheet, ormula on 'UserForm2'.

When I hit the 'Submit Changes' button I want a formula so that it will look up the product row in Product List (Sheet 1) that is select in the ComboBox1.

Once this row has been found I want the values in TextBox1 to be copy and pasted into Column D of that row and value of TextBox2 to be copy and pasted into Column G of that products row.

View 10 Replies View Related

The Data In Sheet "details" Is Listed In Columns A, B,C, Then

Nov 16, 2008

I have two sheets, one is named "details" and other is "query". The data in sheet "details" is listed in columns A, B,C, then D is blank and again data is in columns E,F.G. (in text forms)

In the Query Sheet, wish to enter in A1 the value contained in A, B or E, F of "details" sheet, the result of columns C or G may appear in Column B1 of Query sheet and also if value is equal to C or G, the result of A,B, or E,F may appear:

=IF(AI=A1& B1,E1,F1!Details, etc. etc.

View 10 Replies View Related

Dynamic Named Range For The Product Name On The Product Details Sheet

Dec 24, 2008

I'm working on a order spreadsheet system, and I have one sheet called Product Details, where the product name, list price and product code are found, these link to the Sales order page, and I need them so that they can be added to.

So far, I have created a dynamic named range for the Product name on the Product details sheet, and linked the the range via a list validation on the Sales order sheet.

The drop down list displays the products and can be added to by typing new product names on the other sheet.

What I need now is that when a product on the sales order page is selected, it draws the the list price and product code data automatically from the sheet, I tried using a normal vlookup, but I couldn't get it to work. I also need the list price and product code columns to be 'dynamic' so new values can be added further along.

View 5 Replies View Related

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

Create History Movement Of Equipment From Separate Table Or Within Table

Dec 17, 2012

I have a table with list of equipments and asset number assigned as primary key, I wanted to have a history movement of these equipments but my idea is somehow not logical and very primitive to update every time 2 excel sheets:

ie:

asset no
description
received by
day

[Code].....

View 2 Replies View Related

Create Database Table From Multi-Column Summary Table

Nov 5, 2008

I want to accomplish something like this but slightly different:

[url]

I have the same issue but a bit more complex. In my case I have an additional amount of columns (let's say dimensions). So for the example given (sales per month) I would add two columns for 4 different regions and 5 machine types (just examples).

The output (that would serve as pivot tabel input) would then have to be a 4 x 5 x 12 x 4 = 960 row database table.

I have tried to accomplish it by customizing the given code but that provedto be beyond my powers ;o)

and some 3rd party software [url]and [url] but non of them is doing what I'm looking for.

The code I'm looking for ideally would count the number of columns and unique records per column and construct the database table from that. So I am looking for flexibility in the number of dimensions also...

View 6 Replies View Related

Copy Sheet Based On Table / Rename And Hyperlink Table To New Sheet

Jul 28, 2014

I've been working on a macro that makes copies of a template sheet based on a table in my Opps sheet. If column B isn't empty, make a copy of the template sheet, rename it to Opps column A, and then hyperlink column A's current A.row to the newly copied and renamed sheet.

I'm not sure what is wrong exactly, it keeps making duplicate Template(x) and stops renaming them, and the hyperlinks are not working. -This is my first go at VBA hyperlinks to internal workbook sheets

[Code] .....

View 5 Replies View Related

Need To Create A Button That Can Copy Cells, Create A New Sheet And Then Paste There

Jan 14, 2009

So I've got Sheet 1 with say

____A___B___C
1___m___i___c
2___r___o___s
3___o___f___t

I would like to create a button that can create a new sheet and paste A1 to C3 at the same location on the new sheet

and I need this to create a new sheet and do that everytime the button is pressed.....

View 11 Replies View Related







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