Sum non empty cells based on single value

Marvinexcel

New Member
Joined
Oct 14, 2016
Messages
16
Good day experts,

I am wondering if I can sum up non empty cells but it should add only single value for every group of inputs:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD="align: center"]Sum[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD="align: center"]9[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD="align: center"]4[/TD]
[/TR]
</tbody>[/TABLE]

Appreciate your help on this query.
Thank you so much.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I am wondering if I can sum up non empty cells but it should add only single value for every group of inputs:
Will the numbers in each cell of a group always all be equal to each other as your example shows?

What is the maximum value a number in a cell can be?
 
Upvote 0
Will the numbers in each cell of a group always all be equal to each other as your example shows?

What is the maximum value a number in a cell can be?

Yes Sir. The numbers in each cell of a group will always be equal to each other and there will be no maximum value.
 
Upvote 0
Yes Sir. The numbers in each cell of a group will always be equal to each other and there will be no maximum value.
Give this array-entered** formula a try...

=A1+SUM(IF(A1:I1="",B1:J1))

**Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself

Note that if your data range ends at a different column from your example's Column J, then change the "J" in "J1" to that column letter designation and the "I" in "I1" should change to the column letter designation for the preceding column.
 
Upvote 0
Give this array-entered** formula a try...

=A1+SUM(IF(A1:I1="",B1:J1))

**Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself

Note that if your data range ends at a different column from your example's Column J, then change the "J" in "J1" to that column letter designation and the "I" in "I1" should change to the column letter designation for the preceding column.


This solves it... thank you so much.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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