How to fix formula returning "FALSE"

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
719
Office Version
  1. 2010
Platform
  1. Windows
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"

Could you fix formula please?



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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try
=IFERROR(IF(COUNTIF(A$2:A2,A2)=1,SUMPRODUCT(($A$2:$A$10=A2)*($C$2:$G$10)),0),"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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