Highest value and total value

apgmin

Board Regular
Joined
Mar 1, 2010
Messages
143
Office Version
  1. 2013
Platform
  1. Windows
Hello All,
Can any one please help me with this.

Column J has the list of all students names

In Column B we have to select the students name as it is data validation, list of J1 to J1000
Column C ( course name ) is the V look up so it gets auto populated
column D we mention the semester number for which he has paid the fees ( Value 1-6 in numerical)

column I to N has the heading Sem 1, Sem 2 and so on till Sem 6
In these columns adjacent to the student name I should get the value from the amount column E
Like when I fill the student E the first time on 1st Jan and mention in sem column as 1 the sem 1 column shows 10 against e
then again when I fill the student E the second time on 3rd Aug and mention in sem column as 2 the sem 2 column shows 15 against e
So on when I fill the student E the next time on 5th sept and mention in sem column as 3 the sem 3 column shows 12 against e

datestudent nameCOURSE NAMEsemamountMASTER LISTCOURSE NAMEsem 1sem 2sem 3sem 4sem 5sem 6
01-JanaBA110aBA10
01-JanbMA120bMA10
01-JancMA120cMA1015
01-JandBA110dBA10
01-JaneBA110eBA101512
Jan-18fBA110fBA1015
01-JangBA110gBA1015
01-JanhMA110hMA10
03-AugcMA215
03-AugfBA215
03-AugeBA215
03-AuggBA215
05-SepeBA312
05-SepbMA215
05-SepdBA215

<tbody>
</tbody>
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi apgmin,

Assuming that your table is organised as follows:
- headers in row 1
- "date" to "amount" fields present in columns A-E
- "MASTER LIST" to "sem 6" fields present in column G-N

Then you can try using the following formula in cell I2 (drag it down & across to see the remaining values):
=SUMIFS($E:$E,$B:$B,$G2,$C:$C,$H2,$D:$D,RIGHT(I$1,1))

Please note that the final values are slightly different to what you presented in your post (e.g. results for student "b"), but I will let you revise it.
Let me know if that helps.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,246
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