Pulling Column Headers Based On Table Values (not Max Or Min)

Jun 12, 2014

I've done some searching and cannot find the right answer for my question. I need to create a formula that will pull column header text data based on cells within a table that contain a numeric value not equal to zero. The catch is that I cannot use any one specific numeric value as the basis for a Lookup.

I've attached an example spreadsheet for reference. Basically, I need two formulas:

1. Formula to pull column header (Receiver name) based on Sender. This is a necessity.
2. Formula to pull individual lines for those senders that have multiple receivers (Division D in my example).

My actual data file has 80+ senders and 100+ receivers.

View 6 Replies


ADVERTISEMENT

Reconstruct Data Table So That Column Headers Become Values In Table

Jul 15, 2014

I have a large table that I want to reconstruct. For simplicity sake, let's just says it's 3 rows (excluding headers) by 3 columns.

Item Description
1/1/2014
1/2/2014
1/3/2014

Cheese Burgers
2
3
4

Hot Dogs
5
12
6

Beverages
2
5
3

I want to reconstruct it so that the column headers become values in the table. The table headers are dates, in this case, if that gives clearer picture. So the new table would have 9 rows, (3 rows of data, excluding the header times four columns).

Item Description
Date
Quantity

Cheese Burgers
1/1/2014
2

Hot Dogs
1/1/2014
5

[Code] ....

The above example is sorted by date but I would be indifferent if it's sorted by the Item Description.

Is there an easy way to do this? Pivot possibly? Again, my data table is large: 36 rows x 181 columns. Using the copy/paste/transpose feature is pretty impractical.

View 3 Replies View Related

Row Based Reports With Column Headers As Values?

Mar 4, 2013

I have a small sample table that replicates what I am trying to do

A
B
C
D
E

1

Bob
Jim
Mary
Sue

[Code] ........

I would like to have excel put in compile the list of members on Teams 1 through 4. So in A7 through A10, I will put the teams and then in the B column I want the compiled list seperated by commas for each team so that they read like this...

Team 1: Bob, Jim, Mary, Sue
Team 2: Bob, Jim, Sue
Team 3: Bob, Mary
Team 4: Bob, Sue.

Of course this should be dynamic so that if I place an x in C4, then Team 3 would read as Team 3: Bob, Jim, Mary.

I have tried various index match offset combinations and did not have any success.

View 3 Replies View Related

Pivot Table And Column Headers

May 21, 2006

I want to include columns in my Pivot Table where there is no data for that column. For example, I want to show 12 columns, one for each month, but my data only has 9 months of values.

View 3 Replies View Related

Using Macro To Merge 40+ Reports - It Keeps Pulling Headers Over?

Mar 11, 2014

I'm using this Macro to merge 40+ reports. It works great except it keeps pulling the headers over.

This wouldn't be that big of a deal, except that for every report I merge I have to click "OK" approx 10 times because the lines have the same title.

Is there a way to prevent this?

Sub simpleXlsMerger()

Dim bookList As Workbook
Dim mergeObj As Object, dirObj As Object, filesObj As Object, everyObj As Object
Application.ScreenUpdating = False
Set mergeObj = CreateObject("Scripting.FileSystemObject")
'change folder path of excel files here

[Code] ......

View 5 Replies View Related

How To Return Column Headers For Where Certain Values Appear In Each Row

Mar 16, 2014

I want to return the column headings (the months) where there is a 'No' value, per person. How to do this?

Here's the screenshot

Screen Shot 2014-03-17 at 11.45.34 am.png

And here's a dummy version:

Example Spreadsheet.xlsx

View 3 Replies View Related

Move Data From One Column To Another Based On Column Headers And Row Text

Feb 7, 2014

I am in need of restructuring a spreadsheet of addresses for mailing purposes. (I tried to find something similar answered previously, but nothing seemed to work for me.)

I have attached a small example spreadsheet below, but our spreadsheets can be hundreds or thousands of rows in length.

I need a macro that will look for the "PO Box" addresses under the column headers named "ADDRESS2" and "ADDRESS3".

The PO Box addresses will need to be moved under the column header "ADDRESS1" within the same row.

It will need to overwrite the text that is already under "ADDRESS1" and delete the text from the "ADDRESS2" and "ADDRESS3" columns - UNLESS the text in 'ADDRESS2" is a PO Box AND "ADDRESS1" begins with "c/o".

If the data in "ADDRESS2" or "ADDRESS3" is anything other than a PO Box it will remain the same. As will "ADDRESS 1".

Basically if there is a PO Box it needs to be in the column named "ADDRESS1" and overwrite anything else that was there. The exception will be for PO Boxes that are in c/o someone else, the PO Box will then need to be listed in the column directly after the column that has c/o.

If the c/o exception will be too difficult the code could just highlight those scenarios and we could fix them manually. We usually do not have a lot of them, but enough that we need to be mindful of them.

The different scenarios are listed in my sample spreadsheet.Also, the code will have to use the column header names in row 1 because those headers are not always in the same column.

View 14 Replies View Related

Listbox With Column Headers As Specific Sheet Column Headers?

Jun 7, 2014

I have a userform with two listboxes in them, i have set the columns in the listbox to 9 and would like to populate the column headers in the listboxes with the column header of one of the sheets.

View 5 Replies View Related

Lookup Macro Based On Column Headers

Apr 24, 2014

Ceating a macro to perform a look up and return based on column headers.

General Synopsis: Using a call and parameters to choose a lookup column and return column, and their respective sheets. Then the sub routine finding their respective column headers and perform a lookup/return. Essentially the current problem is the macro runs to slowly.

Link to original post: Lookup Macro based on column headers

View 1 Replies View Related

Pulling Values From A Column And Reordering Them In Another Column Without Spaces

Dec 11, 2008

I have a couple of columns that look like this in basic form:

Column A Column B
A 1
B 1
C 0
D 2
E 1
F 0
G 2

What I want is in a separate worksheet for it to pull the names (A, B, E) that have 1s next to them in column B and put them in a list.

I could do this kinda manually, but how can I create a nice list in a separate column on a separate worksheet just of the names (column A values) where there is a 1 in column B? All I can think to do is vlookup the data and put blanks where its not equal to 1 and then manually delete out the other rows.

View 6 Replies View Related

Pulling Unique Values From A Column

Nov 12, 2007

HOW TO pull the unique values out of a column of entries and put them into another column.

For example I'll have a list of maybe 2,000 but with only 1-7 different values in the column, what I want to do is populate another column with only the list of the 1-7 values that appear in the larger set.

View 14 Replies View Related

Pulling Rows Of Data Based On Criteria In One Column?

Dec 17, 2013

I've attached a workbook with a description of what I'm trying to do. I'm not sure if it can be done with formulas or if it will require VBA. I can move it to the VBA section if the latter terms out to be the case. it's not that I'm opposed to copying code, I just like to know how it works with enough depth that I can fix/modify it, and I can't do that with VBA).

View 6 Replies View Related

Pulling Data To Separate Sheets Based On One Column

Oct 4, 2013

How to pull data based on column B to individual tabs.

I have the following data:

A B C D
Jane Doe | L1 | 20% | High
John Doe | L2 | 15% | Medium
Mike Smith | L1 | 60% | Low
Marie Smith | L4 | 10% | Low

I want to have the first tab/spreadsheet only pull records that have L1 values for column B

In the next tab/spreadsheet I want to pull records that have L2 values in column B etc.

What formula can I write that will pull all L1 records (A.B.C.D) in to Tab 1, then all L2 records (A,B,C,D) into the next tab?

View 10 Replies View Related

Excel 2010 :: Pulling Data Based On Multiple Criteria With Duplicate Values

Mar 14, 2012

I have a sheet (see Sheet 1) from a report we run which lists the following information: Personnel Number, Amount, Wage Type. This is generated for 1000's of employees, with each personnel number being repeated several times in column A.

I am trying to pull specific data to another sheet (see Sheet 2), which would ideally generate the sum of "Amount' for a specific wage type for each personnel number. The issue is is that there may be dplicates of the wage type for each ID number (which is also repeated).

For example, the total salary amount on sheet 2 for ID#12345678 would be 0, while for #9876543 it would be 1250. Is there a formula I could use on sheet 2 column B that would generate this?

Excel 2010 ABC1Personnel NumberAmountWage Type212345678550Payment312345678400Overtime412345678300Overtime512345678250
Payment612345678750Vacation798765432800Salary898765432250
Payment998765432100Overtime1098765432450Salary1198765432300Overtime
Sheet1

Excel 2010 ABC1Personnel NumberTotal SalaryTotal Overtime212345678398765432
Sheet2

View 3 Replies View Related

Table Headers Not On All Pages?

Sep 15, 2014

I have a long growing statistical report(18 pages + more), and 14 of the pages will use report table headers. I went into the page set up and selected the row to repeat on each page. I do not want the table headers on any pages after 14. The rest of the report is formatted differently and does not use the row headers. but all of the information is related. Is there a way to only show the row headers up to page 14? I can't use headers and footers, of course. The report will be set in one place and the user will print it out once a week. It seems as if this cannot be done but I this is my last resort.

View 4 Replies View Related

Pivot Table Headers

Jan 29, 2008

I have a pivot that links to another tab, which has items categorised by Date ranges i.e. Date Group 1, Date Group 2, Date Group 3 and Date Group 4.

Sometimes none of the items will fall into a date group i.e. there is no date group 1's for that period, but my pivot simply removes the whoel date group 1 column when refreshed whereas I would like the pivot to always have the 4 headers and quote 0 if there is none in that category.

View 9 Replies View Related

Table Headers Down Side Of Worksheet Instead Of Across

Dec 18, 2013

Is it possible to have table headers that are down the side instead of going across the top?

I have searched but have not found an answer so far.

View 1 Replies View Related

Pivot Table With Repeating Headers?

Dec 29, 2012

I've built a table that is meant to track the quality scores of multiple teams of agents. The agents are assigned to leads who are doing the quality monitoring. The goal is to track and trend the date the monitor is completed, the score of the monitor (scale of 1 - 12), who completed the monitor (initials in Lead column), and the running average score. The Score and Lead column are drop down validations.

This is being one of my first exploits into excel, so I am not sure if I built this correctly structurally, or what. When I go to create a pivot table off the data I have created, it's not calculating the values correctly. As an example if I want to count the number of 'score' for CCR1 it's always 1. From what I have been able to research is that this is because I have essentially repeated the headers multiple times. Below is what the table looks like so far.

CCR
Date
Score
Lead

[Code]....

View 1 Replies View Related

Remove Headers From Array / Table

May 29, 2014

I want to convert an array in excel back to normal cells. That is, I want to remove the header row / or undo the "format as table". how to do that?

View 3 Replies View Related

Reformatting Data In A Table Into Headers

Jan 24, 2009

I have a table with three headers:

Types: close to 4,000 total cells in the column with multiple repeats
Amounts: Obvious
Names: Only 6 available names (i.e. Tom, Bill, Fred, Richard, Sam, Alex)

It looks like this:

Type Amount Name
Type 1 | $$$$ | Tom
Type 1 | $$$$ | Bill
Type 2 | $$$$ | Fred
Type 3 | $$$$ | Richard
Type 3 | $$$$ | Tom
Type 3 | $$$$ | Sam
Type 3 | $$$$ | Alex
Type 4 | $$$$ | Fred

What I want to do is create a table with the parameters using the information contained in the previous table:

Type Tom Bill Fred Richard Sam Alex
Type 1 | $$$$ $$$$ $$$$ $$$$ $$$$ $$$$
Type 2 | $$$$ $$$$ $$$$ $$$$ $$$$ $$$$
Type 3 | $$$$ $$$$ $$$$ $$$$ $$$$ $$$$
Type 4 | $$$$ $$$$ $$$$ $$$$ $$$$ $$$$

Is there any way to convert the first table to the second table? I'm using Mac OS/X

View 9 Replies View Related

Assigning Headers To Table According To File Name And Location

Aug 12, 2014

I need to assign headers to a table according to the file name and location. I have attached the example spreadsheet. Sheet1 contains the table with the data and Sheet2 assigns the headers to each file and location. The code is skipping headers and I can not figure it out.

Macro Example.xlsm‎

View 4 Replies View Related

Pulling Information From A Column Based On Information In A Second Column?

Jan 27, 2014

Imagine I have 2 columns of information that look like this:

Column A
Column B

AS
Dog

AS
Cat

AS
Hamster

FT
Fish

These are my key columns. The letters are initials of people and the animals are the pets they're responsible for.

Now, I have 3 more columns that look like this:

Column D
Column E
Column F

These columns can go on for hundreds of rows.

What I want to do is pull out the information from columns D, E and F where the initials and pet match those in the key list, then paste that elsewhere (say to columns J, K and L).

So, for instance, the first entry would be copied across because, according to the key list, AS is responsible for a Dog, but the bottom entry for AS wouldn't because he was looking after a fish, and that pet isn't listed as one of his animals in the key list (Fish is listed alongside FT). Likewise, the entry for AH wouldn't come across because AH doesn't appear on the key list at all.

View 1 Replies View Related

Stop Auto-Formatting Headers In Table Upon Row Insert

Jan 3, 2013

I decided to format my data as a table so that excel will auto-fill my formulas when inserting new rows which works quite well. I have one snag though, when trying to insert a new row at the very top (i.e. inbetween the header and first row) and choosing Format As Below, it also applies Data Validation and Conditional Formatting to the header. The inserted row, however, is actually formatted fine and works well.

How do I stop this from happening, and why would Excel do this anyway (as it is effectively applying formatting to TWO rows when only one row is being inserted)?

View 3 Replies View Related

Pivot Table Not Showing Data :: Only Headers Coming

Dec 24, 2009

I have one excel sheet where I write a macro to create pivot table.

It was successfully ran and created the pivot table but there is no data in that table. Only headers are coming.

View 7 Replies View Related

Excel 2013 :: Table Formatting Including Headers

Aug 28, 2013

I have a set of data that I formatted as a table, including headers. It seems that the columns are numbered, and after the column header is a number. i.e., Sales 2, GP Freight 3, etc.

I have spent some time researching this and came up empty. Is there a way to disable this part of table formatting?

View 2 Replies View Related

Pulling From Table

Nov 16, 2009

I have a table I wish to pull information from. Here is an example table:

"Start at".."Less than"..0..1..2..3
80............85...............5..4..3..2
85............90...............6..5..4..3
90............95...............7..6..5..4

This example is A1 to F4. There are two inputs; A10 and A11, and one output (formula) on A12. A10 will be the column I choose, and A11 is the row I choose...but it's chosen if the number is >= column A and < column B.

Example: I input A10 as 2, and A11 as 87, A12 will output 4. If I input A10 as 0, A11 as 85, A12 will output 6.

I kind of understand how to use VLOOKUP for this, but I am unable to check column A and B to choose the row.

View 4 Replies View Related

Pulling Data Out Of A Table

Jul 16, 2008

I have a 4 columned table with 10000 rows

Entry # Correlation Index1 Index2
1
2
.
.
10000

I want to be able to create tables out of this where I can pull all line items with correlation > 0.8 or <0.1 or <0.3 etc.

I think a macro will have to be written for this.

View 9 Replies View Related

Set Headers & Footers To Cell Values

Jun 9, 2008

It is company policy everytime we get a new client, we create a new worksheet. In the Header Top Left Section we always have "Client Name", In the top middle section we have "Subject" and in the top left Section we have the "User Intials" and " Date".

Finally in the bottom left section of the footer we have "Page of Pages".

Is there anyway i can get the header and footer to automatically update from a certain cell.

Example : B1 - Could contain the clients name, so it automatically is added to all headers on the workbook.

C1: Could contain the subject, so again it automatically updates the headers.

View 3 Replies View Related

Pulling Out Data From A Difficult Table

Mar 10, 2009

See the attached file.

I have a table, which contains a dates in Column A. and Contract type in Column C, and the value in Column G.

I need a VLOOKUP function which takes the value "06.03.2009" and "Dec-2009". That can return the value "10,97".

View 14 Replies View Related

Pulling Data From Table With Blanks?

Mar 20, 2013

I have a table populated with values for given dates. Some days there is no data. I would like a separate table over to the right to automatically populate with only the date and data.... (no spaces). I will attach an example problem to this Thread.

View 2 Replies View Related







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