Excel Reference and count matrix

%3CLINGO-SUB%20id%3D%22lingo-sub-2702372%22%20slang%3D%22en-US%22%3EExcel%20Reference%20and%20count%20matrix%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2702372%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20bit%20of%20a%20complex%20one%20here%2C%20I%20have%20a%20excel%20output%20from%20Microsoft%20Forms%20that%20I%20want%20to%20use%20as%20a%20data%20point%20for%20a%20matrix.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SamSmithIPU_1-1630405333864.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306925i7DC2AA9695CB8B77%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22SamSmithIPU_1-1630405333864.png%22%20alt%3D%22SamSmithIPU_1-1630405333864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E(Sheet%20Name%3A%26nbsp%3BPaste%20Results)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20the%20responses%20provided%2C%20I%20want%20to%20be%20able%20to%20reflect%20the%20responses%20in%20a%20matrix%20an%20another%20sheet%2C%20below%20is%20an%20example%20of%20what%20I%20would%20like%20the%20output%20to%20appear%20like.%26nbsp%3B%20Self%20and%20Manager%20is%20simple%20enough%20and%20I%20have%20done%20that%20with%20and%20If%20statement%20and%20Vlookup%20as%20it%20is%20only%201%20respondents%20response%20that%20I%20am%20after%2C%20however%20for%20Team%20and%20Peers%20it%20gets%20a%20bit%20more%20tricker%20as%20I%20want%20to%20count%20how%20many%20of%20each%20was%20selected%20for%20this%20question.%26nbsp%3B%20For%20example%20if%203%20Peers%20submitted%203%20on%20this%20question%2C%20then%20in%20cell%20E8%20I%20want%20this%20to%20show%20as%203%2C%20whilst%20if%20also%205%20peers%20submitted%205%20then%20in%20cell%20G8%20it%20will%20show%20as%205%2C%20in%20total%20for%20this%20example%20there%20would%20be%208%20peers%20responding%20to%20this%20form.%26nbsp%3B%20The%20same%20would%20be%20applied%20for%20Team%20members.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SamSmithIPU_4-1630407323706.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306932iB78F2AC2B09DC310%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22SamSmithIPU_4-1630407323706.png%22%20alt%3D%22SamSmithIPU_4-1630407323706.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E(Sheet%20Name%3A%26nbsp%3BResult%20Graphs)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20is%20another%20sheet%20within%20the%20workbook%20where%20someone%20can%20fill%20out%20who%20is%20the%20person%20it%20is%20about%2C%20the%20manager%2C%20peers%20and%20team%20members.%26nbsp%3B%20This%20is%20where%20the%20formulas%20would%20reference%20against%20for%20the%20search%20in%20the%20data%20output%20from%20Forms.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SamSmithIPU_3-1630405769454.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306928i6CB10C7A15AE4DC2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22SamSmithIPU_3-1630405769454.png%22%20alt%3D%22SamSmithIPU_3-1630405769454.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E(Sheet%20Name%3A%26nbsp%3BRelations)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESomething%20to%20put%20out%20there%2C%20the%20number%20of%20Team%20Members%20and%20Peers%20can%20change%20for%20each%20person%20the%20form%20is%20submitted%20about%20and%20the%20order%20of%20the%20responses%20is%20purley%20set%20in%20order%20of%20when%20users%20responded%2C%20so%20ideally%20the%20solution%20needs%20to%20be%20flexible%20and%20not%20hard%20coded.%26nbsp%3B%20For%20example%2C%20if%20the%20answer%20is%20Vlookup's%20I%20dont%20want%20to%20have%20to%20enter%20100%20Vlookup's%20to%20cover%20the%20range%20of%20possibily%2060%20peers%20or%20team%20members%20responding.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2702372%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2702489%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Reference%20and%20count%20matrix%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2702489%22%20slang%3D%22en-US%22%3ECan%20you%20post%20a%20sample%20data%3F%20It%20will%20help%20us%20to%20assist%20you%20with%20an%20answer.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2702491%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Reference%20and%20count%20matrix%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2702491%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F767933%22%20target%3D%22_blank%22%3E%40Juliano-Petrukio%3C%2FA%3E%26nbsp%3BHere%20is%20the%20file%2C%20it%20is%20all%20dummy%20data.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi Community,

 

A bit of a complex one here, I have a excel output from Microsoft Forms that I want to use as a data point for a matrix.

 

SamSmithIPU_1-1630405333864.png

(Sheet Name: Paste Results)

 

From the responses provided, I want to be able to reflect the responses in a matrix an another sheet, below is an example of what I would like the output to appear like.  Self and Manager is simple enough and I have done that with and If statement and Vlookup as it is only 1 respondents response that I am after, however for Team and Peers it gets a bit more tricker as I want to count how many of each was selected for this question.  For example if 3 Peers submitted 3 on this question, then in cell E8 I want this to show as 3, whilst if also 5 peers submitted 5 then in cell G8 it will show as 5, in total for this example there would be 8 peers responding to this form.  The same would be applied for Team members.

 

SamSmithIPU_4-1630407323706.png

(Sheet Name: Result Graphs)

 

Below is another sheet within the workbook where someone can fill out who is the person it is about, the manager, peers and team members.  This is where the formulas would reference against for the search in the data output from Forms.

 

SamSmithIPU_3-1630405769454.png

(Sheet Name: Relations)

 

Something to put out there, the number of Team Members and Peers can change for each person the form is submitted about and the order of the responses is purley set in order of when users responded, so ideally the solution needs to be flexible and not hard coded.  For example, if the answer is Vlookup's I dont want to have to enter 100 Vlookup's to cover the range of possibily 60 peers or team members responding.

2 Replies
Can you post a sample data? It will help us to assist you with an answer.

@Juliano-Petrukio Here is the file, it is all dummy data.