+ Reply to Thread
Results 1 to 13 of 13

Total all numbers or text in a range.

  1. #1
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    455

    Total all numbers or text in a range.

    Hello all,

    In the range BJ2:CD11, I want to total count all numbers or text.

    Results go into cols CE:DC, row 2.

    If there is nothing to count, then resulting cell remains blank or no result.

    Thanks.
    Attached Files Attached Files
    I am grateful for all answers to my questions .
    Also i give a reputation even if not answered .

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,735

    Re: Total all numbers or text in a range.

    I cannot figure out what you are counting or adding to get the numbers you are showing in CE2:CG2. What exactly are you trying to count?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    455

    Re: Total all numbers or text in a range.

    In that range the 3 x examples I have included in cells CE2, CF2, CG2.
    1 is mentioned 14 x times.
    2, 16 x times.
    3, 27 times.
    Thanks.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,735

    Re: Total all numbers or text in a range.

    In CE2:

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


    copy to the right

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,842

    Re: Total all numbers or text in a range.

    For C2, try this:
    =COUNTIFS($BJ$2:$CD$11,CE$1)
    then copy across

  6. #6
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    455

    Re: Total all numbers or text in a range.

    Thanks Jeff, that function did the trick.
    If my data or range was on sheet 2 as in this sample sheet, how would the function now look please.

    Gregb11, I will try yours out and advise.
    Thanks.
    Attached Files Attached Files

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Total all numbers or text in a range.

    If you copy CE1:DC1 from sheet1 to sheet2 you can try the same formula.

    If you want to create the unique values in row1 with a formula,

    Please try in Excel2016 in CE1 (result is not sorted):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    or try in Excel 2021 (result is sorted):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Or try in Excel365 (result is sorted):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    455

    Re: Total all numbers or text in a range.

    Thanks for that Hans, but I'm getting errors as you can see in this sheet.
    I don't think I have followed your instructions correctly.
    Thanks.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,615

    Re: Total all numbers or text in a range.

    Try.
    In CE1 copied across
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Total all numbers or text in a range.

    You have copied CE1:DC1 from sheet to sheet2 so you can use the same formula (see first line of Post#7).

    Please try in CE2 and copy to the right:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    Ms Office 2016
    Posts
    455

    Re: Total all numbers or text in a range.

    Thanks to all who helped. Solved.

  12. #12
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Total all numbers or text in a range.

    You are Welcome!

    Thansk for the feedback and rep .

    Glad to have helped.

  13. #13
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,842

    Re: Total all numbers or text in a range.

    Same here :-)

+ 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. Need help removing text and getting total numbers
    By natsukirei in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-15-2021, 09:02 AM
  2. Replies: 4
    Last Post: 10-20-2020, 04:15 PM
  3. VBA to convert a range from numbers to numbers stored as text (Text to Columns)
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2017, 05:50 PM
  4. Excel 2007 : Total numbers of specific text in a row..
    By Chainsaw_019 in forum Excel General
    Replies: 6
    Last Post: 07-13-2011, 07:58 AM
  5. [SOLVED] calculating total in a range of numbers
    By Joe K in forum Excel General
    Replies: 2
    Last Post: 06-30-2006, 05:30 PM
  6. Searching a range of numbers for a specified total
    By saustin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2006, 12:00 PM
  7. How do I add a range of numbers to sum a specific total?
    By SJoshi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-15-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