Lookup value and present as number

datastudent

New Member
Joined
Sep 7, 2021
Messages
49
Office Version
  1. 365
Platform
  1. Windows
Hi,

I want to see if my ID has finished the program FSAP, SSAP or JSAP but I want to show it as 1 if complete and 0 or blank if not completed. Hope somebody can help me :)

Table 1 shows how I want the result to look like in column B:D, while table 2 is my basis if the ID has completed the program.
Incumbent Dashboard 2023.xlsx
ABCDEFG
1IDFSAPSSAPJSAPIDProgram
21234111234FSAP
35678115678FSAP
4901219012FSAP
5135611356JSAP
6802418024JSAP
71234SSAP
85678SSAP
Sheet1
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
how about
=IF(COUNTIFS($F$2:$F$8,$A2,$G$2:$G$8,B$1)=0,"",1)

Book6
ABCDEFG
1IDFSAPSSAPJSAPIDProgram
2123411 1234FSAP
3567811 5678FSAP
490121  9012FSAP
51356  11356JSAP
68024  18024JSAP
71234SSAP
85678SSAP
Sheet1
Cell Formulas
RangeFormula
B2:D6B2=IF(COUNTIFS($F$2:$F$8,$A2,$G$2:$G$8,B$1)=0,"",1)
 
Upvote 2
Solution
how about
=IF(COUNTIFS($F$2:$F$8,$A2,$G$2:$G$8,B$1)=0,"",1)

Book6
ABCDEFG
1IDFSAPSSAPJSAPIDProgram
2123411 1234FSAP
3567811 5678FSAP
490121  9012FSAP
51356  11356JSAP
68024  18024JSAP
71234SSAP
85678SSAP
Sheet1
Cell Formulas
RangeFormula
B2:D6B2=IF(COUNTIFS($F$2:$F$8,$A2,$G$2:$G$8,B$1)=0,"",1)
It works. Thanks a lot!
 
Upvote 0

Forum statistics

Threads
1,216,172
Messages
6,129,291
Members
449,498
Latest member
Lee_ray

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