I am trying to display multiple Columns of identical information without a Dropdown with the columns side by side and only appearing once.
My base information is as follows:
SKU Title Shipped
123-BJ00040-14 Betsey Johnson Women's BJ00040-14 2
123-BJ00131-29 Betsey Johnson Women's BJ00131-29 2
123-BJ00198-02 Betsey Johnson Women's BJ00198-02 2
123-BJ00131-29 Betsey Johnson Women's BJ00131-29 4
123-BJ00040-14 Betsey Johnson Women's BJ00040-14 3
In other words I have Row data with multiple columns of the same information for example the Column SKU always correlates to the Column Title. I am trying to view both the SKU and Title as non expand/collapse columns in the pivot and only SUM the Shipped Column so my pivot table should look like:
SKU Title Shipped
123-BJ00040-14 Betsey Johnson Women's BJ00040-14 5
123-BJ00131-29 Betsey Johnson Women's BJ00131-29 6
123-BJ00198-02 Betsey Johnson Women's BJ00198-02 2
Allowing me to copy the SKU, Title and Summed Shipped Qty together.
Related
I have a simple table containing a few products as:
Item
Category
Banana
Fruit
Mango
Fruit
Chair
Furniture
And a list of items and some values
Store
Item
Value
Center
Banana
1.50
Beach
Banana
2.50
Center
Chair
15.00
Beach
Mango
2.00
I would like to know how to dynamically add and fill a category in the second table (after the value column for example), fetching the data from the category table.
By dinamically I mean to use some programming function to extract the data to fill table 2 based on table 1. In SQL would be a JOIN. But I don't know how to handle in excel.
The idea is the final table should looks like
Store
Item
Value
Category (dynamic)
Center
Banana
1.50
Fruit
Beach
Banana
2.50
Fruit
Center
Chair
15.00
Furniture
Beach
Mango
2.00
Fruit
Center
Water
1.00
NONE (or something like)
I'm working with excel and I want to count how many persons doing some sport or playing computer games. Is it possible? Let's assume that I have this table A:
Person Activity
1 Football
2 Football
3 Football, FIFA 17
4 Hockey
5 Hockey
6 FIFA 17
7 FIFA 17
Now I used pivot table and I know that I can have these values:
FIFA 17
Football
Football, FIFA 17
Hockey
The first question is, could I use some if function for adding new column and translate it to category? By this table?
Activity Category
FIFA 17 PC
Football Sport
Football, FIFA 17 PC, Sport
Hockey Sport
Something like :
if table A column activity is equal value from translation above, assign category. So I expect this result:
Person Activity Category
1 Football Sport
2 Football Sport
3 Football, FIFA 17 PC, Sport
4 Hockey Sport
5 Hockey Sport
6 FIFA 17 PC
7 FIFA 17 PC
And the final is that I want to count if column category contains one values from Sport, PC and if so the +1. So I expect the final result:
Category Count
PC 3
Sport 5
Bot steps (translation to category and containing of text) are really important. Because in general I will have to translate more values to one category. Thanks in advance
You can do the following:
First to insert the category from the table of category use:
=VLOOKUP(B2,$G$1:$H$4,2,FALSE)
G1:H4 is the table with activity and category and keep $ for absolute reference
B2 is the Second column (activity column) where each person (Column A) has an activity
2 to return the second column value in Activity/Category Table
False to return the exact value
You can drag it down
For the Count use:
=COUNTIF($C$2:$C$8,"*"&B11&"*")
C2:C8 the new column of category created by the above formula
$ to have absolute reference
B11 is the Category which you want to count
"*"&... to include all combined category with the simple one
Column A Column B Column C
Person Activity Category
1 Football Sport =VLOOKUP(B2,$G$1:$H$4,2,FALSE)
2 Football Sport
3 Football, FIFA 17 PC, Sport
4 Hockey Sport
5 Hockey Sport
6 FIFA 17 PC
7 FIFA 17 PC
Column B Column C
Category Count
PC 3 =COUNTIF($C$2:$C$8,"*"&B11&"*")
SPORT 5
At the column B Select the all cell you want to fill with activity and "Define Name" to this range.(assume Activity).
Then Go to other cell where you want to display results. Define Name scope for whole sheet, you can display results any other sheet like sheet3 etc...ok.
Put this formula:
for football>> =countifs(Activity,"Football") Enter
repeat this an other cells for hockey, FIFA and other games
I have a list of names and a list of categories in a table.
Example:
Name Category 1 Category 2 Category 3
Jane Doe X X
Bill Smith X X
Eric Hamilton X
From that list, I want to list the people for each category.
Example:
Category 1 Category 2 Category 3
Jane Doe Jane Doe Bill Smith
Bill Smith Eric Hamilton
Is there a way I can do this in excel?
I found this video which seems to accomplish what I want. The formula is a bit more complicated than what I was hoping for, but it worked. I just removed some of the absolute cell references and copied the formula for the number of categories I currently have and it grouped the users properly.
https://www.youtube.com/watch?v=QkHfZtvC7UQ
I have been breaking my head with this problem since morning and I haven't found a solution. Please give your valuable pointers if possible, so that I can try to find the solution.
I basically have two sets of data- an old list and a new list. I wish to compare the new list( comparing name and country together) with an old list, since the new list has a few additional entries. Later on, I would like to create a new list with common entries from both old and new list and add all the new entries below the common ones ( if possible, else I will do that manually later on but I would like Excel to tell me that this is a new entry). Sorry, if this has not been well explained, but maybe the following illustration helps
Old List
Item No. Name Country
1 Apples Italy
3 Banana Spain
4 Grapes Slovakia
5 Pineapple Greece
8 Banana Czech Republic
14 Apples India
23 Pineapple Hungary
19 Peach USA
2 Strawberries France
New List
Item No. Name Country
4 Grapes Slovakia
Mango Pakistan
14 Apples India
Oranges Mexico
19 Peach USA
2 Strawberries France
1 Apples Italy
3 Banana Spain
23 Pineapple Hungary
Avocado Netherlands
Expected Output:
List with common serial No.s based on common names from both lists
Item No.Name Country
4 Grapes Slovakia
14 Apples India
19 Peach USA
2 Strawberries France
1 Apples Italy
3 Banana Spain
23 Pineapple Hungary
Mango Pakistan
Oranges Mexico
Avocado Netherlands
As can be seen in this attachment, I have an old list with Item No., Name and Country. Let's assume that the item numbers have been classified based on some code words. In the second list, there are again Item No.s, Name and Country but some item numbers haven't been filled ( since they are new and have not yet been sorted). Now, I want Excel to compare the names AND countries of both data and provide the common Item No. output if there is a match. If there is no match, then I would like Excel to tell me that this is a new entry. I looked up on various forums and I realized that VLOOKUP command only allows me to search on Name OR Country would give me the common entries of Names/Countries respectively but not Item No.s. Is there any formula that could help me solve this problem?
Just paste the list together, then sort it, and then remove the duplicates. Removing duplicates is built-in into Excel starting from version 2007, you will find it in the Data ribbon (see http://office.microsoft.com/en-001/excel-help/filter-for-unique-values-or-remove-duplicate-values-HP010073943.aspx).
To use VLOOKUP just concatenate Name and Country, for example, B2 & "-" & C2. You can then do a lookup on the concatenated values in your source table:
VLOOKUP(B2 & "-" & C2,NewList!D2:E100,2,False)
This assumes that the concatenated column is in D in your new table, and that you've copied the numbers to column E (VLOOKUP can't look to the right). I put in the dash for readablility and to avoid the chance that a Country ends with a number, unlikely as that might be.
I have a list of names with 1000 entries and maybe 750 unique. There are other attributes, like location and position. Can I create a pivot table that would show me simple stat's like X number of unique people, X number unique in location 1, location 2, location 3, and finally x number of positions in location 1, position 2/location1, position 3/location2...?
Name Location Title
Smith, Bob UK Sales Manager
Smith, Bob UK Plant Manger
Jones, Keith UK Sales Manager
Jones, Keith UK Plant Foreman
White, Derick Denver Sales Manager
Brown, Frank Boston Supply Chain
Black, Jay Denver Sales Manager
Smith, Jeff Denver Sales Manager
Gonzalez, Al UK
Gonzalez, Al UK Staging Area Manager
Bright, Susan Denver Legel Secretary
Bright, Susan Denver Paralegal
Bright, Susan Denver Executive Assistant
Bright, Susan Denver Press Secretary
Alf, Jeff Denver VP, Sales
Green, Burt Boston VP, Sales
Jones, Chuck Denver Plant Foreman
Alten, Cory Denver Sales Manager
Clark, Jerry Boston Plant Foreman
Romo, Tom Denver Sales Manager
You may want to consider using CountifS functions in adjacent columns to the data. For example to count unique people, just create a column (call it column x for this example) and enter =Countif(Column A, A1) and copy down for all the rows. then just enter =countif(Column X, 1) and that should give you the unique names.
You can use CountifS function for more complicated counting logic to answer the other questions.
I have done similar counting of unique entries using pivot tables.
I create a additional column that has a 1 if it is the first occurance of the "key" (ie name). The formula is similar to this: (assume Column A has the "key")
=IF(ROW(A1) = MATCH(A1,A:A,0),1,0)
This formula is then copied down for every row (or if it's a proper table, it's auto copied!)
The idea is that the MATCH returns the row number of the first occurrence of "key". If it is the same as the current row, then count 1. If the values aren't the same, it's a duplicate, so give it a 0 value.
When you then do a pivot table sum on this value, it adds up to the number of unique entries. (ie unique names in a region.)