It has been a while since I posted.
I have a formula that references some values in a range. The range is static and the values are constant.
The formula is in cell E3.
I would like to remove the values from the range and hard code them into the formula so that I don't have to have the values visible in my data set.
Here is the formula, entered via CSE:
=IF(AND(F3:F6=0),"N/A",SUM(IF(D3:D6="N/A",0,D3:D6)*(C3:C6))/(100-SUM((D3:D6="N/A")*(C3:C6))))
The values are currently stored in the range C3:C6.
The values in vertical order are:
30
15
5
50
I tried to update the formula to the following (entered via CSE) but it does not give me the expected value.
=IF(AND(F3:F6=0),"N/A",SUM(IF(D3:D6="N/A",0,D3:D6)*{30,15,5,50})/(100-SUM((D3:D6="N/A")*{30,15,5,50})))
I have used similar formulas before and they work fine. I do not know why it does not want to calculate correctly.
Any pointers, ideas, thoughts, etc., are greatly appreciated.
-Spydey
I have a formula that references some values in a range. The range is static and the values are constant.
The formula is in cell E3.
I would like to remove the values from the range and hard code them into the formula so that I don't have to have the values visible in my data set.
Here is the formula, entered via CSE:
=IF(AND(F3:F6=0),"N/A",SUM(IF(D3:D6="N/A",0,D3:D6)*(C3:C6))/(100-SUM((D3:D6="N/A")*(C3:C6))))
The values are currently stored in the range C3:C6.
The values in vertical order are:
30
15
5
50
I tried to update the formula to the following (entered via CSE) but it does not give me the expected value.
=IF(AND(F3:F6=0),"N/A",SUM(IF(D3:D6="N/A",0,D3:D6)*{30,15,5,50})/(100-SUM((D3:D6="N/A")*{30,15,5,50})))
I have used similar formulas before and they work fine. I do not know why it does not want to calculate correctly.
Any pointers, ideas, thoughts, etc., are greatly appreciated.
-Spydey