Nested if formula not working as intended

Reibie

New Member
Joined
Sep 11, 2013
Messages
2
Hi People

I desperately require help on a formula that I have created.

The purpose of the formula is to find the biggest % of three tests, when the highest average has been found, the formula must then calculate the overall term average, weighting the highest average the most and the other two tests the least. All the tests and a practical average must = 100%


This is how my cells are structured
Class Test (40) 31/07/13Class Test %Class Test (40) 29/08/13Class Test %Class Test (35) 09/09/13Class Test %Physics Prac: Electricity (60) 27/05/13Physics Prac: Electricity %Term Calculated 100 %
2571307533945083 #VALUE!

<tbody>
</tbody>

This is the formula i currently have:

=IF(AND(D2>F2,D2>H2),((D2*0.3)+(F2*0.15)+(H2*0.15)+(J2*0.4))),IF(AND(F2>D2,F2>H2),((F2*0.3)+(D2*0.15)+(H2*0.15)+(J2*0.4))),IF(AND(H2>D2,H2>F2),((H2*0.3)+(F2*0.15)+(D2*0.15)+(J2*0.4)),0)

This returns a #value error.

Any assistance will be welcomed

Thanks
DK
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Not 100% sure in what you're asking but does this work

=IF(AND(D2>F2,D2>H2),((D2*0.3)+(F2*0.15)+(H2*0.15)+(J2*0.4)),IF(AND(F2>D2,F2>H2),((F2*0.3)+(D2*0.15)+(H2*0.15)+(J2*0.4)),IF(AND(H2>D2,H2>F2),((H2*0.3)+(F2*0.15)+(D2*0.15)+(J2*0.4)),0)))
 
Upvote 0

Forum statistics

Threads
1,216,176
Messages
6,129,314
Members
449,501
Latest member
Amriddin

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