Formula to return Pending and In Progress Courses

Sufiyan97

Well-known Member
Joined
Apr 12, 2019
Messages
1,585
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
I need a formula to return pending or in progress course name for each employee, below is a small example for what I want

Book3
ABCDEFGHI
1Courses
2NameA1A2A3A4A5A6A7
3ACompletedPendingCompletedIn ProgressCompletedPendingCompleted
4BCompletedCompletedCompletedCompletedCompletedCompletedCompleted
5CCompletedCompletedCompletedCompletedCompletedCompletedCompleted
6DCompletedCompletedCompletedCompletedCompletedCompletedCompleted
7EPendingCompletedIn ProgressCompletedCompletedCompletedPending
8FCompletedCompletedCompletedCompletedCompletedCompletedCompleted
9GCompletedCompletedCompletedCompletedCompletedCompletedCompleted
10HCompletedCompletedCompletedCompletedCompletedCompletedCompleted
11ICompletedCompletedCompletedCompletedCompletedCompletedCompleted
12JCompletedCompletedCompletedCompletedCompletedCompletedCompleted
13
14
15Expected Result (Pending and In Progress)
16
17Name
18AA2A4A6
19EA1A3A7
20
21
Sheet1
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
How about
Fluff.xlsm
ABCDEFGH
1Courses
2NameA1A2A3A4A5A6A7
3ACompletedPendingCompletedIn ProgressCompletedPendingCompleted
4BCompletedCompletedCompletedCompletedCompletedCompletedCompleted
5CCompletedCompletedCompletedCompletedCompletedCompletedCompleted
6DCompletedCompletedCompletedCompletedCompletedCompletedCompleted
7EPendingCompletedIn ProgressCompletedCompletedCompletedPending
8FCompletedCompletedCompletedCompletedCompletedCompletedCompleted
9GCompletedCompletedCompletedCompletedCompletedCompletedCompleted
10HCompletedCompletedCompletedCompletedCompletedCompletedCompleted
11ICompletedCompletedCompletedCompletedCompletedCompletedCompleted
12JCompletedCompletedCompletedCompletedCompletedCompletedCompleted
13
14
15Expected Result (Pending and In Progress)
16
17Name
18AA2A4A6
19EA1A3A7
Sheet6
Cell Formulas
RangeFormula
B18:D19B18=LET(f,FILTER($B$3:$H$12,$A$3:$A$12=A18),FILTER($B$2:$H$2,(f="pending")+(f="in progress")))
Dynamic array formulas.
 
Upvote 1
Hi Fluff,

Thank you very much, this works perfect.

If the data is like below, and I just want courses name and not certificate, can you please help on that

Book3
ABCDEFGHIJKL
1Courses
2NameA1CertificateA2CertificateA3CertificateA4A5A6A7
3ACompletedPendingPendingCompletedCompletedPendingIn ProgressCompletedPendingCompleted
4BCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
5CCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
6DCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
7EPendingCompletedCompletedIn ProgressIn ProgressCompletedCompletedCompletedCompletedPending
8FCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
9GCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
10HCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
11ICompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
12JCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompletedCompleted
13
14
15Expected Result (Pending and In Progress)
16
17Name
18AA2A4A6
19EA1A3A7
20
Sheet1
 
Upvote 0
How about
Excel Formula:
=LET(f,FILTER($B$3:$K$12,$A$3:$A$12=A18),FILTER($B$2:$K$2,((f="pending")+(f="in progress"))*($B$2:$K$2<>"Certificate")))
 
Upvote 0
Solution
That worked perfect, thank you very much Fluff! :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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