Sum Entire column or row except few cells in that column or row

mabubakerali

New Member
Joined
Feb 23, 2016
Messages
29
Hi everyone, i would like to sum entire "c" column but values are starting from "c5" and values in "c1 to c4" are irrelevant, is there any way to do that?
And same for rows, i want to sum entire row no. 6 but values are starting from "d6" and values in "a6,b6,c6" are irrelevant, how can i do that?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi everyone, i would like to sum entire "c" column but values are starting from "c5" and values in "c1 to c4" are irrelevant, is there any way to do that?
A few ways.

You could always big some large row number value your will never hit, i.e.
=SUM(C5:C9999)

or just do something like this:
=SUM(C:C)-SUM(C1:C4)

Also note that the SUM function will ignore text entries. So if you only have text entries in C1:C4, and no numeric entries, you can simply use:
=SUM(C:C)

Follow the same logic for rows.
 
Upvote 0
A few ways.

You could always big some large row number value your will never hit, i.e.
=SUM(C5:C9999)

or just do something like this:
=SUM(C:C)-SUM(C1:C4)

Also note that the SUM function will ignore text entries. So if you only have text entries in C1:C4, and no numeric entries, you can simply use:
=SUM(C:C)

Follow the same logic for rows.
Thanks bro, didnt know that sum formula ignore the text, it solved my problem, thanks alot
 
Upvote 0
You are welcome!
Glad I was able to help.
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,825
Members
449,096
Latest member
Erald

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