Crating a formula

Excelnovice13

New Member
Joined
Jun 9, 2024
Messages
5
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
I need help creating a formula that will add numbers on a column but will also if the result on that column says auto fail that the sum will be zero
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Welcome to the forum!

What do you mean by "auto fail"?
If you mean if it causes an error, try this:

If you want to sum A2:A10, put this is cell A11
Excel Formula:
=IFERROR(SUM(A2:A10)0)

otherwise, please give an example.
 
Upvote 0
Welcome to the forum!

What do you mean by "auto fail"?
If you mean if it causes an error, try this:

If you want to sum A2:A10, put this is cell A11
Excel Formula:
=IFERROR(SUM(A2:A10)0)

otherwise, please give an example.
Hi. So it’s a tool we’re using to audit the team
Each row has a question with a a point system . However some question the response can be autofail. For those responses that are auto fail I need the total to be zero
Example 1
Answer
Row 1. 5
Row2 2
Row 3 10
Total. 17

Example 2
Answer
Row 1. 5
Row 2. Auto fail
Row 3. 10

Total 0


Thanks
 
Upvote 0
try:

Book1
ABC
1QQ1Q2
2Ans155
3Ans22Auto Fail
4Ans31010
5170
Sheet6
Cell Formulas
RangeFormula
C3C3="Auto Fail"
B5:C5B5=IF(ISNUMBER(MATCH("Auto Fail",B$2:B$4,0)),0,SUM(B$2:B$4))
 
Upvote 0

Forum statistics

Threads
1,221,624
Messages
6,160,904
Members
451,675
Latest member
Assy Bissy

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