#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default SUM without prefix

Hi,

Could someone teach me how to add numbers without prefix column.

A
1 @101
2 102
3 @103
4 104
-----------
6 106

I need a function that could add 102 and 104 and result 106. I tried with
SUMPRODUCT and it doesn't seem to work. Prefix "@" was setup in column A1
and A3 to atuo input. Please help out.

Thanks,
Boris
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default SUM without prefix

On Tue, 1 Jan 2008 19:13:00 -0800, Boris
wrote:

Hi,

Could someone teach me how to add numbers without prefix column.

A
1 @101
2 102
3 @103
4 104
-----------
6 106

I need a function that could add 102 and 104 and result 106. I tried with
SUMPRODUCT and it doesn't seem to work. Prefix "@" was setup in column A1
and A3 to atuo input. Please help out.

Thanks,
Boris


I can't help you with adding 102 and 104 to get 106. Possibly you mean 206?

If I understand you correctly, your cells contain:

A1: @101
A2: 102
A3: @103
A4: 104

In any event, if the values above are in Column A, and if the @ is present also
(not as a format, but as the actual character), then you can use the SUM
function

=SUM(A1:A4)

The values with the preceding @ should be being interpreted as TEXT, which the
SUM function will ignore.


--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default SUM without prefix

Thanks Ron,

206 is the right amount I wanted.

The problem I'm having is "@" is used as a format and is input
automatically. Another word, I would only type 101 for A1 and 103 for A3.

Please help out anyone.

Thanks,
Boris



"Ron Rosenfeld" wrote:

On Tue, 1 Jan 2008 19:13:00 -0800, Boris
wrote:

Hi,

Could someone teach me how to add numbers without prefix column.

A
1 @101
2 102
3 @103
4 104
-----------
6 106

I need a function that could add 102 and 104 and result 106. I tried with
SUMPRODUCT and it doesn't seem to work. Prefix "@" was setup in column A1
and A3 to atuo input. Please help out.

Thanks,
Boris


I can't help you with adding 102 and 104 to get 106. Possibly you mean 206?

If I understand you correctly, your cells contain:

A1: @101
A2: 102
A3: @103
A4: 104

In any event, if the values above are in Column A, and if the @ is present also
(not as a format, but as the actual character), then you can use the SUM
function

=SUM(A1:A4)

The values with the preceding @ should be being interpreted as TEXT, which the
SUM function will ignore.


--ron

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default SUM without prefix

On Wed, 2 Jan 2008 00:58:06 -0800, Boris
wrote:

Thanks Ron,

206 is the right amount I wanted.

The problem I'm having is "@" is used as a format and is input
automatically. Another word, I would only type 101 for A1 and 103 for A3.

Please help out anyone.

Thanks,
Boris



"Ron Rosenfeld" wrote:

On Tue, 1 Jan 2008 19:13:00 -0800, Boris
wrote:

Hi,

Could someone teach me how to add numbers without prefix column.

A
1 @101
2 102
3 @103
4 104



If I understand you correctly, the values in A1 and A3 are entered as 101 and
103, but display as @101 and @103.

1. Please post the actual cell format strings for A1 and A2.

2. How and when is the formatting of these cells created?

If the only difference between A1 and A2 is the formatting, we likely will need
a VBA solution.
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete a prefix The Rook[_2_] Excel Discussion (Misc queries) 3 February 28th 07 03:28 PM
Adding Prefix Freshman Excel Worksheet Functions 4 September 4th 06 08:26 AM
Prefix and Suffix Clare Excel Discussion (Misc queries) 2 January 30th 06 07:26 PM
ADD PREFIX TO COLUMNS kim Excel Worksheet Functions 1 January 24th 06 12:57 AM
Prefix Big Boss Excel Worksheet Functions 4 August 11th 05 03:05 AM


All times are GMT +1. The time now is 11:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"