+ Reply to Thread
Results 1 to 3 of 3

Nested IF with three conditions

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    Brazil
    MS-Off Ver
    O365 Win
    Posts
    63

    Nested IF with three conditions

    Hi guys, I'm making a spreadsheet to calculate whatever is being spent at home with my brothers so it is to be shared equally.

    We are three, and I made a checkbox for each one, where when pressed the total amount will be divided equally, so if one was not there, he will not have to pay for that later on...

    I made a column to check if the checkbox is active or not, so if checked it will be true, unchecked false, the cells are next to the checkboxes.

    I could do a percentage, for instance on cell c10 I place: =IF(A10=TRUE,$C$7/2,0)

    but then I need to check if A11 is also true, then C11 will be divided by two too, but if A12 is true, then all of them needs to be divided by three... is that even possible?
    Attached Files Attached Files
    Last edited by danwoltrs; 09-05-2016 at 09:02 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,082

    Re: Nested IF with three conditions

    Try
    in B10
    =IF(A10=0,0,C$7/(A$10+A$11+A$12))
    and copy down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    06-26-2015
    Location
    Brazil
    MS-Off Ver
    O365 Win
    Posts
    63

    Re: Nested IF with three conditions

    Quote Originally Posted by Special-K View Post
    Try
    in B10
    =IF(A10=0,0,C$7/(A$10+A$11+A$12))
    and copy down the column
    Thanks man, that guided me to what I needed to do :D

    What I did was make the cells A10 to A12 true or false based on the checkmark.
    Cells D10 to D12 =IF(A10=TRUE,$C$7,0)
    Cells C10 to C12 =IF(D11=0,0,(C$7/(D$10+D$11+D$12)*$C$7))

    that did the trick, thank you very much
    Last edited by danwoltrs; 09-05-2016 at 09:02 AM.

+ 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. [SOLVED] A Little Help Please - Nested IF's i think... Looking to do a IF Conditions True, then SUM
    By RichyRichNeedsHelp in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-07-2015, 12:13 PM
  2. [SOLVED] Nested If Conditions
    By Tyler.Rains in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-18-2013, 02:47 PM
  3. [SOLVED] Nested If Conditions
    By mkeys4 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 07-29-2013, 01:05 PM
  4. more than 7 nested IF conditions?
    By krayziez in forum Excel General
    Replies: 5
    Last Post: 06-19-2008, 01:59 PM
  5. countif nested conditions
    By soldsomebeef in forum Excel General
    Replies: 13
    Last Post: 08-30-2007, 09:11 AM
  6. I want to have a nested IF with two conditions
    By Mahendra in forum Excel General
    Replies: 2
    Last Post: 08-31-2005, 08:05 PM
  7. [SOLVED] Nested IF Conditions
    By prkhan56 in forum Excel General
    Replies: 6
    Last Post: 04-04-2005, 09:06 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