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


ADVERTISEMENT

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

Lookup Column Header Value Based On Matching Table Value

May 16, 2013

I'd like a formula that'll return the column header by matching a lookup value with a table in the second sheet.

eg: sheet 1

Name
Cell
Region

John
111-2222

[Code] .......

The formula should match the name in A2, John, with value from the table in sheet 2 and return the correct region, this case North.

View 1 Replies View Related

Pivot Table Manual Manipulation

Apr 27, 2007

My pivot table is not auto summing each column properly, and I can't manually enter a formula to do so. I tried adjusting the settings of the rows and columns through the pivot table wizard, but no luck. Is there a way around this limitation?

View 6 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

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 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 View Related

Adjust Column Label Selection Multiple Pivot Tables Based On One Pivot Table

Aug 16, 2013

I have a pivot table in the first sheet which includes the field "Date" as a column label.

In the remaining sheets, except for one, there are pivot tables based on the same underlying dataset which also include the field "Date" as a column label.

I would like to adjust the selection (i.e., exclude some dates) from the column label in the first sheet and see if it is possible to make the same adjustments automatically to the pivot tables in the remaining sheets as well.

note that the field "Date" is used as a Column label, i.e., it is not a Report filter.

View 3 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

Pivot Table Based Off Multiple Pivot Tables

Sep 5, 2006

Is it possible to create pivot table from another multiple pivot table.

Example: I have two diff pivot table "Income" and "Expense" as well
and I need to preapare new pivot table using with those two pivot table

View 3 Replies View Related

Pivot Table: Table That Shows As A Header The URL

Oct 6, 2008

I want for my set of data. The attached .xls is pretty straight forward: the first column is a list of people (identified by their customer number) and the second column is the URL they visited.

Since many people went to multiple pages, there are dupes between the two columns, but all of the rows are unique. What i am looking for is a table that shows as a header the URL (just one) and then the list of people that went to that URL under the header. So it's really just one column of information. It seems like a perfect task for a pivot table.

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

Table Format Without Header?

Apr 17, 2014

I need to format my data without changing my header or adding a header without Column1, Column2...

I need to do this through VBA for two tables in columns A through C and E through K.

formatting every rows DARK and LIGHT manually because the data order will be changed?

View 3 Replies View Related

Make A Table In The Header

May 3, 2006

It is possible to make a table in the header in excel like word? If yes, how? I think my question can be answered her, but the links don't work anymore
http://ozgrid.com/forum/viewthread.php?tid=2952
http://ozgrid.com/forum/viewthread.php?tid=4391

View 2 Replies View Related

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

Recognizing Column Header In Table As Date?

Sep 29, 2013

Perhaps I missed something in the basics of Excel as to how a table's column header is formatted.Also, my date format is dd/mm/yyyy

When using a basic formula, such as below, in A1 and Cells A2 and B2 have the dates 1/01/2013 and 2/01/2013, this code works fine.

VB : =If(A2<=Today(),"Yes";"No")

BUT, when you convert those two dates to a table, the formula with post No.

However, if you make another formula as show below, the correct day will come up.

VB : =Text(A2,"dddd")

When auto filling the dates in the row, without a table, the dates increase per day.

When auto filling the dates in the row, with a table, the dates increase per year. (And yes, even when 3+ dates are inserted, highlighting those 3 and then autofill.)

Why does a column header change the format and to what format is it changed to?

Why do some formulas output accurate date based on the date in the column header and others do not?

Why do the dates increase per day without a table and per year with a table?

View 3 Replies View Related

Run Message Box When Header In Table Is Changed (VBA Code)

Aug 18, 2014

I have this VBA code running in cell A1 which gives you a yes/no message box when you try to change the selected cell. I am trying to have the Target.Address = 'Specific Header Cell in Table' but I am not able to develop the code to do so. Here is the code:

[Code] .....

The main reason I have this message box is to prevent the user from changing the cell in the table because the titles in the tables are linked to macros. If they are changed, the macros will not run. Also, I am aware there are codenames for the excel sheets in a workbook. If there are codenames for the header titles in an excel table, I could link my macros to the codenames. As a result, I would not need this macro for the message box.

View 2 Replies View Related

Changing Which Row Is A Table Header When Queiring A Sheet

Jan 7, 2010

I have a excel worksheet which i am exporting into a word document through a macro labeled "Go". Basically it will query the excel sheet and the word document i have, will take the values and put them in the correct placing.

My problem is...

I know that excel will use the first row as the table headers, but what if i want it to start at like row c? and use that row as table headers. How would i go about doing that?

View 5 Replies View Related

Find Value In Table & Return Column / Row Header

Nov 23, 2009

I am having trouble with getting a value (which is the row and column value) from a set of numbers. I have attached an example table to try and make things clearer.
What I have is a table with a set of Row Headers, and Columns Headers all numeric. e.g Columns headed 1, 2, 3, 4, Rows 30, 40, 50 etc. I want to find the 1st occurrence of a value e.g. 1.0 in the table (by 1st Up mean closest to top left), and then give me the value of the Row and Column Header that corresponds to that.

So for the example attached, I want to get the row Value 200 and Column 6 from finding the 1st occurrence of the number 1. I have tried various combinations of index and Match etc. But I can't get my head around the fact that the position of the 1st no. 1.0 can change, therefore I can't use any releative positions etc.

View 3 Replies View Related

Splitting A Table Into Two Tables?

Oct 28, 2013

I have a table of two columns, but I want them to be two separate but adjacent tables.

View 2 Replies View Related

Pivot Table - How To Use Same Data For Filter And Column Header

May 13, 2014

I have a list of S/N with Pass/Fail result next to it. A specific S/N can appear several times in the list:

SN...Result
-------------
111...FAIL
111...FAIL
111...FAIL
111...PASS
222...PASS
333...FAIL
333...FAIL

When creating a pivot table of SN vs. Result (count) I get:

****|FAIL...PASS
-------------------
111..|...3.....1
222..|..........1
333..|...2

I want to get the FAIL count of SN in which PASS > 0 (First two rows)

BUT I can not figure out how I can filter based on the values of the pivot table itself (rather than the values of the original list). When I try to use 'Result' field as report filter, I can not get it as a Column label (and vice-versa). In this case I get:

I get:
****|PASS
------------
111 | ...1
222 | ...1

Desired:

.......|..FAIL..PASS
-------------------
111 |...3...1
222 |........1

Desired (alternative):

......|..FAIL
-------------
111 |...3
222 |...0

View 1 Replies View Related

Append Multiple Tables Into One Table

Nov 27, 2012

I have a workbook that contains mutiple tables in multiple sheets that are all in the same columns in each sheet but contain various rows. Data may not be entered in every single row within each table. I'm trying to create a master list of all data from all of these tables on a single sheet so I can analyze the information in total. I don't want to show any blank rows on the master file where data is not entered in each table. I've tried using the consolidate function within Excel but am not looking to perform a function (i.e Sum, count). I've also tried a pivot table from multiple consolidation ranges (Alt + D + P) but do not like the limited functionality of the pivot table. I do not have much experience with VBA but am assuming this may need to be done using code.

Attached is a sample workbook with named ranges of each table. Example.xlsx

View 9 Replies View Related

Tables Feeding Data Into Further Table

Jan 10, 2013

I need to put together a number of worksheets, each worksheet is to record project information that's happening at our production sites and all the tables are uniform in design. There also needs to be one 'master sheet' in which all the information added on the lower sheets is automatically added.

So basically I need to have four tables on separate sheets that feed information in to one table on a further sheet.

View 13 Replies View Related

Creating Table From Data From Several Other Tables

Jan 10, 2014

My family owns a Fast Casual Middle Eastern/ Mediterranean Restaurant. I'm taking charge of making it as profitable as can be! Our plates are different combinations of kebabs, rice, Falafels, Gyros, salad, platters. So theirs tons of combinations.

I am Dead serious about knowing REAL plate costs:

I spent days entering price data, weighing meat, produce, calculating usable yields. I then built "component builders" using data validation drop-downs, and Index + Match functions to construct the costs of the recipe items,standard base items and side items. So I now know How much a skewer of Marinated Kebab Costs me, and all the Components that go into building a plate.

I've now built a "Plate Builder" (See Pic) to create the EVERY combination available at our restaurant. So when I'm done filling in all the builders, I'll have a whole lot of tables. I'd like to pull the name and plate cost from each table and create a big table organized by whether its eat in or take out. How do I do it.

TL;DR: Need to create a table that pulls data from several other tables....

View 2 Replies View Related

Combine Tables From Different Worksheets In One Table

Jul 18, 2012

I have an excel workbook with 11 different worksheets. Each worksheet represents a project my company is working on. And in each worksheet there is exactly the same table, just with different data).

Now we would like to get an overview of all these different data put together in one 'summarizing' table on a new worksheet (number 12).

-Is it possible make such a table without having to copy past all the time?
-The data in the tables may change over time, so it would be good if that 'summarizing' table automatically adapts to the other ones.

View 9 Replies View Related

Create Summary Table From 2 Tables

Apr 15, 2008

I have 2 worksheets which have a table on each. I would like to create a list using data from both tables. The list I am looking to create is for an upload fom an excel planning sheet into an ERP system and requires certain data fields and a certain format. Both table have the same amount of fields and the dates across the top. On worksheet one there are material numbers on the left and dates across the top. In the list I require I would need the dates down the left in the first column, next the material number, next the quantity from table one and then the last column I would require the value from the second worksheet which is relevant to the material number and date from the first table. I have tried pivot tables but cannot get this to work and feel it may work with a lookup. I have attached an example of the data.

View 2 Replies View Related

Listing Table Records By A Header With Skipping Empty Cells (or 0s)

Aug 13, 2013

I have a table showing accesssibility of given fruits in some particular shops. What I need is to list the fruits available in every shop right after the shop's name, but skipping any empty spaces (i.e. unavailable fruits. See the example, it's manually entered though).

View 2 Replies View Related

Excel 2003 :: Index And Match - Table With Header Row Of Scores

Oct 4, 2013

Excel 2003

I have a table with a header row of scores 1-10 in B4:K4.

In column A I have a list of locations A5:A68. People in each location were asked to score an event between 1 and 10. The count of their scores is under B4:K4, eg Location 1, 3 people scored 1 (entered in B5), none scored 2 (C5), 6 scored 3 (D5) etc through to the score for 10 in K5.

What I am after is the average for each location so that in L5 I can say 'for all the respondents for Location 1, the average was:...

This may be a bit more complicated than it appears as presumably there will be a requirement to multiply the number of respondents by their scores and then ... ?

View 9 Replies View Related

How To Merge Multiple Tables Into One Large Table

Dec 6, 2012

I'm having an issue where I want to merge lots of tables held in different spreadsheets into one large table so that I can use it in a pivot table. The attached spreadsheet demonstrates what I mean:

So there are 3 different accounts held in the first 3 tabs. These all have the same columns and format. I want to merge these automatically into the table that is in tab 4 so that I can use the pivot table also demonstrated in this tab.

What I want to happen is when I add rows to the tables in the first 3 tabs, these are automatically populated onto the 'overall' table in the 4th tab. (I'm aware I could do this manually, but for what I'm using this for these will be dozens of tables with hundreds of rows updated monthly).

Is this possible? Basically it doesn't matter how it's done, as long as i can show the information held in the pivot table each month end.

View 3 Replies View Related







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