+ Reply to Thread
Results 1 to 4 of 4

Returning a $ value if a checkbox return true

  1. #1
    Registered User
    Join Date
    01-12-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Returning a $ value if a checkbox return true

    Hello All,

    I am trying to set up an Excel formula that calculates a $ value if a checkbox returns true or false.

    Basically, if the checkbox is checked, the COST amount needs to be multiplied by the QTY value. I've attached a screen shot of the basic table.

    Right now I have a basic SUM working using: =SUM(COST*QTY) but I need to include a checkbox if statement I believe. I've tried everything but can't get it to work.

    Can anyone help? I'm sure it's very simple.
    Attached Images Attached Images

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

    Re: Returning a $ value if a checkbox return true

    Assign the checkbox a Linked Cell, this cell will hold TRUE when checked and FALSE when unchecked... you can use this cell to control your formula.

  3. #3
    Registered User
    Join Date
    01-12-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Returning a $ value if a checkbox return true

    Thanks. How do I do that? I'm completely new this. I'll do a search in program help too.

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

    Re: Returning a $ value if a checkbox return true

    It will differ depending on what type of control has been used...

    FORMS control

    If you right click on the checkbox in Design Mode and can not see PROPERTIES select FORMAT CONTROL, on Control TAB you should see a box entitled "Cell Link in which you should enter the cell reference which is to hold the Boolean checked value (True/False)

    ACTIVE X control

    If you right click on the checkbox in Design Mode and see PROPERTIES select that and type cell reference into field entitled "Linked Cell"

+ 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