+ Reply to Thread
Results 1 to 11 of 11

Add up the quantities of numbers present in each letter in column.

  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Add up the quantities of numbers present in each letter in column.

    Add up the quantities of numbers present in each letter in column
    Numbers 41 and 42 do not enter
    https://www.excelforum.com/attachmen...1&d=1525269811
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Add up the quantities of numbers present in each letter in column.

    Maybe start with this and work from there.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: Add up the quantities of numbers present in each letter in column.

    hello DAVE,, this is correct, but you have to do all the draw lines! only ten have been done, have to do all
    has to do all inclusive when I will update new raffles the macro has to do automatic

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Add up the quantities of numbers present in each letter in column.

    Ya, I suppose there is a better way to do this, I can't think of it right now, I'll see if others can pitch in.

  5. #5
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: Add up the quantities of numbers present in each letter in column.

    Okay, and the other draw lines?

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Add up the quantities of numbers present in each letter in column.

    Try below. Takes about 19 to 20 sec on my machine to run.

    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Add up the quantities of numbers present in each letter in column.

    Hmm, come to think of it. It might be faster to use logic rather than loop on luA array.
    If others haven’t chimed in, I’ll take another look tomorrow.

  8. #8
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: Add up the quantities of numbers present in each letter in column.

    Hello,CK76 oh, yes this correct perfect work, congratulations,
    Maybe a little faster the macro, but this is good

  9. #9
    Forum Contributor
    Join Date
    03-22-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Add up the quantities of numbers present in each letter in column.

    u may try using the array formula,

    in P5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    use Crtl + Shift + Enter instead Enter only.

    {} will incurred if it is an array formula, manual put in will not effected.

    then copy to S5 and drag down to end.
    Hope you can learn every time you visit here.

    If you still confuse on how it work, kindly ask or go to
    i) Formula - Formula (Ribbon) > Formula Auditing (Section) > Evaluate Formula > Evaluate; or
    ii) VBA/Code - Click F8 to see how it work step by step.

    It it take care of your question, Please:
    Mark tread as [Solved] [Thread Tools->Mark thread as Solved]
    ;and
    Click *Add Reputation to thank anyone solved your question.

  10. #10
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Add up the quantities of numbers present in each letter in column.

    Yep, I think for this sort of calculation, formula is well suited.

    No need to commit multiple array into memory and requires less loop.

    This version should take less than 1 sec (0.2 sec ~ 0.4sec).

    Please Login or Register  to view this content.
    Edit: Made slight modification to code. Now completes in around 0.16 sec on my machine.
    Last edited by CK76; 05-03-2018 at 09:55 AM. Reason: See Edit:

  11. #11
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: Add up the quantities of numbers present in each letter in column.

    Hello DR76 huu Spectacular execution time !, Congratulations, conglatulations
    * Very good job, thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 07-19-2016, 11:25 AM
  2. Replies: 1
    Last Post: 01-16-2016, 02:07 AM
  3. Replies: 2
    Last Post: 01-16-2016, 01:41 AM
  4. Combination of letter and numbers in a column
    By aminkov1991 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2015, 04:04 PM
  5. Replies: 2
    Last Post: 09-03-2014, 03:37 AM
  6. Referring to column letter/row numbers
    By Scriv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-28-2009, 07:49 AM
  7. [SOLVED] wise *** who changed column headers to numbers instead of letter
    By softie27 in forum Excel General
    Replies: 1
    Last Post: 12-28-2005, 11:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1