+ Reply to Thread
Results 1 to 9 of 9

Nested IF function needed

  1. #1
    Registered User
    Join Date
    09-20-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2013
    Posts
    21

    Nested IF function needed

    1st column has membership fee
    2nd column has "YES" or "NO" for locker
    3rd column has "YES" or "NO" for spa pass
    4th column has TOTAL (I need this total for 1st, 2nd and 3rd columns using a nested IF function)

    Values for locker and spa pass if "YES" are below the table.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Nested IF function needed

    Please Login or Register  to view this content.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nested IF function needed

    I'm pretty sure you're going to have to post a SMALL sample file so we can see what you're wanting to do.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    09-20-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2013
    Posts
    21

    Re: Nested IF function needed

    1402B-F14-A2-Q1-100768470.xlsx

    See attached... if that worked

  5. #5
    Registered User
    Join Date
    09-20-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2013
    Posts
    21

    Re: Nested IF function needed

    I need to use a nested IF function in cell F8 to figure out the total annual cost for each club member, including the annual membership fee, the Locker Fee and Spa Pass (I will need to use multiple conditions and absolute references to accomplish it)

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nested IF function needed

    Quote Originally Posted by mehmetcik View Post
    =IF(A1="YES",10,0)+IF(b1="YES",10,0)+IF(c1="YES",10,0)+IF(d1="YES",10,0)
    Where are you getting the value of 10 if TRUE?

    You can reduce that to:

    =COUNTIF(A1:D1,"Yes")*10

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nested IF function needed

    Quote Originally Posted by Petsi View Post
    I need to use a nested IF function in cell F8 to figure out the total annual cost for each club member, including the annual membership fee, the Locker Fee and Spa Pass (I will need to use multiple conditions and absolute references to accomplish it)
    Maybe this entered in F8 and copied down:

    =C8+IF(D8="Yes",C$31)+IF(E8="Yes",C$32)

  8. #8
    Registered User
    Join Date
    09-20-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2013
    Posts
    21

    Re: Nested IF function needed

    So I don't have to write something in the FALSE area? That looks so easy. I thought it was much more complicated.

    Thank you Tony! I am going to find this forum very useful!

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nested IF function needed

    Quote Originally Posted by Petsi View Post
    So I don't have to write something in the FALSE area?
    Not in this particular application.

    When the logical test is FALSE the IF function will return FALSE by default when the value_if_FALSE argument is omitted. Then, C8+FALSE will coerce the FALSE to numeric 0. So you could end up with C8+0.

    Thank you Tony! I am going to find this forum very useful!
    You're welcome. Thanks for the feedback!

+ 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] Nested IF or IF(AND formula needed please
    By rwalker1052 in forum Excel General
    Replies: 3
    Last Post: 11-26-2013, 03:58 AM
  2. [SOLVED] Nested if statements needed?
    By khenry67 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2013, 04:46 PM
  3. Nested IF function (urgent help needed)
    By HJalal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2013, 11:59 AM
  4. Nested If Formula Help Needed
    By johnsor1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-26-2012, 09:34 AM
  5. help with nested if() problem needed
    By whitegrass in forum Excel General
    Replies: 3
    Last Post: 10-15-2009, 02:16 PM

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