Total of a row

MJA

Board Regular
Joined
Feb 18, 2002
Messages
79
Hello Mr. Excel,

I have a serie of numbers that can vary, the
serie always starts in A1 and can go till Ax.
In the cell next to Ax I want the total.
How do I do that?
 
Mark,

Modify the formula a bit:

=SUM(!$A$1:B1)

Activate Insert|Name|Define;
Enter SumLeft in the Names in workbook box;
Enter the above formula in the Refers to box;
Click OK.

Enter in A1:C1 in some sheet, say, 1,2, and 3 respectively.

Enter in D1: SumLeft

Aladin
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
On 2002-02-22 07:57, Aladin Akyurek wrote:
Mark,

Modify the formula a bit:

=SUM(!$A$1:B1)

Activate Insert|Name|Define;
Enter SumLeft in the Names in workbook box;
Enter the above formula in the Refers to box;
Click OK.

Enter in A1:C1 in some sheet, say, 1,2, and 3 respectively.

Enter in D1: SumLeft

Aladin

This is giving me a circular reference. I do what you suggest, including the new formula. When I use your suggested data A1:C1 then "=SumLeft" in D1, I get "Circular D1" in the status bar.

When I check the SumLeft in Name|Define, the formula is changed to

<pre>
=SUM(!$A$1:D1)
</pre>

hence the circular reference in D1. I think I've chosen the wrong thread to be interested in. **** my inquisitive mind!
 
Upvote 0
Ok, I like this formula... :)

I put some numbers (1,2,3,4) in A14:D14. Select E14. Go to insert, names, define, and put

SumLeft

and in the refers to:

=SUM($A14:D14)

Click Add. Done !

Now, in E14 put =SumLeft, you should get 10 (As I did... :wink: )
 
Upvote 0
Yeah, that worked, don't know why I couldn't get it to work before though. (apart from stupidity) :)

Doens't this technique destroy the integrity of the spreadsheet though. :) j/k
 
Upvote 0

Forum statistics

Threads
1,214,403
Messages
6,119,309
Members
448,886
Latest member
GBCTeacher

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