#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default auto sum

hello guys...
need help please

i have :

in cell A1 , this formula =1&""&"*"
in cell A2 ... 3
in cell A3... 4
in cell A4.... 2

i made an autosum in cell A5 (from A1 to A4) and the result is 9 although i
would like it to be 10

what should i do or modify.....any suggestion?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default auto sum

Try this

=SUM(A2:A4)+LEFT(A1,FIND("*",A1)-1)

If this post helps click Yes
---------------
Jacob Skaria


"pierre" wrote:

hello guys...
need help please

i have :

in cell A1 , this formula =1&""&"*"
in cell A2 ... 3
in cell A3... 4
in cell A4.... 2

i made an autosum in cell A5 (from A1 to A4) and the result is 9 although i
would like it to be 10

what should i do or modify.....any suggestion?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default auto sum


starting withis formula :
=SUM(A2:A4)+LEFT(A1,FIND("*",A1)-1)

suppose i would like to add more "left" like :

=SUM(A2:A4)+LEFT(A1,FIND("*",A1)-1)+LEFT(A10,FIND("*",A10)-1)+
LEFT(A11,FIND("*",A11)-1).....

how can i shorcut that ?
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default auto sum

You can try this; you will have to make sure the all cells have values;
either a 0 or a valid value

=SUMPRODUCT(VALUE(SUBSTITUTE(A1:A20,"*","")))

If this post helps click Yes
---------------
Jacob Skaria


"pierre" wrote:


starting withis formula :
=SUM(A2:A4)+LEFT(A1,FIND("*",A1)-1)

suppose i would like to add more "left" like :

=SUM(A2:A4)+LEFT(A1,FIND("*",A1)-1)+LEFT(A10,FIND("*",A10)-1)+
LEFT(A11,FIND("*",A11)-1).....

how can i shorcut that ?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default auto sum

=SUM(VALUE(SUBSTITUTE(A1:A4,"*","")))

This is an array formula that must be entered with:
CNTRL-SHFT-ENTER
rather than just the ENTER key.
--
Gary''s Student - gsnu200857


"pierre" wrote:

hello guys...
need help please

i have :

in cell A1 , this formula =1&""&"*"
in cell A2 ... 3
in cell A3... 4
in cell A4.... 2

i made an autosum in cell A5 (from A1 to A4) and the result is 9 although i
would like it to be 10

what should i do or modify.....any suggestion?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default auto sum

Hello Pierre,
a1 has a text there, that is the reason excel return 9 on the =sum(a1:a4)

looking for you example a solution could be:

=left(a1,1)+sum(a2:a4)

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"pierre" escreveu:

hello guys...
need help please

i have :

in cell A1 , this formula =1&""&"*"
in cell A2 ... 3
in cell A3... 4
in cell A4.... 2

i made an autosum in cell A5 (from A1 to A4) and the result is 9 although i
would like it to be 10

what should i do or modify.....any suggestion?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default auto sum

Hi,

Here is my prefered solution -
1. replace your formula in A1 with 1
2. with A1 selected choose Format, Cells, Number tab, Custom and on the Type
line use something like
General"*"
or
0.0"*"

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"pierre" wrote:

hello guys...
need help please

i have :

in cell A1 , this formula =1&""&"*"
in cell A2 ... 3
in cell A3... 4
in cell A4.... 2

i made an autosum in cell A5 (from A1 to A4) and the result is 9 although i
would like it to be 10

what should i do or modify.....any suggestion?

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
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
Auto Number the Rows of Auto Filter Result ashish128 Excel Discussion (Misc queries) 3 April 29th 07 06:41 PM
Sometimes formuli in workbook don't auto update with auto-recal on PE2 Excel Worksheet Functions 1 October 12th 06 03:49 PM
How to AUTO SAVE as opposed to turning on auto recovery: EXCEL T-mo Excel Discussion (Misc queries) 1 January 12th 06 10:16 PM
excel links update not working in auto, calculations in auto Mikey Boy Excel Worksheet Functions 0 December 7th 04 11:53 PM


All times are GMT +1. The time now is 12:44 PM.

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

About Us

"It's about Microsoft Excel"