Power Query - Combine Rows of data based on criteria [closed] - excel

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 days ago.
Improve this question
an example of the data set I have is shown below: enter image description here
With this I want to be able to combine rows that have the same (Date, Scope & Category) and have the Val/COArea Crcy column sum together the rows values so I then have one row displaying the Date, Scope, Category, and value.
Hopefully this makes sense... Thanks!

Related

Excel VBA-XLOOKUP [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 13 days ago.
This post was edited and submitted for review 7 days ago.
Improve this question
Unfortunately, I couldn't find the right thread, so I'm trying here.
I'm trying to write a function with XLOOKUP that accesses the Database table. I can do that with the formula. But my problem is that I also have individual headings/titles for the individual cells of the XLOOKUP. I would like to transpose both rows with multiple columns. Unfortunately, this does not work so easily with MTRANS. Therefore, I am trying to solve the transposition with VBA (reluctantly).
I have not been able to find a reasonable solution. Example structure looks like the datatype "test.xlms":
Now, row 1&2 have to transponse. How can i do that? And how can i translate a XLOOKUP-function with 5 arguments in a VBA-script? Can anybody explain it?
enter image description here
enter image description here

Identifying differences between two sets of Data with Multiple columns and some blank Values [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 days ago.
Improve this question
I thought this would be fairly easy but I am struggling with it a little to be efficient. I have two sets of data (PROD) & (TEST). Each has 10 or so fields (Case Number, Broker, Broker Code, Transaction Type...) and they all have a unique Case Number) I expect the two sets to vary, both in cases found in the sets and the data within and also when the larger volume of data comes in tomorrow.
My challenge is to identify where the (TEST) system got it wrong when trying to automatically pull the (PROD) data.
Any advice on how to best approach this task is much appreciated. I'd like to have a 3rd tab where the case number by the fields that were correct or incorrect for each type.
Thanks in advance.
Craig
I have spent some time today testing VLOOKUPs, INDEX MATCH, but I can't seem to find a solution that capture the cases and where they are incorrect in Excel. I think where I am hitting the wall is that the case numbers won't marry up on the rows one for one and so any row based work will not match. I can populate based on criteria but I can't then match the result against a result with the same case number and not just the row number.

Average multiple scores of the same topic [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
Say I have a spreadsheet that contains quizzes taken by students and their scores.
I want to create another table of that data the gives me an average of 2 quizzes that are related to the same topic. I have attached an example. Not all topics contain two different quizzes, some just consist of one single quiz.
Maybe someone could help me solve this.
enter image description here
I tried to use a pivot table but it creates a column for each test, not exactly what I need.
I would use AverageIFS() like this:
=AVERAGEIFS($C:$C,$B:$B,F$1,$A:$A,$E2)
As per the screenshot below. Hope this helps!!!

Problems with vlookup function in MS Excel [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
enter image description here[vlookup]
Erradic/inconsistent behavior with vlookup function in MS Excel.
The search list is in yellow, search result is in green.
Please refer to the captured image.
Help would be much appreciated.
Nothing is wrong with vlookup.
Vlookup will look in the first column for what you want, in this case it looks in column A for “round” and returns n/a which is perfectly correct.
You could 4 vlookups to deal with this or you can try index and match ...

Conditional results based on average found from other cells [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Rather than an Excel formula of this kind:
=IF(AVERAGE(A1:A4)<4,"POOR",IF(AVERAGE(A1:A4)<5,"Meet Expectation",IF(AVERAGE(A1:A4)<7,"Good",IF(AVERAGE(A1:A4)<8,"Excellent","Outstan‌​ding"))))
how might I achieve similar results with a lookup table?
With a lookup table (and without requiring an exact match):
Where an exacct match is not found it defaults to the next lower matching value. 9 can not be found but 8 can be, hence Outstanding. You have not been specific about the breakpoints (eg 5 seems to be both Meet Expectation and Good) but the table is easy to adjust to suit by adding or deducting a very small amount to the number to the left of Good.
The table is here named Qarray and can be placed anywhere in the same workbook if the named range is of Workbook scope.
Formula:
=IF(A1<4,"POOR",IF(AND(A1>=4,A1<5),"Meets Expectations",IF(AND(A1>=5,A1<7),"Good",IF(AND(A1>=7,A1<8),"Excellent","Outstanding"))))

Resources