PC Review


Reply
Thread Tools Rate Thread

calculate the sum of characters in a cell

 
 
=?Utf-8?B?TmF0?=
Guest
Posts: n/a
 
      25th Sep 2006
calculate the sum of characters in a cell
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGF2aWQgQmlsbGlnbWVpZXI=?=
Guest
Posts: n/a
 
      25th Sep 2006
Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
this formula array entered (Ctrl+Shift+Enter) will work:

=SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))

If this isn't what you wanted try explaining a little better or posting some
examples.
--
Regards,
Dave


"Nat" wrote:

> calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?TmF0?=
Guest
Posts: n/a
 
      25th Sep 2006
Thank you for your reply

I'm looking to calculate how much alphabetical characters I have in each cell
"David Billigmeier" wrote:

> Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> this formula array entered (Ctrl+Shift+Enter) will work:
>
> =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
>
> If this isn't what you wanted try explaining a little better or posting some
> examples.
> --
> Regards,
> Dave
>
>
> "Nat" wrote:
>
> > calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?RGF2aWQgQmlsbGlnbWVpZXI=?=
Guest
Posts: n/a
 
      25th Sep 2006
Should numerical values and symbols be counted as well, e.g. should the 1,8,3
and "-" be counted in "A1FD-83"? If so all you need is =LEN(A1)

If not you need something a little more complicated. I see you said
"alphabetical characters" so here is an example counting only the values
appearing in the English alphabet (A through Z):

=SUMPRODUCT(--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))>=65),--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))<=90))

If this is still not what you wanted please post some examples.
--
Regards,
Dave


"Nat" wrote:

> Thank you for your reply
>
> I'm looking to calculate how much alphabetical characters I have in each cell
> "David Billigmeier" wrote:
>
> > Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> > this formula array entered (Ctrl+Shift+Enter) will work:
> >
> > =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
> >
> > If this isn't what you wanted try explaining a little better or posting some
> > examples.
> > --
> > Regards,
> > Dave
> >
> >
> > "Nat" wrote:
> >
> > > calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?TmF0?=
Guest
Posts: n/a
 
      25th Sep 2006
Thank you "LEN" this is what I'm looking for

"David Billigmeier" wrote:

> Should numerical values and symbols be counted as well, e.g. should the 1,8,3
> and "-" be counted in "A1FD-83"? If so all you need is =LEN(A1)
>
> If not you need something a little more complicated. I see you said
> "alphabetical characters" so here is an example counting only the values
> appearing in the English alphabet (A through Z):
>
> =SUMPRODUCT(--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))>=65),--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))<=90))
>
> If this is still not what you wanted please post some examples.
> --
> Regards,
> Dave
>
>
> "Nat" wrote:
>
> > Thank you for your reply
> >
> > I'm looking to calculate how much alphabetical characters I have in each cell
> > "David Billigmeier" wrote:
> >
> > > Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> > > this formula array entered (Ctrl+Shift+Enter) will work:
> > >
> > > =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
> > >
> > > If this isn't what you wanted try explaining a little better or posting some
> > > examples.
> > > --
> > > Regards,
> > > Dave
> > >
> > >
> > > "Nat" wrote:
> > >
> > > > calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?TmF0?=
Guest
Posts: n/a
 
      25th Sep 2006
Is there a way to count the numerical values and symbols and even spaces
except the spaces after the sentence?

"David Billigmeier" wrote:

> Should numerical values and symbols be counted as well, e.g. should the 1,8,3
> and "-" be counted in "A1FD-83"? If so all you need is =LEN(A1)
>
> If not you need something a little more complicated. I see you said
> "alphabetical characters" so here is an example counting only the values
> appearing in the English alphabet (A through Z):
>
> =SUMPRODUCT(--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))>=65),--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))<=90))
>
> If this is still not what you wanted please post some examples.
> --
> Regards,
> Dave
>
>
> "Nat" wrote:
>
> > Thank you for your reply
> >
> > I'm looking to calculate how much alphabetical characters I have in each cell
> > "David Billigmeier" wrote:
> >
> > > Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> > > this formula array entered (Ctrl+Shift+Enter) will work:
> > >
> > > =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
> > >
> > > If this isn't what you wanted try explaining a little better or posting some
> > > examples.
> > > --
> > > Regards,
> > > Dave
> > >
> > >
> > > "Nat" wrote:
> > >
> > > > calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?RGF2aWQgQmlsbGlnbWVpZXI=?=
Guest
Posts: n/a
 
      25th Sep 2006
What sentence are you talking about? Is that the contents of your cell? If
so, is the end of your sentence a period? Do you want just numerical,
symbols and spaces counted? Or do you want alphabetic characters counted as
well (e.g. A through Z)? So many questions, I am confused again what you
mean, sorry. Please post a couple of examples...


--
Regards,
Dave


"Nat" wrote:

> Is there a way to count the numerical values and symbols and even spaces
> except the spaces after the sentence?
>
> "David Billigmeier" wrote:
>
> > Should numerical values and symbols be counted as well, e.g. should the 1,8,3
> > and "-" be counted in "A1FD-83"? If so all you need is =LEN(A1)
> >
> > If not you need something a little more complicated. I see you said
> > "alphabetical characters" so here is an example counting only the values
> > appearing in the English alphabet (A through Z):
> >
> > =SUMPRODUCT(--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))>=65),--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))<=90))
> >
> > If this is still not what you wanted please post some examples.
> > --
> > Regards,
> > Dave
> >
> >
> > "Nat" wrote:
> >
> > > Thank you for your reply
> > >
> > > I'm looking to calculate how much alphabetical characters I have in each cell
> > > "David Billigmeier" wrote:
> > >
> > > > Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> > > > this formula array entered (Ctrl+Shift+Enter) will work:
> > > >
> > > > =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
> > > >
> > > > If this isn't what you wanted try explaining a little better or posting some
> > > > examples.
> > > > --
> > > > Regards,
> > > > Dave
> > > >
> > > >
> > > > "Nat" wrote:
> > > >
> > > > > calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?TmF0?=
Guest
Posts: n/a
 
      25th Sep 2006
I had exported into excel some data, every cell has 15 characters if not live
character then the system will fill it up with spaces now I want to get rip
of the spaces but only from the spaces that the system put in to fill up the
15 characters not the spaces that are between the words

"David Billigmeier" wrote:

> What sentence are you talking about? Is that the contents of your cell? If
> so, is the end of your sentence a period? Do you want just numerical,
> symbols and spaces counted? Or do you want alphabetic characters counted as
> well (e.g. A through Z)? So many questions, I am confused again what you
> mean, sorry. Please post a couple of examples...
>
>
> --
> Regards,
> Dave
>
>
> "Nat" wrote:
>
> > Is there a way to count the numerical values and symbols and even spaces
> > except the spaces after the sentence?
> >
> > "David Billigmeier" wrote:
> >
> > > Should numerical values and symbols be counted as well, e.g. should the 1,8,3
> > > and "-" be counted in "A1FD-83"? If so all you need is =LEN(A1)
> > >
> > > If not you need something a little more complicated. I see you said
> > > "alphabetical characters" so here is an example counting only the values
> > > appearing in the English alphabet (A through Z):
> > >
> > > =SUMPRODUCT(--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))>=65),--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))<=90))
> > >
> > > If this is still not what you wanted please post some examples.
> > > --
> > > Regards,
> > > Dave
> > >
> > >
> > > "Nat" wrote:
> > >
> > > > Thank you for your reply
> > > >
> > > > I'm looking to calculate how much alphabetical characters I have in each cell
> > > > "David Billigmeier" wrote:
> > > >
> > > > > Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> > > > > this formula array entered (Ctrl+Shift+Enter) will work:
> > > > >
> > > > > =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
> > > > >
> > > > > If this isn't what you wanted try explaining a little better or posting some
> > > > > examples.
> > > > > --
> > > > > Regards,
> > > > > Dave
> > > > >
> > > > >
> > > > > "Nat" wrote:
> > > > >
> > > > > > calculate the sum of characters in a cell

 
Reply With Quote
 
=?Utf-8?B?RGF2aWQgQmlsbGlnbWVpZXI=?=
Guest
Posts: n/a
 
      25th Sep 2006
=TRIM(A1)

--
Regards,
Dave


"Nat" wrote:

> I had exported into excel some data, every cell has 15 characters if not live
> character then the system will fill it up with spaces now I want to get rip
> of the spaces but only from the spaces that the system put in to fill up the
> 15 characters not the spaces that are between the words
>
> "David Billigmeier" wrote:
>
> > What sentence are you talking about? Is that the contents of your cell? If
> > so, is the end of your sentence a period? Do you want just numerical,
> > symbols and spaces counted? Or do you want alphabetic characters counted as
> > well (e.g. A through Z)? So many questions, I am confused again what you
> > mean, sorry. Please post a couple of examples...
> >
> >
> > --
> > Regards,
> > Dave
> >
> >
> > "Nat" wrote:
> >
> > > Is there a way to count the numerical values and symbols and even spaces
> > > except the spaces after the sentence?
> > >
> > > "David Billigmeier" wrote:
> > >
> > > > Should numerical values and symbols be counted as well, e.g. should the 1,8,3
> > > > and "-" be counted in "A1FD-83"? If so all you need is =LEN(A1)
> > > >
> > > > If not you need something a little more complicated. I see you said
> > > > "alphabetical characters" so here is an example counting only the values
> > > > appearing in the English alphabet (A through Z):
> > > >
> > > > =SUMPRODUCT(--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))>=65),--(CODE(UPPER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))<=90))
> > > >
> > > > If this is still not what you wanted please post some examples.
> > > > --
> > > > Regards,
> > > > Dave
> > > >
> > > >
> > > > "Nat" wrote:
> > > >
> > > > > Thank you for your reply
> > > > >
> > > > > I'm looking to calculate how much alphabetical characters I have in each cell
> > > > > "David Billigmeier" wrote:
> > > > >
> > > > > > Do you mean if you have "12345" in a cell you want 1+2+3+4+5?? In this case
> > > > > > this formula array entered (Ctrl+Shift+Enter) will work:
> > > > > >
> > > > > > =SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))
> > > > > >
> > > > > > If this isn't what you wanted try explaining a little better or posting some
> > > > > > examples.
> > > > > > --
> > > > > > Regards,
> > > > > > Dave
> > > > > >
> > > > > >
> > > > > > "Nat" wrote:
> > > > > >
> > > > > > > calculate the sum of characters in a cell

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I calculate number of characters that will fit in a cell Larry Microsoft Excel Programming 1 16th Apr 2008 12:54 AM
calculate the sum of characters in a cell =?Utf-8?B?TmF0?= Microsoft Excel Misc 8 25th Sep 2006 07:05 PM
Can you calculate no. CHARACTERS =?Utf-8?B?THlueg==?= Microsoft Excel Misc 2 29th Jun 2005 01:27 PM
How do I calculate the first 2 characters each of two fields into. =?Utf-8?B?SGF0bW9uc3Rlcg==?= Microsoft Access Queries 2 8th Apr 2005 05:07 PM
calculate the number of characters in a cell? =?Utf-8?B?c25vbGV0?= Microsoft Excel Setup 2 20th Oct 2004 10:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 PM.