+ Reply to Thread
Results 1 to 11 of 11

Counting Columns?

  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Wink Counting Columns?

    Hello all,

    I'm wondering if this is possible. I have a spreadsheet with a list of students that shows their reading level. The levels are A-Z (each is its own column). There is a mark in the column that shows what level that child was at in spring, fall and winter. Is there anyway to count the columns between marks to automatically calculate growth?

    Thanks so much for any ideas!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Counting Columns?

    Could you post a mock spreadsheet with some values and expected results?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Counting Columns?

    Would something like this work?
    Attached Files Attached Files
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  4. #4
    Registered User
    Join Date
    06-10-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

  5. #5
    Registered User
    Join Date
    06-10-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Counting Columns?

    Nigelbloomy,

    Thanks for your response. It's definitely the right idea, but won't quite work in this situation.
    If you look at my sheet, the assessments are marked with the grade level (a different color for each assessment), in the mock one K for kindergarten is used.

    So for example, I want to be able to count the columns between the red K and the blue K....

  6. #6
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Counting Columns?

    Would this work better then? It just looks at any value in the cells. It can't tell between the colors because formulas can't see the colors of the text, so it just assumes kids are going to improve. The formula would be wrong if someone fell backward in their reading. You would need something like my first one where you use different letters if you want to be able to handle kids that got worse over the year.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-10-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Counting Columns?

    Wow, thanks for all your help.
    This is much closer, except, unfortunately, the reading levels are alphabetical, not numerical, so the sum returns an error....
    Any other ideas?

  8. #8
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Counting Columns?

    This one will just uce the count of the columns instead of referencing the top row to find the number.

    Just replace these parts of the formula: ($E$1:$AB$1)
    with this: COLUMN($E$3:$AB$3)

    So the final formula for B3 would look like this: It takes the column of the second occurrence and subtracts the column of the first occurrence
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    06-10-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: Counting Columns?

    Gosh, you're a genius!
    But, clearly I'm not. What am I doing wrong?

    Assessment Chart.xlsx

  10. #10
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Counting Columns?

    Just change it to this
    Please Login or Register  to view this content.
    In your case you are trying to find the difference between the column last value in it and the column with the first value in it. The 2 red numbers above show where that happens.

  11. #11
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Counting Columns?

    If you always want the highest rating vs the lowest rating you can do this instead:
    Please Login or Register  to view this content.
    The first part picks the highest rating and the COUNTA part makes sure to picks the lowest rating.

+ 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: 2
    Last Post: 04-18-2013, 02:03 PM
  2. Counting in columns
    By grant606 in forum Excel General
    Replies: 8
    Last Post: 11-17-2007, 05:01 PM
  3. [SOLVED] counting columns
    By jpcblood in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  4. [SOLVED] Counting Rows Then Counting Values in Columns
    By Michael via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2005, 12:05 PM
  5. Counting columns using VBA
    By Marcus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2005, 10:06 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