Forum Discussion
Mergin duplicates from list but adding their values
- Aug 07, 2020
I would create a pivot table based on the data.
Add the Resources field to the Rows area and the Need field to the Values area; Excel should automatically use SUM as aggregate function.
I would create a pivot table based on the data.
Add the Resources field to the Rows area and the Need field to the Values area; Excel should automatically use SUM as aggregate function.
- LouReneAug 08, 2020Copper Contributor
So I tried to use Pivot Table and it is exactly what I needed, thanks very much HansVogelaar !
Unfortunately, it's not working yet as the values from "Resources" are already results from the sheet 1. If I type the datas and do a pivot table then, it works perfectly. But if the datas are coming from functions the SUM is not working.
Just in case it's relevant to share more details:
It is basically a tool. In "Sheet 1" I paste datas from a database which included useless informations.
They come like this :
3 xResource ATypeOther attribute60 xResource BTypeAttributeSo into the sheet 1 I need a few step to trim, then to join, and finally to rebuild my column :Step 1: [H9] =IFERROR(IF(AND(E9=FALSE,F9=FALSE,G9=TRUE),TRIM(CLEAN(D9)),""),"") {RESOURCES}[J9] =IF(AND(E9=FALSE,F9=FALSE,G9=TRUE,D9<>""),LEFT(D8,LEN(D8)-1),"") {NEEDS}Step 2: [K6] =TEXTJOIN(", ",TRUE,H8:H39)Step 3: Text to ColumnStep 4: [Q13] =INDEX(H8:J39,MATCH(N13,H8:H39,0),3)- HansVogelaarAug 08, 2020MVP
- LouReneAug 08, 2020Copper Contributor
WaouhHansVogelaar , it definitely does!!!
Thank you!! Actually, I don't know how to show how grateful I am, thank you so much!!
- LouReneAug 07, 2020Copper Contributor
Fab! I will have a look on this feature I am not familiar with as soon I'm off tonight, but it seems very solid!
Thanks very much HansVogelaar, as soon I try that, I'll come back with review.