+ Reply to Thread
Results 1 to 4 of 4

Sum Column based on Ajacent Column

  1. #1
    dziw
    Guest

    Sum Column based on Ajacent Column

    I have a spreadsheet with two columns. Column A is "Total Time" and column B is "Month". Column A contains "hours" and the months in B are represented by numbers (e.g. January is represented by 1 and so on).

    What I want to do is sum up values in Column A based on a condition in Column B.

    For example:
    "Sum COLUMN A, IF COLUMN B=1"
    If column B contains the value 1 then it represents January and I want to sum the total of all the hours in January based on this. I will do this with every month to get a total amount of time used for each individual month.

    Can any help me with this?

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Try:

    =SUMIF(B:B,1,A:A)

    HTH

    Jason

  3. #3
    dziw
    Guest
    worked great! thanks a lot !

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Glad it helped.

    Jason

+ 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