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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,215,227
Messages
6,123,745
Members
449,116
Latest member
alexlomt

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