bauer_excel
New Member
- Joined
- Apr 27, 2015
- Messages
- 6
Please I really need help! I am definitely a beginning excel user, and after using google and looking through this forum I am still unable to figure this out. Answers will be much appreciated!
Basically I have data that specifies how much of each item (codes) are used per phase. For example, 2x aaa is used in phase 1 and 3x aaa used in phase 3, but none used in phase 2.
I want to return result that have phases as the column header, detailing underneath what codes/items are used and how much is used. So for Phase 1, since bbb is not used, it is not listed. What I hope is to be able to automatically generate the result from the data itself, so something like a formula for each column of the result--as simple as possible so the formula is easy to understand (some things can be manually inputted, such as names of phases).
Currently I am using a combo of IF/INDEX/MATCH formula to return the results I want, but I am unable to skip the blanks (so for phase 1 I am getting aaa blankspace ccc ddd even though I only want aaa ddd eee).
This is my first time using this forum, I hope I explained it well enough. Please teach me how to best do this efficiently, thanks in advance
The Data:
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]Phase 1[/TD]
[TD="align: center"]Phase 2[/TD]
[TD="align: center"]Phase 3[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]bbb[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]ccc[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]ddd[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
What I Have Now (phase 1):
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]Qty[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]ccc[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]ddd[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
The Result I Want:
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]Phase 1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Phase 2[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]Quantity[/TD]
[TD="align: center"]Code[/TD]
[TD="align: center"]Quantity[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]bbb[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]ddd[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]ccc[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]eee[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Basically I have data that specifies how much of each item (codes) are used per phase. For example, 2x aaa is used in phase 1 and 3x aaa used in phase 3, but none used in phase 2.
I want to return result that have phases as the column header, detailing underneath what codes/items are used and how much is used. So for Phase 1, since bbb is not used, it is not listed. What I hope is to be able to automatically generate the result from the data itself, so something like a formula for each column of the result--as simple as possible so the formula is easy to understand (some things can be manually inputted, such as names of phases).
Currently I am using a combo of IF/INDEX/MATCH formula to return the results I want, but I am unable to skip the blanks (so for phase 1 I am getting aaa blankspace ccc ddd even though I only want aaa ddd eee).
This is my first time using this forum, I hope I explained it well enough. Please teach me how to best do this efficiently, thanks in advance

The Data:
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]Phase 1[/TD]
[TD="align: center"]Phase 2[/TD]
[TD="align: center"]Phase 3[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]bbb[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]ccc[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]ddd[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
What I Have Now (phase 1):
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]Qty[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="align: center"]ccc[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]ddd[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
The Result I Want:
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD="align: center"]Phase 1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Phase 2[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]Quantity[/TD]
[TD="align: center"]Code[/TD]
[TD="align: center"]Quantity[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]bbb[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]ddd[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]ccc[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]eee[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]