Excel Lookup and sum multiple values - excel

A B C D D E F
DEForage201 DE Deutschland 201 Perennial Ryegrass Forage 789951
DEForage201 DE Germany 201 Perennial Ryegrass Forage 5617026
In the list above (starting in column A which is an ID line compiled by column B, F and D) I want to lookup and get the sum of the rightmost column.
Currently I am using vlookup and look for the ID line in column A, until I noticed that the country names in column C would differ during the list which is why I am having identical ID lines in column A and currently only get the first value.
Any ideas how to solve this?

Assuming you're looking for a way to view the sum of column F for each unique combination of columns A through E, a Pivot Table might be what you're looking for. You can select columns A through E as the "rows" for the pivot table, and sum of column F for the values. Adjust the report layout in the Pivot Table Design tab to get it to look the way you want.

Related

Google Spreadsheet/ Excel - how to find matching values in column A, having necessary values in column M

I have list of product articles in column A, in the columns B to L I have additional info on the products, total 95000 lines. I also have column M which lists 3000 articles which I need to find in the list from column A. How do I highlight only matching values in column A that are present in column M?
I tried conditional formatting but the file size is too big and all actions take too much time.
try this:
=COUNTIF($M$2:$M$5;A2)
it will give a 1 if the product is in the column M list, and a 0 if it isn't.
you can then filter on column N having 1.
Be mindful on your data set, the actual formula you have to use will probably be more like:
=COUNTIF($M$2:$M$3000;A2)

How to match up 2 columns with 2 other columns

In column A I have product id's and column B has the number of times the product in column A was quoted.
In column C I have the same product id's (but in different order) and column D has the number of times the product in column C was actually sold.
I want to match them up to add a final column in order to divide sales/quoted in order to get a value of efficiency in sales.
I believe it's an index/match/match but I'm not sure how to set it up.
Please help
Try
=B3/vlookup(A3,C:D,2,false)
In words: take the value in B3 and divide it by the value from column D where column C has the same text as A3.

Excel , find duplicates between 2 columns and displays return value

I have Column A (list of suppliers from 2018) and then Column B (Supplier $ spent), column C (List of all our suppliers in our database).
My objectives are:
To find the duplicates , show them that they are a match so as they get displayed in the same row and return value of Column B for a match in Column D
OR
To search for duplicates and returns column B as a return value in Column D.
You can use vlookup to lookup column C in the table (colA, colB) and return column B for the matches.
Something like -
=IFERROR(VLOOKUP(C2,A$2:B$6,2,FALSE),"")
Replace A$2:B$6 with your table range.

Excel - how to look in a dynamically changing range of multiple rows and columns and retrieve data

I have 2 excel files. 1 is a workfile in which I work, the other is the output of a database. See pic 1 for my database output (simplified).
What we see here:
The purchase order numer in column A
The row in the database in column B
The status of the row in the database in column C
The classification in column D, where W means a product we want to measure and P meaning delivery costs, administration costs etc (we don't want to measure this)
The number of items ordered and the number of items delivered in column E
The company name and product info in column F
Now, what I want, is something like this:
I want this table to be filled automatically based on the database output. It works for column B, but I'm stuck on column C, D and E.
What I want from you!
I need help with column C, D and E.
Number of rows: it needs to calculate the rows only with W in column D. So for item 4410027708 it has to be 2 (only 2 rows with W) and for item 4410027709 it should be 1.
Items ordered: it needs to add-up all the values that are directly to the right of the W in column D. So, for 4410027708, it needs to add up 3 and 5. It must ignore all the rows with P!
Items to be delivered: You may already guess this, but it needs to add up all the values in column E that are on the same row as column C with To be delivered, but only for the W rows (not the P versions). So, for item 4410027708 this should be
I suggest easy if ColumnA can be filled down first (including for the last entry) then assuming the database output sheet is called Sheet1, in:
C2: =COUNTIFS(Sheet1!A:A,A2,Sheet1!D:D,"W")
D2: =SUMIFS(Sheet1!E:E,Sheet1!A:A,A2,Sheet1!D:D,"W")
E2: =SUMIFS(Sheet1!E:E,Sheet1!A:A,A2,Sheet1!C:C,"To be delivered")
copied down to suit.

Column A numbers matched with Column B numbers that are assigned to Column C =column D?

This is my example
Column A are numbers
Column B are numbers
Column C are Names
The A column are numbers associated with a item sold to one place. Column B is the items sold and C is the person who sold them. I would like column D to show the item sold to this one place and who sold it. Let me know if that makes sense.
PS: Column A has 1304 rows. Column B and C have 6154 rows
It is hard to guess what your data looks like, so assuming your data looks as below:
Here is my solution, I think it is a simple VLOOKUP problem:
Paste this =IF(ISERROR(VLOOKUP(C2,$A$2:$A$4,1,FALSE)),"","SoldToPlaceA") to E2 and drag it down to copy.

Resources