I am trying to use excel to get a count of distinct values, the following screenshot will illustrate what I am trying to do. Data Screenshot
Given data in the form on the left column I would like a way to display the occurrences of each distinct value on the right.
I have used the Outline Subtotal grouping to do this but it does not present the data in a form I can work with. I am by all means an Excel novice, any help would be appreciated
Thanks!
Use a pivot Table. Put the column in both the Rows and Values:
Related
I'm working with a table that contains information about categories of products and oracle tables related with such products. Just like this:
I was trying to figure out how to extract in another location the tables used by each product using a dropdown list, for example:
If any of the product is selected from the dropdown list the tables marked by an X in the previous table must be shown as in the red square.
I was trying using INDEX, XLOOKUP, FILTER and combination of them unsuccessfully
Somebody can help me to figure out how to obtain the desired result?
Thanks in advance.
you can use this formula - I named the table data
=LET(getColumn,FILTER(data,data[#Headers]=H3),
FILTER(data[Table],getColumn="x"))
Using INDEX/MATCH in the FILTER:
=FILTER(Table1[TABLE],INDEX(Table1[#Data],0,MATCH(H2,Table1[#Headers],0))="x")
The issue I am having is trying to use XLOOKUP on a table column that has been generated using a ranking formula.
The Rank column is created using the following formula so that it adjusts dynamically depending on the visible columns (auto-filtering) since RANK.AVG or EQ does not take that into account.
=SUMPRODUCT(SUBTOTAL(3,OFFSET(Table2[[#All],[Sales]],ROW(Table2[[#All],[Sales]])-MIN(ROW(Table2[[#All],[Sales]])),0,1)),--([#Sales]<Table2[[#All],[Sales]]))
The XLOOKUP I am using is simple
=XLOOKUP(1,Table2[Rank], Table2[Rep])
The idea is that the field at the top would show the top ranked performer based on the visible rows. The problem is that when filtering the data, the rank column adjusts as it should, but the XLOOKUP does not function as I would expect. It sticks with the originally ranked 1 or even does something complete weird that I can't explain when running combinations of filters in the region column..
Anyone have any advice how I could better structure this to make it function in the intended manner. Any help at all would be appreciated.
You'll need to employ a similar construction to account for visible rows only, for example:
=LOOKUP(1,QUOTIENT(0,SUBTOTAL(3,OFFSET(INDEX(Table2[Sales],1),ROW(Table2[Sales])-MIN(ROW(Table2[Sales])),))*(Table2[Rank]=1)),Table2[Rep])
Not sure why you're referencing the table header row in your other formula.
I have tried to multiply two values from different tables in another table. (Please see the picture below). However I have received #VALUE. Do you know why it is not working?
I used this formula:
=Table5[#Income]*Table4[#Income]
To the best of my knowledge, it will only work when oriented like this
The data has to be on the same actual row as the formula, not just the same row relative to the top of the table.
If someone could help me out that would be fantastic and thank you in advance
I have big excel list with different orders that looks like this example
What I would need to do is to:
Search and match data based on column I and then when it matches it should merge together that rows, and create 1 row like 8th and 9th row here.
But it should do a sum of costs (column H) and for row G seats to create a format like 10-11 here, but if I have multiple rows where there are numbers 10,11,12 it should format 10-12. ANd all this new rows should go in the new sheet/tab in the same excel file.
This should be fairly straight forward using Pivot tables. You can simply use "Order Number" in the column and simply aggregate everything else. If you haven't used pivot tables before the following link should get you started:
https://www.excel-easy.com/data-analysis/pivot-tables.html
There are a couple of options for the concatenation issue. The easiest option is to use Power query for this. The following link highlights a couple of possible ways to do this:
https://superuser.com/questions/453041/grouping-labels-and-concatenating-their-text-values-like-a-pivot-table
I would recommend Power query as it is the easier option.
So I got this excel file with a lot of data which is why I want to avoid doing all this manually. Basically what I want to do is find all values that is the same in one column and then combine all it's values to one row.
If I have this data in a worksheet.
I would like the output to be like this
I appreciate all the help I can get.
EDIT:
This is what I get from a Pivot Table
When I actually would want it to look like this.
You must use Pivot Table function from (i recommend it) MS Excel.
It lets you to set wich columns becomes rows, what type of values they will contain and much more.
Pivot Tables are what you want.
It saved my career at my previous job :)
Here you got some screenshot of example for making sums for all duplicates in first column:
original table: