IF formula help

gudzxo

New Member
Joined
Dec 2, 2016
Messages
6
In this fictitious cross-listed course, there are undergraduate and graduate students. Bonus marks areawarded, based on attendance of course seminars. An undergraduate student get a bonus of five (5)marks if he/she attended Seminar 1 or Seminar 2 (or both). However, a graduate student only gets abonus of five (5) marks if she/he attended both Seminar 1 and Seminar 2. Otherwise, zero (0) bonusmarks are given to that student. Calculate the bonus marks for each student listed.


^how can i make ONE IF formula by combining all this info
 
StatusSeminar 1Seminar 2Bonus
gradpresentabsent
gradpresentpresent
ugradabsentabsent
ugradpresentpresent
ugradpresentabsent
ugradpresentpresent
gradabsentabsent
ugradpresentabsent
ugradabsentpresent
ugradabsentabsent

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Thank you, that makes things much easier to understand.

A​
B​
C​
D​
1​
StatusSeminar 1Seminar 2Bonus
2​
gradpresentabsent0
3​
gradpresentpresent5
4​
ugradabsentabsent5
5​
ugradpresentpresent5
6​
ugradpresentabsent5
7​
ugradpresentpresent5
8​
gradabsentabsent0
9​
ugradpresentabsent5
10​
ugradabsentpresent5
11​
ugradabsentabsent5
D2=IF(A2="Grad",IF(COUNTIF(B2:C2,"present")<2,0,5),IF(COUNTIF(B2:C2,"present")>0,5,5))
copied down
 
Upvote 0
Formula adjusted so you can copy it down past your last row of data...
=IF(A2="","",IF(A2="Grad",IF(COUNTIF(B2:C2,"present")<2,0,5),IF(COUNTIF(B2:C2,"present")>0,5,5)))
 
Upvote 0

Forum statistics

Threads
1,216,030
Messages
6,128,405
Members
449,448
Latest member
Andrew Slatter

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