+ Reply to Thread
Results 1 to 5 of 5

Calculation in a single cell

  1. #1
    Registered User
    Join Date
    07-12-2017
    Location
    Karachi
    MS-Off Ver
    2010
    Posts
    3

    Calculation in a single cell

    I have entered four amounts in a single cell using Alt+Enter keys, like this:
    50
    600
    7000
    70000

    Is there any way to differentiate these amounts by using char(10) and then SUM up these amount?

  2. #2
    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
    28,152

    Re: Calculation in a single cell

    Why enter them in a single cell only to want to effectively split them out?

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Calculation in a single cell

    Try this array formula
    Enter in B1

    ***Array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    You will know the array is active when you see curly braces { } appear around your formula.
    If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 50
    600
    7000
    70000
    77650
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    07-12-2017
    Location
    Karachi
    MS-Off Ver
    2010
    Posts
    3

    Re: Calculation in a single cell

    If I use multiple columns, the sheet will become wider enough. I don't want to split my single record (related fields) into multiple rows. I want to have a one row record so that I could filter my data easily

  5. #5
    Registered User
    Join Date
    04-29-2014
    Location
    ......
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Calculation in a single cell

    alkey sir,Array formula ,SUM(IFERROR(--MID(SUBSTITUTE(A1,CHAR(10),REPT(" ",99)),99*(COLUMN(A:Z)-1)+1,99),"")) if use formula it will return a1...value only.May be you left to type A1:A4... otherwise formula is good.SUM(IFERROR(--MID(SUBSTITUTE(A1:A4,CHAR(10),REPT(" ",99)),99*(COLUMN(A:Z)-1)+1,99),"")).

+ 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] How to subtract single cells with double digits into a single digit of a single cell.
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-11-2021, 02:05 AM
  2. How to Ignore Text and Perform Calculation in Single Cell?
    By FLFisherman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-04-2015, 02:03 PM
  3. Replies: 1
    Last Post: 01-28-2015, 05:12 PM
  4. Use rounded value (to tenths place) in a single cell's calculation
    By tinytutu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2013, 03:40 AM
  5. Single cell array calculation
    By NyoGoat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-26-2013, 03:53 PM
  6. Exclude a single cell from a calculation
    By kdecyk in forum Excel General
    Replies: 2
    Last Post: 05-23-2011, 04:40 PM
  7. Calculation in a single cell with text remarks
    By blockrocker in forum Excel General
    Replies: 2
    Last Post: 12-21-2010, 09:11 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