+ Reply to Thread
Results 1 to 4 of 4

Need count formula based on list of projects all in one cell

  1. #1
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Need count formula based on list of projects all in one cell

    I need a formula that will tell me how many alt enters are in a cell.

    If my cell A1 has the following data, the formula should return 2.
    Cell A1:
    Project 1 Final Submission
    Proj 30 Test DB
    Initiation of Projects

    Thank you

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need count formula based on list of projects all in one cell

    Try this...
    =LEN(A1)-LEN(SUBSTITUTE(A1,CHAR(10),""))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Need count formula based on list of projects all in one cell

    This is perfect. Thanks so much.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need count formula based on list of projects all in one cell

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to 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. [SOLVED] Count the number of projects completed within a 1 week period.
    By SWILLI99 in forum Excel General
    Replies: 6
    Last Post: 04-07-2012, 06:42 PM
  2. Formula To Reset a Count Based On Cell Value
    By TheLostBoy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-04-2009, 11:38 AM
  3. Count no. of projects open in VBE Window
    By tapapad in forum Excel General
    Replies: 1
    Last Post: 07-27-2008, 02:02 PM
  4. formula to count certain cell value based on date range
    By hgray104 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-12-2007, 02:21 PM
  5. Count Uniques within a list based on value of cell...
    By MeatLightning in forum Excel General
    Replies: 3
    Last Post: 03-20-2006, 01:25 PM

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