Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I would like to the compare the in Column A and Column C. Display in Column D an the common data of A and C and Column E the associated value of Column A in Column B For example A B C 12 P1 23 23 p2 24 25 P3 12 Clomun D and E must have the following values D E 12 P1 23 P2 Can anyone help me |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Mon, 29 Dec 2008 01:10:01 -0800, Raj
wrote: Hi I would like to the compare the in Column A and Column C. Display in Column D an the common data of A and C and Column E the associated value of Column A in Column B For example A B C 12 P1 23 23 p2 24 25 P3 12 Clomun D and E must have the following values D E 12 P1 23 P2 Can anyone help me In D1 put the following formula: =SMALL(C$1:C$10*COUNTIF(A$1:A$10,C$1:C$10),ROW()+S UMPRODUCT(1-COUNTIF(A$1:A$10,C$1:C$10))) In E1 put the following formula =VLOOKUP(D1,A$1:B$10,2,FALSE) Copy D1:E1 down as far as needed. Change the $10 to fit the size of your data in columns A:C Hope this helps / Lars-Åke |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
compare data in two columns | Excel Worksheet Functions | |||
Compare data in two columns | Excel Worksheet Functions | |||
compare data from 2 columns | Excel Worksheet Functions | |||
Need to compare data in 2 columns and not sure how. | Charts and Charting in Excel | |||
Trying to compare data in two columns... | Excel Worksheet Functions |