Excel Formula - Identifying Learners

HollyC

New Member
Joined
Jan 20, 2017
Messages
6
A
B
C
1
Learner1
English
2
Learner1
Science
3
Learner1
Geography
4
Learner2
Science
5
Learner2
Geography
6
Learner2
History

<tbody>
</tbody>

I would like a formula that would put a yes by all the subjects a learner is taking if they are studying English as one of there subjects. i.e. learner1 is studying English so I would like a yes is C1,C2 and C3 but learner 2 is not studying English so I would like no in C4, C5 and C6.

I am really struggling with this one so any help would be massively appreciated :)
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Weazel

Well-known Member
Joined
Dec 24, 2011
Messages
3,155
maybe...

Excel 2016 (Windows) 32 bit
ABC
1Learner1Englishyes
2Learner1Scienceyes
3Learner1Geographyyes
4Learner2Scienceno
5Learner2Geographyno
6Learner2Historyno

<tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
C1=IF(COUNTIFS($A$1:$A$6,A1,$B$1:$B$6,"english"),"yes","no")

<tbody>
</tbody>

<tbody>
</tbody>
 

HollyC

New Member
Joined
Jan 20, 2017
Messages
6
Perfect, thank you ever so much and so simple too :) You my new favourite person :)
 

Watch MrExcel Video

Forum statistics

Threads
1,123,088
Messages
5,599,664
Members
414,325
Latest member
kfg1287

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
Top