+ Reply to Thread
Results 1 to 3 of 3

include column in sum formula if checkbox is checked

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    include column in sum formula if checkbox is checked

    I want to set up a "what if" spreadsheet which uses checkboxes.

    Lets say that columns B, C, D, & E contain data in rows 5 through 25. Column F is the sum column.

    I want to put in checkboxes at row 2 of B, C, D, & E. If checked, column F will sum the data in the column. If unchecked, the column is omitted from the sum.

    Will someone be kind enough tell me how to write the formulas? I know how to "insert" a checkbox. But I'm stumped on the format control.

    Thanks.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: include column in sum formula if checkbox is checked

    You should link the checkboxes to cells and then refer to those cells in the formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: include column in sum formula if checkbox is checked

    Thanks much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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