+ Reply to Thread
Results 1 to 9 of 9

Count occurrences in an array

  1. #1
    Registered User
    Join Date
    03-12-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    13

    Count occurrences in an array

    Please Login or Register  to view this content.
    Could anyone help me with some way of scanning the array and coming up with a RW 3 and JG 2 type thing?
    Last edited by stavdav; 03-16-2010 at 08:26 AM.

  2. #2
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Count occurrences in an array

    above data in one column ??

  3. #3
    Registered User
    Join Date
    03-12-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Count occurrences in an array

    The data has been stored in the array by scanning several workbook sheets.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Count occurrences in an array

    assuming this is a VBA question, I'll move this to the Programming Forum.

    Please try to place you next question in the correct forum.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Count occurrences in an array

    see similar thread from earlier today and specifically shg's post:

    http://www.excelforum.com/excel-prog...using-vba.html

    in your case you will be iterating an Array rather than a Range

  6. #6
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Count occurrences in an array

    change the range according to your data range & try below formulas...
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Count occurrences in an array

    johncena, it's not a range of cells in a sheet, it's an array in VBA.

  8. #8
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Count occurrences in an array

    ohh sorry for my misunderstanding teylyn...

  9. #9
    Registered User
    Join Date
    03-12-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Count occurrences in an array

    Sorry for the misunderstanding. I appreciate your time but I made a mistake by posting it in the wrong section and not formatting my code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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