SUMIf Formula

DCT01

New Member
Joined
Aug 22, 2006
Messages
11
I would like to write a formula that sums cells in column A if there is data in both column B and column C - please help.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,749
Assuming your data is from A1:C10

=Sum(if(B1:B10<>"",if(C1:C10<>"",A1:A10)))

confirm with CTRL+SHIFT+ENTER


*REVISED*
 

DCT01

New Member
Joined
Aug 22, 2006
Messages
11
Thank you - Aladin's formula worked. Patsys I could not get your to work.
 

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,749
It is an array formula that should give you results exactly just like that of Aladin's. Remember not just to press ENTER, you should press CTRL+SHIFT+ENTER.
 

Forum statistics

Threads
1,141,703
Messages
5,707,963
Members
421,538
Latest member
Krisco

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