I have an issue with using countifs function. Basically, I have to compare to columns and count frequency of repeating.
My tables are like:
Product ID: NAME OF PRODUCT, TOTAL PIECES OF PRODUCT, QUANTITY OF PRODUCT. I would like to compare name of products and total pieces with quantity of product is it equal and count how many rows are with those two conditions.
Thank you for answer
I think you want a pivot table.
Related
I need to create a certain pivot table in excel. As you can see on the picture there are certain Lane IDs and supplier names. I would like to describe my problem on the Lane ID RSE_0010 example.
There are two supplier names first: EMES has lower sum of price (235) and UNIMED has higher (295),
I need to create such pivot that I could see such order for RSE_0010 row:
RSE_0010|Supp.Name with lowest Price|Price of the Supplier with lowest price|Supp.Name with second price|Second Price value
I need to have supplier names for each Lane not in rows but in columns with their prices values.
I have two problems here:
how to have supplier names in columns one after another for each row
how to filter the prices in the columns
Hope you could help me with my problem and it has been described in a clear way.
Thanks in advance.
I have a data set of 40,000 rows and I am looking to find count of distinct values for a specific column within the data set. I know Excel for Mac doesn't support data model. Has anyone found an alternate way to do this via formulas? Thank you for your help.
You can use the helper column to calculate the part of total items count in a group that can be summed in the pivot table.
For example, to get count of distinct names in group I divide 1 by total count of names in group
=1/SUMPRODUCT((A2=$A$2:$A$16)*(B2=$B$2:$B$16))
and in pivot table I can sum all parts.
I have one dynamic named range where I have the employees and their opportunities listed. the table also has a subtotal by employee. I have another table where I have a list of teams and the employees on those teams. The two tables are not the same size.
How do I sum up the employee totals from table 1 if they belong on the same team? In other words, how do I get the team total?
There is a similar question with an answer but when I try to use the sumif based on that answer, i am getting a #value error as the criteria range is not the same size.
Thanks
I have the following format for my data. The bolded items on the left are what I am trying to make, items in column C are the materials needed, and column B are the quantity of that material. In column G I have a unique list of items which I want to correspond to their total quantities in column F.
Techniques I've already tried that didn't work:
VLOOKUP
SUMIF
SUM
IF
COUNTIF
Pivot Table
Combination of all of the above.
I've already stumped two of my Business major friends and I've watched a dozen tutorials which are way simpler than what I'm trying to do here.
Try this
=SUMIF(C:C;"="&$G2;B:B)
EDIT based on Wyatt Shipman comment
=SUMIF(C:C;$G2;B:B)
I have a client I am importing lots of data from but to narrow it down it pulls in to powerpivot with a date column and a product column. They want to see a summary of how many days there was one item sold ("Solo Sale") two ("Double Sale") three, and four or more.
I am running into trouble due to the fact that they want to summarize the rest of their data by whether the day was a "Solo Sale" or "Double Sale" etc etc. Let's call this this the "Sale Count"
Because I need these "Sale Count" values on the rows of a Pivot Table, I'm trying to build a calculated column in the table that does a distinct count of the products by date but can't quite seem to get there using CALCULATE and/or FILTER. It always seems to give me a total distinct count of the products in the entire table rather than counting by each date.
Any advice on the DAX formula I should be using would be greatly appreciated. New to Power Pivot and I think I'm still thinking a little too excel-centric given there is very little row-logic in Power Pivot.
Thanks in advance!
Edited: Here is the table
PowerPivot Table
I would like the values in the SalesCount column to read 4 for every row with a date 1/1/2016, 1 for 1/2/2016, 2 for 1/3/2016, and 2 for 1/4/2016 (equivalent to the DISTINCTCOUNT of the Products on each day).
Then I would like to use conditional IF statements to replace those numbers with "Solo Sale" "Double Sale" etc so that I can use these values on the rows of a Pivot Table.
Try this as your calculated column:
=CALCULATE(
DISTINCTCOUNT(Table1[Product]),
ALLEXCEPT(Table1, Table1[Date])
)