Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Do help!! Sub calculate_average_SAT_score_for_school_type() first_row =3 last_row = Range(A1000).End(xIUp).Row For current_row = last_row To first_row Step -3 If Cells(current_row, 2).Value = PRIVATE Or Cells(current_row, 2).Value
Do help!!
Sub calculate_average_SAT_score_for_school_type() first_row =3 last_row = Range("A1000").End(xIUp).Row For current_row = last_row To first_row Step -3 If Cells(current_row, 2).Value = "PRIVATE" Or Cells(current_row, 2).Value = "PUBLIC" Then sum_sat_score = sum_sat_score + Cells(current_row, 4).Value End If Next End Sub 3,366 2,515 1,485 849 845 Sub calculate_average_SAT_score_for_school_type() first_row =3 last_row = Range("A1000").End(xIUp).Row For current_row = last_row To first_row Step -3 If Cells(current_row, 2).Value = "PRIVATE" Or Cells(current_row, 2).Value = "PUBLIC" Then sum_sat_score = sum_sat_score + Cells(current_row, 4).Value End If Next End Sub 3,366 2,515 1,485 849 845Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started