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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,030
Messages
6,122,762
Members
449,095
Latest member
m_smith_solihull

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