Solution Appreciated

redfishNtrout

New Member
Joined
Aug 29, 2019
Messages
3
Extremely large data set that will include the following information. Is there a simple method (formula) to provide the following summation (for a large data set,A1:A200, etc.)?


TRUE43
FALSE
TRUE22
FALSE6
TRUE23
FALSE
TRUE41
<colgroup><col width="99" style="width: 74pt; mso-width-source: userset; mso-width-alt: 3620;"> <col width="64" style="width: 48pt;" span="2"> <tbody> </tbody>


=IF(A1=TRUE,B1*C1)+IF(A2=TRUE,B2*C2)+... is not a plausible solution. Thanks.

 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi & welcome to MrExcel.
How about
=SUMPRODUCT(A1:A7*B1:B7*C1:C7)
 
Upvote 0
Thanks and I should apologize. I did not fully explain mydilemma. Given the following:



A

B

C

D

E

F

1

TRUE

FALSE

FALSE

FALSE

2

2

2

FALSE

FALSE

TRUE

FALSE

1

3

3

FALSE

TRUE

FALSE

FALSE

2

4

4

FALSE

FALSE

TRUE

FALSE

1

5

5

FALSE

FALSE

FALSE

TRUE

2

4

6

FALSE

TRUE

FALSE

FALSE

3

2

7

FALSE

TRUE

FALSE

FALSE

1

4

8

FALSE

FALSE

TRUE

FALSE

2

2

9

FALSE

TRUE

FALSE

FALSE

2

1

10

TRUE

FALSE

FALSE

FALSE

2

5

<tbody>
</tbody>


I want to sum of E*F for all TRUE cell entries in column A(= 14). Similar solutions for columns B,C, D, and E. Data set includes approx..40 columns and 700 rows. Thanks.
 
Upvote 0
I failed to provide enough information. Given the table below, what is an economical way to calculate, when a true is present in a column, the sum of all E*F's for that column (for column A the solution would be 14). Additional solutions for B, C, .. The actual table I am working with is extremely large. Thanks.

zHoWJz36JLL5dxfBQAANsOmgSnCoiH60Y9 WwnSz5QaAAAYAcMBAAAjYDgAAGAAkf8Hlwt2EhAaiQUAAAAASUVORK5CYII=
 
Upvote 0
In that case use
=SUMPRODUCT(A1:A10*$E$1:$E$10*$F$1:$F$10)
and drag to the right
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,794
Members
449,048
Latest member
greyangel23

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