SOLVED

How to Inputing datas to a specific rows and column in a big table

%3CLINGO-SUB%20id%3D%22lingo-sub-3329759%22%20slang%3D%22en-US%22%3EHow%20to%20Inputing%20datas%20to%20a%20specific%20rows%20and%20column%20in%20a%20big%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3329759%22%20slang%3D%22en-US%22%3E%3CP%3Ehello%2C%20a%20new%20member%20here...%20so%20I%20tried%20to%20make%20this%20matrix%2C%20these%20these%20are%20the%20data%20I%20have%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22247%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22118.062px%22%20height%3D%2230px%22%3EDistribution%3C%2FTD%3E%3CTD%20width%3D%2263.9844px%22%20height%3D%2230px%22%3EDestination%3C%2FTD%3E%3CTD%20width%3D%2263.9531px%22%20height%3D%2230px%22%3ESource%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22118.062px%22%20height%3D%2230px%22%3E108971.00%3C%2FTD%3E%3CTD%20width%3D%2263.9844px%22%20height%3D%2230px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2263.9531px%22%20height%3D%2230px%22%3E1%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22118.062px%22%20height%3D%2230px%22%3E319103.00%3C%2FTD%3E%3CTD%20width%3D%2263.9844px%22%20height%3D%2230px%22%3E2%3C%2FTD%3E%3CTD%20width%3D%2263.9531px%22%20height%3D%2230px%22%3E1%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22118.062px%22%20height%3D%2230px%22%3E118248.00%3C%2FTD%3E%3CTD%20width%3D%2263.9844px%22%20height%3D%2230px%22%3E3%3C%2FTD%3E%3CTD%20width%3D%2263.9531px%22%20height%3D%2230px%22%3E2%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E........%3C%2FTD%3E%3CTD%3E......n%3C%2FTD%3E%3CTD%3E%2C%2C%2C%2C%2C%2C%2C%2Cn%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3BAnd%20I%20have%20to%20make%20a%20big%20matrix%20of%20distribution%20from%20the%20source%20to%20destination%2C%20something%20like%20this...%3C%2FP%3E%3CTABLE%20width%3D%22378px%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2291.5938px%22%3EDestination%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2291.5938px%22%20height%3D%2230px%22%3E2%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E3%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E...n%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E108971.00%3C%2FTD%3E%3CTD%20width%3D%2291.5938px%22%20height%3D%2230px%22%3E319103.00%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E0%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2240px%22%3ESource%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E2%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E0%3C%2FTD%3E%3CTD%20width%3D%2291.5938px%22%20height%3D%2230px%22%3E0%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E118248.00%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E3%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3CTD%20width%3D%2291.5938px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2240px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E...n%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3CTD%20width%3D%2291.5938px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3CTD%20width%3D%2283.4688px%22%20height%3D%2230px%22%3E..........%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2230px%22%3E.....%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20I%20got%20confused%20how%2C%20anyone%20have%20any%20idea%20how%3F%20I%20have%20tried%20to%20make%20a%20new%20table%20and%20use%20vlookup%2Fifs%20function%20but%20got%20confused%20in%20the%20middle.%20I%20wished%20anyone%20can%20help%2C%20I%20will%20appreciate%20them%20very%20much%20%3CLI-EMOJI%20id%3D%22lia_red-heart%22%20title%3D%22%3Ared_heart%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3329759%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-3330418%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Inputing%20datas%20to%20a%20specific%20rows%20and%20column%20in%20a%20big%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3330418%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1382611%22%20target%3D%22_blank%22%3E%40ymnalya%3C%2FA%3E%26nbsp%3BTwo%20options%20for%20you%20in%20the%20attached%20file.%20Since%20you%20mention%20that%20it%20concerns%20a%20%22big%20table%22%2C%20I%20would%20prefer%20to%20tackle%20this%20with%20Power%20Query%20(PQ).%20The%20result%20is%20in%20the%20green%20table%20and%20requires%20only%20one%20step%20after%20connecting%20to%20the%20data%20(the%20blue%20table)%2C%20and%20that%20is%20to%20pivot%20by%20destination%20and%20source.%20Change%20the%20data%20and%20Refresh%20the%20query%20for%20updated%20results.%3C%2FP%3E%3CP%3EIf%20you%20are%20not%20familiar%20with%20PQ%2C%20the%20link%20below%20contains%20good%20material%20to%20help%20you%20get%20started.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fexceloffthegrid.com%2Fpower-query-introduction%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fexceloffthegrid.com%2Fpower-query-introduction%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can't%20use%20a%20standard%20pivot%20table%20for%20this%20as%20the%20Distribution%20codes%20are%20probably%20texts.%20It%20would%20require%20Power%20Pivot%20and%20a%20DAX%20measure%20to%20display%20texts%20in%20the%20value%20area%20of%20a%20pivot%20table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20other%20option%20uses%20INDEX%20and%20MATCH%20functions.%20Note%20that%20I%20have%20used%20a%20structured%20table%20(blue)%20for%20the%20data%2C%20resulting%20in%20structured%20table%20references%20which%20are%20preferable%20over%20direct%20cell%20references.%20Table%20references%20will%20expand%20and%20contract%20automatically%20with%20changing%20sizes%20of%20the%20data%20range.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3351614%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Inputing%20datas%20to%20a%20specific%20rows%20and%20column%20in%20a%20big%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3351614%22%20slang%3D%22en-US%22%3EHello%2C%20thank%20you%20for%20your%20answer%2C%20it%20helps%20me%20too.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3351722%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Inputing%20datas%20to%20a%20specific%20rows%20and%20column%20in%20a%20big%20table%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3351722%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F882644%22%20target%3D%22_blank%22%3E%40burbigo3%3C%2FA%3E%26nbsp%3BGreat!%20Glad%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

hello, a new member here... so I tried to make this matrix, these these are the data I have : 

 

DistributionDestinationSource
108971.0011
319103.0021
118248.0032
..............n,,,,,,,,n

 And I have to make a big matrix of distribution from the source to destination, something like this...

   Destination  
  123...n
 1108971.00319103.000.....
Source200118248.00.....
 3....................
 ...n.........................

 

but I got confused how, anyone have any idea how? I have tried to make a new table and use vlookup/ifs function but got confused in the middle. I wished anyone can help, I will appreciate them very much

3 Replies
best response confirmed by Grahmfs13 (Microsoft)
Solution

@ymnalya Two options for you in the attached file. Since you mention that it concerns a "big table", I would prefer to tackle this with Power Query (PQ). The result is in the green table and requires only one step after connecting to the data (the blue table), and that is to pivot by destination and source. Change the data and Refresh the query for updated results.

If you are not familiar with PQ, the link below contains good material to help you get started.

https://exceloffthegrid.com/power-query-introduction/ 

 

You can't use a standard pivot table for this as the Distribution codes are probably texts. It would require Power Pivot and a DAX measure to display texts in the value area of a pivot table.

 

The other option uses INDEX and MATCH functions. Note that I have used a structured table (blue) for the data, resulting in structured table references which are preferable over direct cell references. Table references will expand and contract automatically with changing sizes of the data range.

 

Hello, thank you for your answer, it helps me too.

@burbigo3 Great! Glad I could help.