ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   find the data of the corresponding column (https://www.excelbanter.com/new-users-excel/185878-find-data-corresponding-column.html)

liu

find the data of the corresponding column
 
Use the example below, "," is the delimiter between cells.
item1, content1, code1, 111
item2, content2, code2, 23
item3, content3, code3, 11
item1, content1, code1, 34
item4, content4, code4, 222
item2, content2, code2, 45
item4, content4, code4, 33

I've simplified the items to
item1
item2
item3
item4

I'd like to have Excel to pick up the data of the next column of the
same row (eg. item1 = content1). It's kind of sumproduct that matches
the data, but it just place the first text it finds instead of adding
up all occurance.

Thanks for the help,



Lars-Åke Aspelin[_2_]

find the data of the corresponding column
 
On Thu, 1 May 2008 12:34:58 -0700 (PDT), liu
wrote:

Use the example below, "," is the delimiter between cells.
item1, content1, code1, 111
item2, content2, code2, 23
item3, content3, code3, 11
item1, content1, code1, 34
item4, content4, code4, 222
item2, content2, code2, 45
item4, content4, code4, 33

I've simplified the items to
item1
item2
item3
item4

I'd like to have Excel to pick up the data of the next column of the
same row (eg. item1 = content1). It's kind of sumproduct that matches
the data, but it just place the first text it finds instead of adding
up all occurance.

Thanks for the help,


Have a look at the VLOOKUP function.
Use FALSE as the value for the range_lookup parameter.

Hope this helps / Lars-Åke

liu

find the data of the corresponding column
 

Have a look at the VLOOKUP function.
Use FALSE as the value for the range_lookup parameter.


Thank you so much for the pointer. That solves it.


All times are GMT +1. The time now is 11:14 PM.

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