LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default verification code

Shorter version (still array formula):

=SUM(--("0"&MID(A1,ROW(1:99),1)))+LEN(SUBSTITUTE(A1,"."," "))


Glenn wrote:
The following array formula (commit with CTRL+SHIFT+ENTER) will work:

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


christine mullholand wrote:
Did you ever find a function for the verification code? I also need
that.



Olivi wrote:

Formula for each # of dollar amount due + how many digits
06-Mar-08

I need some help creating a function or formula in Excel for the
following:

??? Example: payment amount is $2,589.32 Run a tape:
2+5+8+9+3+2 + 6 (how many numbers you have in $ amt) = 35 --- 35 is
your verification code.
Is there a formula or function in excel, so that this will
automatically populate once we enter a payment amount in a different
cell.

Thanks

Previous Posts In This Thread:

On Thursday, March 06, 2008 12:34 PM
Olivi wrote:

Formula for each # of dollar amount due + how many digits
I need some help creating a function or formula in Excel for the
following:

??? Example: payment amount is $2,589.32 Run a tape:
2+5+8+9+3+2 + 6 (how many numbers you have in $ amt) = 35 --- 35 is
your verification code.
Is there a formula or function in excel, so that this will
automatically populate once we enter a payment amount in a different
cell.

Thanks

On Thursday, March 06, 2008 2:13 PM
Bob Phillips wrote:

Formula for each # of dollar amount due + how many digits
=SUM(IF(ISNUMBER(--(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))),--(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))))+COUNT(--(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)))


which is an array formula, it should be committed with
Ctrl-Shift-Enter, not just Enter.
Excel will automatically enclose the formula in braces (curly
brackets), do not try to do this manually.
When editing the formula, it must again be array-entered.

Note that you cannot use a whole column in array formulae (prior to
excel 2007), but must use an explicit range.

 
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
replace last digit in a dollar amount Louise Excel Discussion (Misc queries) 2 January 23rd 07 09:56 PM
dollar amount versus Time Webitect Excel Worksheet Functions 2 March 4th 06 07:44 PM
What is the formula for rounding a dollar amount to the nearest ni JeriSys New Users to Excel 5 December 22nd 05 06:54 PM
Cenvert dollar amount into words Edwin Excel Worksheet Functions 1 September 7th 05 03:35 AM
Hide row if dollar amount is zero Karl Irvin Excel Discussion (Misc queries) 5 May 7th 05 12:08 AM


All times are GMT +1. The time now is 03:51 AM.

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"