+ Reply to Thread
Results 1 to 6 of 6

How do I Sum a range that has Left Len function formulas in the range?

  1. #1
    Forum Contributor Brian.Aerojet's Avatar
    Join Date
    03-25-2017
    Location
    TN-USA
    MS-Off Ver
    2016 365
    Posts
    173

    How do I Sum a range that has Left Len function formulas in the range?

    Hi All,

    I know this must be simple, my brain must not be working at all today.

    I have 3 columns that have single digit numbers in each column that contains left, mid, right Len formulas in each column.

    Im wanting to use a formula or even the status bar at bottom to Sum each column separate.

    Thanks,
    Brian
    Attached Files Attached Files
    Brian

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,454

    Re: How do I Sum a range that has Left Len function formulas in the range?

    You should be able to use the SUM() function, with one small change. LEFT() and other text functions return text strings and not numbers (and the SUM() function will ignore text -- even numbers stored as text). The key change will be to include something so that Excel will see the results of those text functions as numbers. I tend to use the VALUE() function https://support.office.com/en-us/art...c-bc2d3953d8c2 =VALUE(LEFT(...)). Other strategies are to multiply by 1, add 0, other numeric operation =1*LEFT(...).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,915

    Re: How do I Sum a range that has Left Len function formulas in the range?

    Change to

    =LEFT(A1,LEN(A1)-2)+0

    Format cells GENERAL

    =SUM(B1:B31)

    same for other columns

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,509

    Re: How do I Sum a range that has Left Len function formulas in the range?

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    dragged across.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Contributor Brian.Aerojet's Avatar
    Join Date
    03-25-2017
    Location
    TN-USA
    MS-Off Ver
    2016 365
    Posts
    173

    Re: How do I Sum a range that has Left Len function formulas in the range?

    Thanks to all of you for replies, I’ve not got a chance to try all 3 of the suggestions because I’m at work.
    I know of at least one that did work. I will add reputations and show solved in a little while, I need to get back to work at the moment
    Thanks,
    Brian

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,509

    Re: How do I Sum a range that has Left Len function formulas in the range?

    You're welcome. Thanks for the rep.

+ 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] Formula/Function for counting formulas in a range
    By Henk Stander in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-09-2014, 12:56 PM
  2. Replies: 2
    Last Post: 09-05-2014, 05:31 AM
  3. [SOLVED] SUMIF function but the SUM RANGE is on the LEFT SIDE of the CRITERIA.
    By Jarvin24 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-19-2014, 11:02 PM
  4. [SOLVED] COUNTIF over a range of cells which has a LEFT function in the condition
    By Barnapkin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-28-2013, 04:40 PM
  5. [SOLVED] Return Sum of Range 11 cells to left of another range
    By jrm0523 in forum Excel General
    Replies: 2
    Last Post: 03-28-2012, 10:04 PM
  6. shift range of cells to left if find the range of empty do while
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2012, 09:25 AM
  7. Count using left function in Range
    By vinaynaran in forum Excel General
    Replies: 2
    Last Post: 07-27-2011, 11:38 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