+ Reply to Thread
Results 1 to 13 of 13

Doing Sums on existing numbers

  1. #1
    Biff
    Guest

    Re: Doing Sums on existing numbers

    Hi!

    Try this:

    Suppose you want to add 10 to each cell in the range C1:C10.

    Enter 10 in D1.
    Select cell D1
    Copy cell D1
    Select the range C1:C10
    Paste Special>Add>OK

    Biff

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > Hi all,
    > I want to try and do something on excel but cannot do it. I have numbers
    > on
    > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > number
    > of whatever number on the cell itself plus the number on D1. That means
    > Number on C1 will reflect the number equavilent to the sum of the existing
    > number on C1 and number on D1. And Number on C2 will reflect the the
    > number
    > equavilent to the sum of the existing number on C2 and number on D1. And
    > so
    > on until C10.
    >
    > Really appreciate if you all can help me. Thanks a zillion.
    >
    >




  2. #2
    htan1
    Guest

    Re: Doing Sums on existing numbers

    That does work but I will need it in a more automated way.....is there
    anyway I can do it via formula so that I do not have to do a
    paste.....because the data involve is in thousands and around different cell
    locations thus I cannot go around copy and paste all the time. Thanks a
    zillion


    "Biff" <biffinpitt@comcast.net> wrote in message
    news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > Hi!
    >
    > Try this:
    >
    > Suppose you want to add 10 to each cell in the range C1:C10.
    >
    > Enter 10 in D1.
    > Select cell D1
    > Copy cell D1
    > Select the range C1:C10
    > Paste Special>Add>OK
    >
    > Biff
    >
    > "htan1" <henry.tan@tellabs.com> wrote in message
    > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > Hi all,
    > > I want to try and do something on excel but cannot do it. I have numbers
    > > on
    > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > number
    > > of whatever number on the cell itself plus the number on D1. That means
    > > Number on C1 will reflect the number equavilent to the sum of the

    existing
    > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > number
    > > equavilent to the sum of the existing number on C2 and number on D1. And
    > > so
    > > on until C10.
    > >
    > > Really appreciate if you all can help me. Thanks a zillion.
    > >
    > >

    >
    >




  3. #3
    Bob Phillips
    Guest

    Re: Doing Sums on existing numbers

    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim cell As Range
    On Error GoTo ws_exit:
    Application.EnableEvents = False
    If Target.Address(False, False) = "D1" Then
    With Target
    If IsNumeric(.Value) Then
    For Each cell In Range("C1").Resize(Cells(Rows.Count,
    "C").End(xlUp).Row)
    cell.Value = cell.Value + .Value
    Next cell
    End If
    End With
    End If

    ws_exit:
    Application.EnableEvents = True
    End Sub


    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.



    --
    HTH

    Bob Phillips

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8ttj1$and$1@mawar.singnet.com.sg...
    > That does work but I will need it in a more automated way.....is there
    > anyway I can do it via formula so that I do not have to do a
    > paste.....because the data involve is in thousands and around different

    cell
    > locations thus I cannot go around copy and paste all the time. Thanks a
    > zillion
    >
    >
    > "Biff" <biffinpitt@comcast.net> wrote in message
    > news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > > Hi!
    > >
    > > Try this:
    > >
    > > Suppose you want to add 10 to each cell in the range C1:C10.
    > >
    > > Enter 10 in D1.
    > > Select cell D1
    > > Copy cell D1
    > > Select the range C1:C10
    > > Paste Special>Add>OK
    > >
    > > Biff
    > >
    > > "htan1" <henry.tan@tellabs.com> wrote in message
    > > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > > Hi all,
    > > > I want to try and do something on excel but cannot do it. I have

    numbers
    > > > on
    > > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > > number
    > > > of whatever number on the cell itself plus the number on D1. That

    means
    > > > Number on C1 will reflect the number equavilent to the sum of the

    > existing
    > > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > > number
    > > > equavilent to the sum of the existing number on C2 and number on D1.

    And
    > > > so
    > > > on until C10.
    > > >
    > > > Really appreciate if you all can help me. Thanks a zillion.
    > > >
    > > >

    > >
    > >

    >
    >




  4. #4
    Biff
    Guest

    Re: Doing Sums on existing numbers

    Hi!

    Try this:

    Suppose you want to add 10 to each cell in the range C1:C10.

    Enter 10 in D1.
    Select cell D1
    Copy cell D1
    Select the range C1:C10
    Paste Special>Add>OK

    Biff

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > Hi all,
    > I want to try and do something on excel but cannot do it. I have numbers
    > on
    > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > number
    > of whatever number on the cell itself plus the number on D1. That means
    > Number on C1 will reflect the number equavilent to the sum of the existing
    > number on C1 and number on D1. And Number on C2 will reflect the the
    > number
    > equavilent to the sum of the existing number on C2 and number on D1. And
    > so
    > on until C10.
    >
    > Really appreciate if you all can help me. Thanks a zillion.
    >
    >




  5. #5
    htan1
    Guest

    Re: Doing Sums on existing numbers

    That does work but I will need it in a more automated way.....is there
    anyway I can do it via formula so that I do not have to do a
    paste.....because the data involve is in thousands and around different cell
    locations thus I cannot go around copy and paste all the time. Thanks a
    zillion


    "Biff" <biffinpitt@comcast.net> wrote in message
    news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > Hi!
    >
    > Try this:
    >
    > Suppose you want to add 10 to each cell in the range C1:C10.
    >
    > Enter 10 in D1.
    > Select cell D1
    > Copy cell D1
    > Select the range C1:C10
    > Paste Special>Add>OK
    >
    > Biff
    >
    > "htan1" <henry.tan@tellabs.com> wrote in message
    > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > Hi all,
    > > I want to try and do something on excel but cannot do it. I have numbers
    > > on
    > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > number
    > > of whatever number on the cell itself plus the number on D1. That means
    > > Number on C1 will reflect the number equavilent to the sum of the

    existing
    > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > number
    > > equavilent to the sum of the existing number on C2 and number on D1. And
    > > so
    > > on until C10.
    > >
    > > Really appreciate if you all can help me. Thanks a zillion.
    > >
    > >

    >
    >




  6. #6
    Bob Phillips
    Guest

    Re: Doing Sums on existing numbers

    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim cell As Range
    On Error GoTo ws_exit:
    Application.EnableEvents = False
    If Target.Address(False, False) = "D1" Then
    With Target
    If IsNumeric(.Value) Then
    For Each cell In Range("C1").Resize(Cells(Rows.Count,
    "C").End(xlUp).Row)
    cell.Value = cell.Value + .Value
    Next cell
    End If
    End With
    End If

    ws_exit:
    Application.EnableEvents = True
    End Sub


    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.



    --
    HTH

    Bob Phillips

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8ttj1$and$1@mawar.singnet.com.sg...
    > That does work but I will need it in a more automated way.....is there
    > anyway I can do it via formula so that I do not have to do a
    > paste.....because the data involve is in thousands and around different

    cell
    > locations thus I cannot go around copy and paste all the time. Thanks a
    > zillion
    >
    >
    > "Biff" <biffinpitt@comcast.net> wrote in message
    > news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > > Hi!
    > >
    > > Try this:
    > >
    > > Suppose you want to add 10 to each cell in the range C1:C10.
    > >
    > > Enter 10 in D1.
    > > Select cell D1
    > > Copy cell D1
    > > Select the range C1:C10
    > > Paste Special>Add>OK
    > >
    > > Biff
    > >
    > > "htan1" <henry.tan@tellabs.com> wrote in message
    > > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > > Hi all,
    > > > I want to try and do something on excel but cannot do it. I have

    numbers
    > > > on
    > > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > > number
    > > > of whatever number on the cell itself plus the number on D1. That

    means
    > > > Number on C1 will reflect the number equavilent to the sum of the

    > existing
    > > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > > number
    > > > equavilent to the sum of the existing number on C2 and number on D1.

    And
    > > > so
    > > > on until C10.
    > > >
    > > > Really appreciate if you all can help me. Thanks a zillion.
    > > >
    > > >

    > >
    > >

    >
    >




  7. #7
    Biff
    Guest

    Re: Doing Sums on existing numbers

    Hi!

    Try this:

    Suppose you want to add 10 to each cell in the range C1:C10.

    Enter 10 in D1.
    Select cell D1
    Copy cell D1
    Select the range C1:C10
    Paste Special>Add>OK

    Biff

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > Hi all,
    > I want to try and do something on excel but cannot do it. I have numbers
    > on
    > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > number
    > of whatever number on the cell itself plus the number on D1. That means
    > Number on C1 will reflect the number equavilent to the sum of the existing
    > number on C1 and number on D1. And Number on C2 will reflect the the
    > number
    > equavilent to the sum of the existing number on C2 and number on D1. And
    > so
    > on until C10.
    >
    > Really appreciate if you all can help me. Thanks a zillion.
    >
    >




  8. #8
    htan1
    Guest

    Re: Doing Sums on existing numbers

    That does work but I will need it in a more automated way.....is there
    anyway I can do it via formula so that I do not have to do a
    paste.....because the data involve is in thousands and around different cell
    locations thus I cannot go around copy and paste all the time. Thanks a
    zillion


    "Biff" <biffinpitt@comcast.net> wrote in message
    news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > Hi!
    >
    > Try this:
    >
    > Suppose you want to add 10 to each cell in the range C1:C10.
    >
    > Enter 10 in D1.
    > Select cell D1
    > Copy cell D1
    > Select the range C1:C10
    > Paste Special>Add>OK
    >
    > Biff
    >
    > "htan1" <henry.tan@tellabs.com> wrote in message
    > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > Hi all,
    > > I want to try and do something on excel but cannot do it. I have numbers
    > > on
    > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > number
    > > of whatever number on the cell itself plus the number on D1. That means
    > > Number on C1 will reflect the number equavilent to the sum of the

    existing
    > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > number
    > > equavilent to the sum of the existing number on C2 and number on D1. And
    > > so
    > > on until C10.
    > >
    > > Really appreciate if you all can help me. Thanks a zillion.
    > >
    > >

    >
    >




  9. #9
    Bob Phillips
    Guest

    Re: Doing Sums on existing numbers

    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim cell As Range
    On Error GoTo ws_exit:
    Application.EnableEvents = False
    If Target.Address(False, False) = "D1" Then
    With Target
    If IsNumeric(.Value) Then
    For Each cell In Range("C1").Resize(Cells(Rows.Count,
    "C").End(xlUp).Row)
    cell.Value = cell.Value + .Value
    Next cell
    End If
    End With
    End If

    ws_exit:
    Application.EnableEvents = True
    End Sub


    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.



    --
    HTH

    Bob Phillips

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8ttj1$and$1@mawar.singnet.com.sg...
    > That does work but I will need it in a more automated way.....is there
    > anyway I can do it via formula so that I do not have to do a
    > paste.....because the data involve is in thousands and around different

    cell
    > locations thus I cannot go around copy and paste all the time. Thanks a
    > zillion
    >
    >
    > "Biff" <biffinpitt@comcast.net> wrote in message
    > news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > > Hi!
    > >
    > > Try this:
    > >
    > > Suppose you want to add 10 to each cell in the range C1:C10.
    > >
    > > Enter 10 in D1.
    > > Select cell D1
    > > Copy cell D1
    > > Select the range C1:C10
    > > Paste Special>Add>OK
    > >
    > > Biff
    > >
    > > "htan1" <henry.tan@tellabs.com> wrote in message
    > > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > > Hi all,
    > > > I want to try and do something on excel but cannot do it. I have

    numbers
    > > > on
    > > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > > number
    > > > of whatever number on the cell itself plus the number on D1. That

    means
    > > > Number on C1 will reflect the number equavilent to the sum of the

    > existing
    > > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > > number
    > > > equavilent to the sum of the existing number on C2 and number on D1.

    And
    > > > so
    > > > on until C10.
    > > >
    > > > Really appreciate if you all can help me. Thanks a zillion.
    > > >
    > > >

    > >
    > >

    >
    >




  10. #10
    htan1
    Guest

    Doing Sums on existing numbers

    Hi all,
    I want to try and do something on excel but cannot do it. I have numbers on
    Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect number
    of whatever number on the cell itself plus the number on D1. That means
    Number on C1 will reflect the number equavilent to the sum of the existing
    number on C1 and number on D1. And Number on C2 will reflect the the number
    equavilent to the sum of the existing number on C2 and number on D1. And so
    on until C10.

    Really appreciate if you all can help me. Thanks a zillion.



  11. #11
    Biff
    Guest

    Re: Doing Sums on existing numbers

    Hi!

    Try this:

    Suppose you want to add 10 to each cell in the range C1:C10.

    Enter 10 in D1.
    Select cell D1
    Copy cell D1
    Select the range C1:C10
    Paste Special>Add>OK

    Biff

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > Hi all,
    > I want to try and do something on excel but cannot do it. I have numbers
    > on
    > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > number
    > of whatever number on the cell itself plus the number on D1. That means
    > Number on C1 will reflect the number equavilent to the sum of the existing
    > number on C1 and number on D1. And Number on C2 will reflect the the
    > number
    > equavilent to the sum of the existing number on C2 and number on D1. And
    > so
    > on until C10.
    >
    > Really appreciate if you all can help me. Thanks a zillion.
    >
    >




  12. #12
    htan1
    Guest

    Re: Doing Sums on existing numbers

    That does work but I will need it in a more automated way.....is there
    anyway I can do it via formula so that I do not have to do a
    paste.....because the data involve is in thousands and around different cell
    locations thus I cannot go around copy and paste all the time. Thanks a
    zillion


    "Biff" <biffinpitt@comcast.net> wrote in message
    news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > Hi!
    >
    > Try this:
    >
    > Suppose you want to add 10 to each cell in the range C1:C10.
    >
    > Enter 10 in D1.
    > Select cell D1
    > Copy cell D1
    > Select the range C1:C10
    > Paste Special>Add>OK
    >
    > Biff
    >
    > "htan1" <henry.tan@tellabs.com> wrote in message
    > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > Hi all,
    > > I want to try and do something on excel but cannot do it. I have numbers
    > > on
    > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > number
    > > of whatever number on the cell itself plus the number on D1. That means
    > > Number on C1 will reflect the number equavilent to the sum of the

    existing
    > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > number
    > > equavilent to the sum of the existing number on C2 and number on D1. And
    > > so
    > > on until C10.
    > >
    > > Really appreciate if you all can help me. Thanks a zillion.
    > >
    > >

    >
    >




  13. #13
    Bob Phillips
    Guest

    Re: Doing Sums on existing numbers

    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim cell As Range
    On Error GoTo ws_exit:
    Application.EnableEvents = False
    If Target.Address(False, False) = "D1" Then
    With Target
    If IsNumeric(.Value) Then
    For Each cell In Range("C1").Resize(Cells(Rows.Count,
    "C").End(xlUp).Row)
    cell.Value = cell.Value + .Value
    Next cell
    End If
    End With
    End If

    ws_exit:
    Application.EnableEvents = True
    End Sub


    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.



    --
    HTH

    Bob Phillips

    "htan1" <henry.tan@tellabs.com> wrote in message
    news:d8ttj1$and$1@mawar.singnet.com.sg...
    > That does work but I will need it in a more automated way.....is there
    > anyway I can do it via formula so that I do not have to do a
    > paste.....because the data involve is in thousands and around different

    cell
    > locations thus I cannot go around copy and paste all the time. Thanks a
    > zillion
    >
    >
    > "Biff" <biffinpitt@comcast.net> wrote in message
    > news:%2306RNIwcFHA.3564@tk2msftngp13.phx.gbl...
    > > Hi!
    > >
    > > Try this:
    > >
    > > Suppose you want to add 10 to each cell in the range C1:C10.
    > >
    > > Enter 10 in D1.
    > > Select cell D1
    > > Copy cell D1
    > > Select the range C1:C10
    > > Paste Special>Add>OK
    > >
    > > Biff
    > >
    > > "htan1" <henry.tan@tellabs.com> wrote in message
    > > news:d8tbqm$a0a$1@mawar.singnet.com.sg...
    > > > Hi all,
    > > > I want to try and do something on excel but cannot do it. I have

    numbers
    > > > on
    > > > Cell C1-C10. If I were to key in a number at D1, C1-C10 will reflect
    > > > number
    > > > of whatever number on the cell itself plus the number on D1. That

    means
    > > > Number on C1 will reflect the number equavilent to the sum of the

    > existing
    > > > number on C1 and number on D1. And Number on C2 will reflect the the
    > > > number
    > > > equavilent to the sum of the existing number on C2 and number on D1.

    And
    > > > so
    > > > on until C10.
    > > >
    > > > Really appreciate if you all can help me. Thanks a zillion.
    > > >
    > > >

    > >
    > >

    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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