# How to fix formula returning "FALSE"

#### Sean15

##### Well-known Member
Hi:

In column I, for example, All values for "Alice" needs to be summed or grouped together to the first occurring "Alice". All duplicates of "Alice" need to show 0 but formula is returning "FALSE"

Excel 2010
ABCDEFGHIJ
1CustomerOctNovDecJanFebTotal
2Alice--3,234.00-2,464.007,289.00
3Alice--999.00-592.00FALSErequired value 0
4Tom---577.50577.508,150.00
5Tom-1,925.001,925.001,665.001,480.00FALSErequired value 0
6Ryan----1,925.001,925.00
7Courtyard----740.00740.00
8Double----96.25540.25
9Double----444.00FALSErequired value 0
10Face---11,550.00-11,550.00
11
Bytemark pass type & sales (2)
Cell Formulas
RangeFormula
I2=IFERROR(IF(COUNTIF(A\$2:A2,A2)=1,SUMPRODUCT((\$A\$2:\$A\$10=A2)*(\$C\$2:\$G\$10))),"")
I3=IFERROR(IF(COUNTIF(A\$2:A3,A3)=1,SUMPRODUCT((\$A\$2:\$A\$10=A3)*(\$C\$2:\$G\$10))),"")
I4=IFERROR(IF(COUNTIF(A\$2:A4,A4)=1,SUMPRODUCT((\$A\$2:\$A\$10=A4)*(\$C\$2:\$G\$10))),"")
I5=IFERROR(IF(COUNTIF(A\$2:A5,A5)=1,SUMPRODUCT((\$A\$2:\$A\$10=A5)*(\$C\$2:\$G\$10))),"")
I6=IFERROR(IF(COUNTIF(A\$2:A6,A6)=1,SUMPRODUCT((\$A\$2:\$A\$10=A6)*(\$C\$2:\$G\$10))),"")
I7=IFERROR(IF(COUNTIF(A\$2:A7,A7)=1,SUMPRODUCT((\$A\$2:\$A\$10=A7)*(\$C\$2:\$G\$10))),"")
I8=IFERROR(IF(COUNTIF(A\$2:A8,A8)=1,SUMPRODUCT((\$A\$2:\$A\$10=A8)*(\$C\$2:\$G\$10))),"")
I9=IFERROR(IF(COUNTIF(A\$2:A9,A9)=1,SUMPRODUCT((\$A\$2:\$A\$10=A9)*(\$C\$2:\$G\$10))),"")
I10=IFERROR(IF(COUNTIF(A\$2:A10,A10)=1,SUMPRODUCT((\$A\$2:\$A\$10=A10)*(\$C\$2:\$G\$10))),"")

Thanks

Regards,
Sean

### Excel Facts

To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

#### Fluff

##### MrExcel MVP, Moderator
Try
=IFERROR(IF(COUNTIF(A\$2:A2,A2)=1,SUMPRODUCT((\$A\$2:\$A\$10=A2)*(\$C\$2:\$G\$10)),0),"")

#### Sean15

##### Well-known Member
Excellent. Thank you.

Regards,

Sean

#### Fluff

##### MrExcel MVP, Moderator
You're welcome & thanks for the feedback

Replies
2
Views
74
Replies
7
Views
56
Replies
6
Views
178
Replies
0
Views
55
Replies
9
Views
59

1,171,144
Messages
5,874,034
Members
433,017
Latest member
inxcndd

### 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.

### Which adblocker are you using?

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

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