I have had this problem a little while and any offset etc is a bit messy and leaves gaps in what I'm attempting.
Sheet 1
+-------+------+
|Name | team |
+-------+------+
|Abel | a |
|Bravo | b |
|Charle | a |
|Delta | a |
|Echo | b |
+-------+------+
Sheet 2
+---------+
|Team a |
+---------+
|Abel |
|Charlie |
|Delta |
+---------+
+---------+
| Team b |
+---------+
|Bravo |
|Echo |
+---------+
I insert the names manually in Sheet 1, then locate the team from another spreadsheet using offset. Unfortunately they don't come in order and someone's team a will be 20 people and team b 5 - these values vary but not more than 30 total
Apologies for formatting I'm using my phone, sheet 1 is 2 column, sheet 2 is 1
Go for a pivot table and pivot chart.
For this dataset
and setting this
you would get the following, where you can filter on team
Related
I have a csv file like this
| Date | PO |
|21-04-21| A |
|21-04-21| B |
|21-04-21| C |
|22-04-21| B |
|22-04-21| C |
|23-04-21| B |
|23-04-21| D |
atm, when I'm making a pivot table in excel, I'm getting the count number
|21-04-21|22-04-21|23-04-21|
A | 1 | 0 | 0 |
B | 1 | 1 | 1 |
C | 1 | 1 | 0 |
D | 0 | 0 | 1 |
I'd like formatted this way since each row are unique:
|21-04-21|22-04-21|23-04-21|
| A | B | B |
| B | C | D |
| C | | |
Is it possible using a pivot table or I need another way to do so...
thks gorgeous people!!
You can add a measure to show the information.
Make a table and create pivot from the table.
Choose "Add this data to the Data Model". The table will be named Table1
Create a new measure for the pivot table.
Then enter the following DAX formula:
=CALCULATE(CONCATENATEX(VALUES(Table1[PO]),Table1[PO]," "))
Then enter move the field as the picture:
In a table 1, I have,
+---+---+----+
| | A | B |
+---+---+----+
| 1 | A | 30 |
| 2 | B | 20 |
| 3 | C | 15 |
+---+---+----+
On table 2, I have
+---+---+---+----+
| | A | B | C |
+---+---+---+----+
| 1 | A | 2 | 15 |
| 2 | A | 5 | 6 |
| 3 | B | 4 | 5 |
+---+---+---+----+
I want the number in second column to divide the number in table 1, based on match, and the result in third column.
The number present in the bracket is the result needed. What is the formula that I must apply in third column in table 2?
Please help me on this.
Thanks in advance
You can use a vlookup() formula to go get the dividend. (assuming table 1 is on Sheet1 and table 2 in Sheet2 where we are doing this formula):
=VLOOKUP(A1,Sheet1!A:B, 2, FALSE)/Sheet2!B1
Since you mention table, with structured references, though it seems you are not applying those here:
=VLOOKUP([#Column1],Table1[#All],2,0)/[#Column2]
I want to obtain a summary of the units of each class per group, but I don't know how to do it. I tried different options but this is breaking my mind and I prefer not to use a macro, just a formula.
This is an example of what I want:
Class | Group | Units | Summary
------|-------|-------|---------
A | G1 | 1 |
A | G1 | 2 |
A | G1 | 3 |
B | G1 | 4 | A:"1,2,3";B:"4"
B | G2 | 5 |
C | G2 | 6 |
C | G2 | 7 | B:"5";C:"6,7"
C | G3 | 8 |
A | G3 | 9 | C:"8";A:"9"
A | G4 | 0 | A:"0"
If you know how to help I would appreciate that.
Just as #bzimor said - use pivot table. The source is your original table (class, group and units). Then when the pivot table placeholder appears, you put Group, Class and Units in the Column fields. The result looks like this:
Of course, you can format the pivot table to look like you want it.
I am trying to make a heat sheet that updates names according to position.. The Top 2 from each heat go to round 2 and are seeded into heats according to position..
So H1 R1 winner goes go R2 H1 So in Example below I need to move Deee to R2 H1
So Heat 1 Round 1 would be
|COLOUR | NAME | POSITION|
|Red | Abbb | 3 |
|White | Bccc | 2 |
|Yellow | Deee | 1 |
|Blue | Fggg | 4 |
Round 2 Heat 1 would be
|COLOUR | NAME | POSITION|
|Red | Deee | |
|White | Bccc | |
|Yellow | | |
|Blue | | |
EG If position in (c2:C5) = "1" then name in "b2" is copied to "g5"
Don't know if this is what you are looking for. Just an idea...
Assuming your first heat table is in columns A to C with first row being header and the next rows data and column 3 holding the position.
You could have a second heat table with e.g. column "E" holding the new position numbers and column "F" the follwing formular
=OFFSET($A$1;MATCH(E1;$C$2:$C$5;0);1)
shows the name in the new heat table according to position in the original table.
A | B | C | D | E | F
Colour | Name | Pos | |new Pos|-formular-
I need another transformation help in Excel
| A | B |
---| ----|--------|
1 | ID | Course |
2 | 1 | A1 |
3 | 1 | A2 |
4 | 2 | A1 |
5 | 3 | A2 |
I want to have a kind of group by, i.e.
| A | B | C |D | ...
---| ----|---------|---------|---------|----
1 | ID | Course1 | Course2 | Course3 | ...
2 | 1 | A1 | A2 | | ...
3 | 2 | A1 | | | ...
4 | 3 | A2 | | | ...
Any ideas? Is it possible without VBA macro?
I believe that the following link on removing duplicates from column would suit your needs (in your case you would do it horizontally).
http://www.get-digital-help.com/2009/03/30/how-to-extract-a-unique-list-and-the-duplicates-in-excel-from-one-column/
Per your reply to Robert, if you want to do it without VBA, try this... Select all cells in the first column. Copy and paste them into the first column of another worksheet. Use Excel's Remove Duplicates function on the pasted data. Then use INDEX functions in the columns to the right in order to pull the first, second, etc values matching that first column value.