Compare and summarize two columns

JARichard74

Board Regular
Joined
Dec 16, 2019
Messages
114
Office Version
  1. 365
Platform
  1. Windows
Column A contains an alphanumeric project number e.g., AA23SLGA and there are 30 different projects in column A. Column B has a corresponding language i.e. the cell could say English or Français. Let's say A2:A50 are all for the same project AA23SLGA and K2:K50 have a corresponding language.

I would like to summarize the findings as follows: For each project # check the corresponding language so that if all of them are English then = English; if all are Français then = Français; if language is mixed i.e. some English and some Français then = Bilingual. After checking all the projects, I would get something like

AA23SLGA - English
AA23SLGB - English
AA23SLGR - Français
AA23SLGW - Bilingual
etc...
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try:
Book1
ABCDE
1Summary
2AA23SLGAEnglishAA23SLGAEnglish
3AA23SLGAEnglishAA23SLGBEnglish
4AA23SLGRFrançaisAA23SLGRFrancais
5AA23SLGAEnglishAA23SLGWBilingual
6AA23SLGRFrançais
7AA23SLGBEnglish
8AA23SLGWEnglish
9AA23SLGRFrançais
10AA23SLGBEnglish
11AA23SLGRFrançais
12AA23SLGWFrançais
13AA23SLGWFrançais
Sheet3
Cell Formulas
RangeFormula
D2:D5D2=SORT(UNIQUE(A2:A13))
E2:E5E2=IF(COUNTIFS($A$2:$A$13,D2,$B$2:$B$13,"English")=0,"Francais",IF(COUNTIFS($A$2:$A$13,D2,$B$2:$B$13,"Français")=0,"English","Bilingual"))
Dynamic array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top