index and match failed

Jongnj87

New Member
Joined
Oct 16, 2020
Messages
32
Office Version
  1. 365
Platform
  1. Windows
Hello good day all,

I would like to enquiry on index and match formula which I use on my data failed. I been looking on video but still unable to get the correct formula. I have a data and a sheet for return.

ABCDEFG
1IDNameGenderResultGradeSubjectRemarks
2T001CandyFemale58%Just PassEnglish
3T002FionaFemale76%PassEnglish
4T003JeffMale38%FailEnglish
5T004JohnMale93%PassEnglish
6T005MattMale69%Just PassEnglish

On the other tab(Sheet), I need to have the return to submit to my supervisor

ABCDE
1IDNameGenderResult
2
3
4

Cell A2 =INDEX('Full Namelist'!,1,MATCH("Just Pass",'Full Namelist'!$E$1:$E$6,0))
Cell B2 =Vlookup(A2, 'Full Namelist'!$A$2:$G$6, 1, False)

I tried to drag down cell A2 to A4 it came out all same ID.

Anyone please guide me on this.

Thank You.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Try

you need to type ID number manually on another sheet

Full Namelist
Book1
ABCDEFGH
1ABCDEFG
21IDNameGenderResultGradeSubjectRemarks
32T001CandyFemale58%Just PassEnglish
43T002FionaFemale76%PassEnglish
54T003JeffMale38%FailEnglish
65T004JohnMale93%PassEnglish
76T005MattMale69%Just PassEnglish
8T006RockMale70%PassEnglish
9
Full Namelist



Summary

Book1
ABCDEFGHI
1ABCDE
21IDNameGenderResultGradeSubjectRemarks
32T001CandyFemale58%Just PassEnglish0
43T002FionaFemale76%PassEnglish0
54T003JeffMale38%FailEnglish0
65T004JohnMale93%PassEnglish0
76T005MattMale69%Just PassEnglish0
8T006RockMale70%PassEnglish0
9
10
Summary
Cell Formulas
RangeFormula
C3:C8C3=INDEX('Full Namelist'!C:C,MATCH(B3,'Full Namelist'!B:B,0),)
D3:D8D3=INDEX('Full Namelist'!D:D,MATCH(B3,'Full Namelist'!B:B,0),)
E3:E8E3=INDEX('Full Namelist'!E:E,MATCH(B3,'Full Namelist'!B:B,0),)
F3:F8F3=INDEX('Full Namelist'!F:F,MATCH(B3,'Full Namelist'!B:B,0),)
G3:G8G3=INDEX('Full Namelist'!G:G,MATCH(B3,'Full Namelist'!B:B,0),)
H3:H8H3=INDEX('Full Namelist'!H:H,MATCH(B3,'Full Namelist'!B:B,0),)
 
Upvote 0
Try

you need to type ID number manually on another sheet

Full Namelist
Book1
ABCDEFGH
1ABCDEFG
21IDNameGenderResultGradeSubjectRemarks
32T001CandyFemale58%Just PassEnglish
43T002FionaFemale76%PassEnglish
54T003JeffMale38%FailEnglish
65T004JohnMale93%PassEnglish
76T005MattMale69%Just PassEnglish
8T006RockMale70%PassEnglish
9
Full Namelist



Summary

Book1
ABCDEFGHI
1ABCDE
21IDNameGenderResultGradeSubjectRemarks
32T001CandyFemale58%Just PassEnglish0
43T002FionaFemale76%PassEnglish0
54T003JeffMale38%FailEnglish0
65T004JohnMale93%PassEnglish0
76T005MattMale69%Just PassEnglish0
8T006RockMale70%PassEnglish0
9
10
Summary
Cell Formulas
RangeFormula
C3:C8C3=INDEX('Full Namelist'!C:C,MATCH(B3,'Full Namelist'!B:B,0),)
D3:D8D3=INDEX('Full Namelist'!D:D,MATCH(B3,'Full Namelist'!B:B,0),)
E3:E8E3=INDEX('Full Namelist'!E:E,MATCH(B3,'Full Namelist'!B:B,0),)
F3:F8F3=INDEX('Full Namelist'!F:F,MATCH(B3,'Full Namelist'!B:B,0),)
G3:G8G3=INDEX('Full Namelist'!G:G,MATCH(B3,'Full Namelist'!B:B,0),)
H3:H8H3=INDEX('Full Namelist'!H:H,MATCH(B3,'Full Namelist'!B:B,0),)
Hello, thanks.

The issue is not all my staff know how to do filter and do it manually.

That why, for that sheet it just the "Just Pass" base on that it will auto come out the ID easy for my staff.

Other tabs will have it own "Pass" or "Fail". By doing so it will be easy for my staff to use.
 
Upvote 0
Are you saying you only want to see the records in which Column E contains the value "Just Pass?"
 
Upvote 0
Are you saying you only want to see the records in which Column E contains the value "Just Pass?"
Hi Sir,

Yes.

Which mean in other tab/Sheet, I want to find the ID of the student in Column A base on the record in Data Column E.

With that the
 
Upvote 0
Like this?

Jongnj87.xlsm
ABCDEFG
1IDNameGenderResultGradeSubjectRemarks
2T001CandyFemale58%Just PassEnglish
3T002FionaFemale76%PassEnglish
4T003JeffMale38%FailEnglish
5T004JohnMale93%PassEnglish
6T005MattMale69%Just PassEnglish
7
Full Namelist


(No need to copy/drag this formula anywhere)

Jongnj87.xlsm
ABCD
1IDNameGenderResult
2T001CandyFemale58%
3T005MattMale69%
4
Sheet2
Cell Formulas
RangeFormula
A2:D3A2=FILTER('Full Namelist'!A2:D100,'Full Namelist'!E2:E100="Just Pass","")
Dynamic array formulas.
 
Upvote 0
Like this?

Jongnj87.xlsm
ABCDEFG
1IDNameGenderResultGradeSubjectRemarks
2T001CandyFemale58%Just PassEnglish
3T002FionaFemale76%PassEnglish
4T003JeffMale38%FailEnglish
5T004JohnMale93%PassEnglish
6T005MattMale69%Just PassEnglish
7
Full Namelist


(No need to copy/drag this formula anywhere)

Jongnj87.xlsm
ABCD
1IDNameGenderResult
2T001CandyFemale58%
3T005MattMale69%
4
Sheet2
Cell Formulas
RangeFormula
A2:D3A2=FILTER('Full Namelist'!A2:D100,'Full Namelist'!E2:E100="Just Pass","")
Dynamic array formulas.
Hello Sir,

Thank you so much. I learn extra formula today.
 
Upvote 0
You are welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,921
Messages
6,122,280
Members
449,075
Latest member
staticfluids

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