-1

I have a raw data here.

A B C D E F
Name Score Complexity Points Total with Points Total without Points
Tom 5 3 0.25 105.00% 100.00%
Brenda 5 4 0.5 110.00% 100.00%
Mark 5 #VALUE! 100.00%
L M
Complexity Points
5 1
4 0.5
3 0.25
2 0.15
1 0.05

Column B = Score - Dynamic coming from users

Column C = Complexity (from users) and Column D = Points have fixed table. In the image below, user puts blank/no Complexity.

Image 1 img1

Column D = Points

Formula:
=IFERROR(VLOOKUP(C2,L1:M6,2,FALSE),"-")

Column E: Total with Points is based on sum of Score (B) and Points (D) divided by 5 (highest complexity of table). The column's format is in Percentage.

Formula:
=(B2+D2)/5

Column F: Total without Points is based on Score (B) divided by 5 (highest complexity). The column's format is in Percentage.

Formula:
=B2/5

All formulas above are applied to each respective columns. Now, I am getting 100.00% for Cell F4 because of the formula applied for Column F. See Image 1.

How to put formula for this column that will also show an error value if its left cell has an error value but will still give the result for all other cells with values using (=B2/5).

Desired:

Image 2

Img2

3
  • Do you really want #VALUE! errors showing or is the real requirement not to display values in columns E and F unless both B and C contain valid entries? Commented Mar 22 at 12:25
  • @DMM preferred #VALUE! because I want all cells filled so I can get the average of the column by putting this formula in a cell let's say cell G1: =AVERAGE(IF(ISERROR(F2:F70),"",F2:F70)) Commented Mar 22 at 15:24
  • @Black cat, thanks for editing. I don't know how to put tables like that. Commented Mar 22 at 15:24

1 Answer 1

2

Use IF() function with ISERROR(). Try-

=IF(ISERROR(E2),"",B2/5)

If you need error values as result then could try-

=IF(ISERROR(E2),B2/E2,B2/5)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.