ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Comparison of data in two separate colunms (https://www.excelbanter.com/excel-discussion-misc-queries/115353-comparison-data-two-separate-colunms.html)

thaenn

Comparison of data in two separate colunms
 
In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!

gchigo

Comparison of data in two separate colunms
 
use pivot table. add materials to row and weight to data and do a sum
function on the data.

"thaenn" wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


gchigo

Comparison of data in two separate colunms
 
do a pivot. put materials in row and weight in data field and do sum on data.

"thaenn" wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


Dave Peterson

Comparison of data in two separate colunms
 
For any one particular item (say Item1):
=sumif(aw:aw,"item1",ax:ax)

If you have lots of these items, you may want to look at data|pivottables.





thaenn wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


--

Dave Peterson

thaenn

Comparison of data in two separate colunms
 
Thanks, I will give it a try!

"gchigo" wrote:

use pivot table. add materials to row and weight to data and do a sum
function on the data.

"thaenn" wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


thaenn

Comparison of data in two separate colunms
 
I will try your suggestion, Thank you!

"Dave Peterson" wrote:

For any one particular item (say Item1):
=sumif(aw:aw,"item1",ax:ax)

If you have lots of these items, you may want to look at data|pivottables.





thaenn wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


--

Dave Peterson


thaenn

Comparison of data in two separate colunms
 
That was the answer, Thanks Dave!

"Dave Peterson" wrote:

For any one particular item (say Item1):
=sumif(aw:aw,"item1",ax:ax)

If you have lots of these items, you may want to look at data|pivottables.





thaenn wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


--

Dave Peterson


Dave Peterson

Comparison of data in two separate colunms
 
One more way.

Sort your data by column AW.
Then apply data|subtotals and subtotal using sum the values in column AX--based
on the key in column AW.

You can use the outlining symbols to the left to hide/show the details.

thaenn wrote:

That was the answer, Thanks Dave!

"Dave Peterson" wrote:

For any one particular item (say Item1):
=sumif(aw:aw,"item1",ax:ax)

If you have lots of these items, you may want to look at data|pivottables.





thaenn wrote:

In "Column AW" I have a list of material items (there are some that are the
same), and in "Column AX" I have the weight associated with each item.

My question is: How can I look up all "like items" in column AW and get a
total of the combined weight (for these like items)?

Thanks!


--

Dave Peterson


--

Dave Peterson


All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com