logo elektroda
logo elektroda
X
logo elektroda

How to Add a Constant Value to Multiple Cells in Excel 2007?

konrad_gom 21474 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 13952535
    konrad_gom
    Level 18  
    Hello,
    I have a matrix of numbers, each in a separate cell, now I need to do a correction to these numbers, i.e. add some constant value to all of them. How to do it?
  • ADVERTISEMENT
  • Helpful post
    #2 13952597
    adamas_nt
    Moderator of Programming
    The easiest way is to save a new one

    1. select a range equal to the source in a different place on the sheet or on a different sheet
    2. write "="
    3.Select the source range
    4. enter by how much is to be increased. For example "+2"
    5.confirm with Ctrl + Shift + Enter (array formula)

    How to Add a Constant Value to Multiple Cells in Excel 2007?

    6. Ctrl + c (copy)
    7. Ctrl + Alt + v (paste special), select: 'values'
    8. copy and paste in place of "old"
  • ADVERTISEMENT
  • #3 13952727
    konrad_gom
    Level 18  
    Hello,
    that's what i did, but thought there was a pre-built function for that.
    greetings
  • ADVERTISEMENT
  • Helpful post
    #4 13956306
    Maciej Gonet
    VBA, Excel specialist
    Good evening,
    You can also like this:
    1) enter into an empty sheet cell what is to be added and copy it to the clipboard (e.g. Ctrl + C)
    2) select the range to which we want to add something
    3) choose Paste / Paste Special / Add from the menu - the results will be constants, not formulas.
    Regards
  • #5 13964105
    konrad_gom
    Level 18  
    Subject solved. Thank you.
ADVERTISEMENT