+ Reply to Thread
Results 1 to 6 of 6

How to add multiple values in A cell and the result should be the next cell?

Hybrid View

  1. #1
    Registered User
    Join Date
    03-14-2019
    Location
    india
    MS-Off Ver
    windows 7
    Posts
    7

    How to add multiple values in A cell and the result should be the next cell?

    Hi to all,

    Eg: I enter the value 2 in the cell A1 and the result should be 2 in B1. Again i enter the value of 5 in the same A1 like 2+5 then the result should be 7 in B1. Again i enter the value 44 in the same A1 like 2+5+43 then the result should be 50 in B1. Again i enter the value 10 in the same A1 like 2+5+43 +10 then the result should be 60 in B1.

    When i add the values by using + sign in A1 and the result should be changed automatically in the next cell of B1.

    Eg: A1 = 2+5+43 +10 (Input).
    B1= 60 (Output)

    Could you knindly help by providing formula.

    Thank to all to respond my query

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: How to add multiple values in A cell and the result should be the next cell?

    Can't be done with a formula. You will need VBA for this. I will move the thread.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-14-2019
    Location
    india
    MS-Off Ver
    windows 7
    Posts
    7

    Re: How to add multiple values in A cell and the result should be the next cell?

    OK, but i do not know. Thank you very much

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: How to add multiple values in A cell and the result should be the next cell?

    That's why I am telling you and why I have moved the thread for you.

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How to add multiple values in A cell and the result should be the next cell?

    You can do this without VBA if you first go to File/Options/Formulas/Enable iterative calculation and set the Maximum Iterations box to 1.

    Then type e.g. 2 in A1 and put the following formula in B1:

    =A1+B1

    Changing the value in A1 will now give the desired results in B1.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  6. #6
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: How to add multiple values in A cell and the result should be the next cell?

    Put into Sheet code not as module.

    Private Sub Worksheet_Change(ByVal Target As Range)
        If Not Intersect(Target, Range("A1")) Is Nothing Then
            Range("B1").Value = Range("B1").Value + Range("A1").Value
        End If
    End Sub
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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: 14
    Last Post: 01-25-2019, 06:26 AM
  2. return multiple header cell values into one cell concatenated based on a cell value
    By anchuri_chaitanya in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-13-2016, 10:27 PM
  3. [SOLVED] vLookup multiple values separated by ";" in single cell / return result in single cell
    By Tunesmith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2015, 12:02 PM
  4. Search cell text and output different values based on result in another cell
    By tbarn1980 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2013, 09:54 PM
  5. Replies: 10
    Last Post: 12-19-2012, 03:07 PM
  6. Replies: 3
    Last Post: 07-10-2012, 01:49 AM
  7. [SOLVED] Macro to loop through cell values in a column and format multiple cell values
    By Roop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-07-2012, 05:39 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