Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Nov 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Number of appearances in a matrix

    I have a matrix of numbers entered into an Excel worksheet. I wish to generate a list of how many times each number appears in that matrix.

    How do I do this?
    Thanks in advance.

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts
    Do you already have a separate list of the numbers in the matrix? If so, you can use the Frequency function. A sample workbook showing your layout would assist.
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    New Lounger
    Join Date
    Nov 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Number of appearances in a matrix

    Quote Originally Posted by rory View Post
    Do you already have a separate list of the numbers in the matrix? If so, you can use the Frequency function. A sample workbook showing your layout would assist.

    No, I do not have a separate list of the numbers.

    I am attaching a sample of such a matrix.
    Attached Files Attached Files

  4. #4
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts
    Based on that, and assuming the numbers 1-50 are the possibilities, I'd use something like the attached, though you could also just use Countif formulas.
    Attached Files Attached Files
    Regards,
    Rory

    Microsoft MVP - Excel

  5. #5
    New Lounger
    Join Date
    Nov 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, Rory. I'll have to study that formula to figure it out.

Posting Permissions

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