Touff_One_Not able to find suitable formula

chandrajitshahkumar

New Member
Joined
Jul 16, 2016
Messages
7
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Name[/TD]
[TD="align: center"]Test Type[/TD]
[TD="align: center"]Marks[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Priyanka[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Unit Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]91[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Prakash[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Unit Test[/TD]
[TD="align: center"]85[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Rani[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Unit Test[/TD]
[TD="align: center"]75[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]bablu[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Unit Test[/TD]
[TD="align: center"]65[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Rajesh[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Unit Test[/TD]
[TD="align: center"]86[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Manish[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Unit Test[/TD]
[TD="align: center"]69[/TD]
[/TR]
[TR]
[TD]Priyanka[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Mid Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]82[/TD]
[/TR]
[TR]
[TD]Prakash[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Mid Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]75[/TD]
[/TR]
[TR]
[TD]Rani[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Mid Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]64[/TD]
[/TR]
[TR]
[TD]bablu[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Mid Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]59[/TD]
[/TR]
[TR]
[TD]Rajesh[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Mid Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]66[/TD]
[/TR]
[TR]
[TD]Manish[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Mid Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]92[/TD]
[/TR]
[TR]
[TD]Priyanka[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Final Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]82[/TD]
[/TR]
[TR]
[TD]Prakash[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Final Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]83[/TD]
[/TR]
[TR]
[TD]Rani[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Final Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]81[/TD]
[/TR]
[TR]
[TD]bablu[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Final Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]78[/TD]
[/TR]
[TR]
[TD]Rajesh[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Final Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]79[/TD]
[/TR]
[TR]
[TD]Manish[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Final Test[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]90[/TD]
[/TR]
</tbody>[/TABLE]

Use one formula which will fill up the box according to the above table in which test type, marks and student name is mentioned.
Marks should be appropriate according to the student name and test type

[TABLE="class: outer_border, width: 500, align: center"]
<tbody>[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]Unit Test[/TD]
[TD="align: center"]Mid Test[/TD]
[TD="align: center"]Final Test[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Priyanka[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Prakash[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Rani[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]bablu[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Rajesh[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]Manish[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Assuming that your test data starts in A2 and your results table is in E1:H7, put this into the first cell of your results table (F2) and copy down and across:

=SUMIFS($C$2:$C$19,$A$2:$A$19,$E2,$B$2:$B$19,F$1)
 
Last edited:
Upvote 0
Try this and pull down. With you data in columns A, B, C

I numbered the Marks 1 to 18 for easy test viewing.

Howard



Excel 2012
GHIJ
1Unit TestMid TestFinal Test
2Priyanka1713
Sheet4
Cell Formulas
RangeFormula
H2=SUMPRODUCT(($A$2:$A$19=$G2)*($B$2:$B$19=H$1)*($C$2:$C$19))
I2=SUMPRODUCT(($A$2:$A$19=$G2)*($B$2:$B$19=I$1)*($C$2:$C$19))
J2=SUMPRODUCT(($A$2:$A$19=$G2)*($B$2:$B$19=J$1)*($C$2:$C$19))
 
Last edited:
Upvote 0
No, that is not the way it works. Please continue here, explaining what is wrong with the solutions offered. Is it that your dataset is different to the sample?
 
Upvote 0
After hundred times trying finally i got it.. Solution will contain IF function and Vlookup as well.. Actually the solution you have offered is not correct as i am not able to explain it to you so please try it in your excel sheet then you will able to find the errors which i got
 
Upvote 0
I created the solution in my spreadsheet with your data, and it works perfectly. I am sorry that you were not able to make it work properly, but you must have made an error yourself.
 
Upvote 0
The solutions that they offered give the desired results indicated.
Can you post an example of data and desired results for which the proffered formulas don't work and explain the logic behind the desired results.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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