Flitering + logical tests

altuss

New Member
Joined
Feb 7, 2018
Messages
1
Dear all,

I have been doing the following problem:

I have a table
Name Trainingwelcomedaynight
markwelcome1
marktwo
markday 1
marksome
Polyakday 1
Polyaknight 1
Polyakone
Polyaktwo
avrilday 1
avrilnight 1

<colgroup><col span="5"></colgroup><tbody>
</tbody>

So in the main field whenever the training for a person matches one the three trainings names in the header row, it returns one.
I want to have only one row for a person, but so that all the trainings he/she did will be dispayed in the same row with 1 (and not having 3 rows with mark), like this:
Name Welcome Day Night
Mark 1 1
Polyak 1 1
Avril 1 1

Can somebody help me with the formulas needed for such an operation in excel?

I was thinking of doing something like while the name is still mark, check matching the header columns with trainings row, and return one if they match.

I would be very thankful!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,692
Messages
6,126,223
Members
449,303
Latest member
grantrob

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