Total of marks with the specific conditions

nskatoch

Board Regular
Joined
Dec 30, 2013
Messages
63
Office Version
  1. 365
Platform
  1. Windows
R.No.NAME OF STUDENTENGLISHHINDIPUNJABIMATHS.SCIENCES.SCI.GERMANSKILLTotal
Maximum Marks: -100100100100100100100100
1ARYAN4556663278444342
2BALLU5045654512554240
3CRAYAN676763664534144
4DOLLY3378647767788081
5ELISHA7879618864635590
6FLOWER4692629845446088
7GAUTAM9050608750894857
8HAPPY55676576765660
68​

In the above table, I want the formula for TOTAL, which fulfill the following conditions: -
  • The pass criteria is 33 marks.
  • If the marks of Maths or Science or S. Sci. Less than 33 and the marks of Skill is more than 33, then marks of Maths/Science/S.Sci replaced by skill subject. (e.g. Maths-23, Science-45, SSci-56 and Skill-78 then Skill replaced the Maths.)
  • If the marks of Hindi or Punjabi less than 33 and German has more then 33 marks then marks of Punjabi/Hindi replaced by German. (e.g. Hindi-32, Punjabi-80, German-47 then German replaced the Hindi)
 

Attachments

  • Table.png
    Table.png
    47.7 KB · Views: 20
I seem to have misunderstood your query. Try:

Book1
ABCDEFGHIJK
1
2R.No.NAME OF STUDENTENGLISHHINDIPUNJABIMATHS.SCIENCES.SCI.GERMANSKILLTotal
3Maximum Marks: -100100100100100100100100100
41ARYAN4556663278444342331
52BALLU5045654512554240300
63CRAYAN676763664534144352
74DOLLY3378647767788081397
85ELISHA7879618864635590433
96FLOWER4692629845446088387
107GAUTAM9050608750894857426
118HAPPY5567172525566011288
Sheet8
Cell Formulas
RangeFormula
K4:K11K4=SUM(C4:H4)+IF(AND(MIN(D4:E4)<33,I4>=33),I4-MIN(D4:E4))+IF(AND(MIN(F4:H4)<33,J4>=33),J4-MIN(F4:H4))
Thanks.
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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