How to fix formula returning "FALSE"

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
639
Office Version
  1. 2019
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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
74,737
Office Version
  1. 365
Platform
  1. Windows
Try
=IFERROR(IF(COUNTIF(A$2:A2,A2)=1,SUMPRODUCT(($A$2:$A$10=A2)*($C$2:$G$10)),0),"")
 

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
639
Office Version
  1. 2019
Platform
  1. Windows
Excellent. Thank you.

Regards,

Sean
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
74,737
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,014
Messages
5,856,831
Members
431,836
Latest member
jj0911

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
Top