+ Reply to Thread
Results 1 to 6 of 6

Make formula work only IF a cell has a check?

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    Mississippi, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Make formula work only IF a cell has a check?

    I was wanting to know can I make some formulas work only if another cell has a check mark(wingdings 2 - capital P) in it?

    Basically cells F5:23 add up and then subtract from F4, with the total of F5:23 in F24 then the difference of F4 and F24 in F25, I only want them to subtract if the cell next to them is checked.

    Can this be done?

    Thanks,
    JasonO
    Last edited by drivinatwork; 01-23-2012 at 01:30 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Make formula work only IF a cell has a check?

    So you only want to subtract F25 from F24 if there is a check in a cell?

    What cell has the check, what if there is no check, what is the result to be returned?

    Please clarify.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-23-2012
    Location
    Mississippi, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Make formula work only IF a cell has a check?

    I have one large amount in F4, then have smaller amounts in F5-F23. I need these amounts subtracted from F4, but not until there is a check in the G cell next to it, to show a total in F25.

    ex. if F4 = 100 and F5 = 75 I want F25 to = 25 but only when G5 has a check

    Thanks,
    JasonO

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Make formula work only IF a cell has a check?

    =IF(G5="P",F4-F5,0)

    replace 0 with what you want if the condition is not met.

  5. #5
    Registered User
    Join Date
    01-23-2012
    Location
    Mississippi, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Make formula work only IF a cell has a check?

    Thank you, I'm using it in this way and getting a circular reference message

    in H24 I have =SUM(H5:H23) and

    in H10 I have =IF(G10="P",H10-F10,200) - I would have this formula in H10,H12,H15,H17

    then would want the sum of those cells before and after the ="P"

    and thanks again for helping me out

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Make formula work only IF a cell has a check?

    Go to Tools|Options, and in Calculation tab, check the Iteration checkbox. Click Ok.

+ 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