Creating a Student's Report

Sumaia

New Member
Joined
Mar 25, 2013
Messages
3
Hi Everybody,

I am working on student's marksheets and my excel spreadsheet is divided into two spread sheets. The first one contains a list of students and their marks and in the second one I'd like to create a report which will give me a summary of student's results and other details like college, group and level. By filling in his/her name in the name cell, I want all his/her details to appear in the report. What is the suitable function for such a case?

Looking forward to hearing from you.

Sumaia
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi Sumaia and welcome to MrExcel.

The following is an example of Vlookup which VoG refers to......

Excel Workbook
ABCDEFG
1ID NumberNameAmountAnimalTransportDate
2AA10000Bart Simpson368catBike01/01/2011
3AA10001Lisa Simpson277dogHelicopter02/01/2011
4AA10002Grandpa Simpson474HorseBus03/01/2011
5AA10003Marge Simpson217fishTram01/01/2011
6AA10004Santas Little Helper Simpson330fishHelicopter05/01/2011
7AA10005Maggie Simpson346catPlane01/01/2011
8AA10006Milhouse Van Houten472PandaTut Tut07/01/2011
9AA10007Ned Flanders343TigerCoach08/01/2011
10AA10008Otto Mann300LionCarriage09/01/2011
11AA10009Rod Flanders343TigerBus10/01/2011
12AA10010Moe Szyslak147dogCar01/01/2011
13AA10011Homer Simpson455fishTut Tut09/01/2011
14AA10012Tod Flanders143Liontrike02/01/2011
15AA10013Fat Tony176BullBike03/01/2011
16AA10014Barney Gumble485cowHelicopter04/01/2011
17
18
19ID NumberNameAmountAnimalTransportDate
20AA10011Homer Simpson455fishTut Tut09/01/2011
21
22AA10005Maggie Simpson346catPlane01/01/2011
23
Sheet20


The results in the lower table A19:F22 can be on your second sheet.

The formula(s) on the first row (20) is looking up the name (Yellow) in B20.
The formula in C20 needs to be copied across.
The formula in A20 is used as Vlookup looks from Left to Right, where Index/Match can look both ways.

The formula in B22 is looking up the ID number (Blue) in A22, this can formula can be copied across.

I hope this helps to explain Vlookup to you, IF, you decided that you wanted to lookup a value that returns Multiple answers, then Vlookup will NOT do this for you, a rather complicated formula will be required.

You may want to take a look here.....

excelisfun -- Excel How To Videos - YouTube

Mike has the most amazing videos on Excel from Beginner level to Advanced.

Good luck with your project.

Ak
 
Upvote 0
Thank you very much Akashwani. Your reply is really useful and informative. Grateful to you.
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,652
Members
448,975
Latest member
sweeberry

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