+ Reply to Thread
Results 1 to 4 of 4

Sum of only SOME cells in a column

  1. #1
    Registered User
    Join Date
    11-19-2022
    Location
    New York
    MS-Off Ver
    365
    Posts
    4

    Sum of only SOME cells in a column

    I have columns P and Q. I want to be able to add up the cells in column Q, but only the cells that have data in the corresponding cell in column P, regardless of what the data is. I attached a pic to make it clearer.

    Screenshot 2022-12-03 225519.png



    P is the column to the left and Q is to the right. I only want to add the cells in column Q if they have data in their "sister" cells in column P.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Sum of only SOME cells in a column

    This formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    11-19-2022
    Location
    New York
    MS-Off Ver
    365
    Posts
    4

    Re: Sum of only SOME cells in a column

    Thank you!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Sum of only SOME cells in a column

    Thanks for the rep!

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this 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: 3
    Last Post: 04-07-2022, 09:02 AM
  2. [SOLVED] Fill empty cells on a column with above cells based on offset cells on another column
    By Gordon85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-05-2020, 01:59 PM
  3. Replies: 3
    Last Post: 12-25-2018, 02:34 AM
  4. vba code to filter blank cells in a column only if the column has blanks cells
    By meus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2016, 07:05 AM
  5. Replies: 2
    Last Post: 04-17-2014, 03:30 PM
  6. [SOLVED] Auto populate cells in one column based if cells in next column are populated
    By diablo86 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2013, 06:29 AM
  7. Comparing cells in a column and adding result of comparison in cells of adjacent column
    By Lionel welshboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2013, 05:37 AM

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