+ Reply to Thread
Results 1 to 3 of 3

Sum values in excel

Hybrid View

  1. #1
    Registered User
    Join Date
    03-20-2009
    Location
    Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    99

    Sum values in excel

    Hi all,

    Lets say that I have these values in Column A:

    5
    20
    7
    12
    18
    I need to decrease the value of each cell by 1 and then: 1) sum these new values; 2) get an average of these new values.

    Is it possible to write some smart function that would do that? For instance I wrote this formula:
    =sum(A:A;-1)
    (I thought that in this way excel will decrrease the cells values by 1 and then will sum new values), but it didn't work....
    Last edited by walduxas; 03-24-2009 at 04:38 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,047

    Re: Sum values in excel

    If you taking one of each value then new value is:

    =SUM(A:A)-count(A:A)

    and new average is

    =-1+SUM(A:A)/count(A:A)
    Never use Merged Cells in Excel

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum values in excel

    removed - over complex - zbor has resolved

+ 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