+ Reply to Thread
Results 1 to 3 of 3

Problems working with Nested IF and AND Functions in formulas and Summation.

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2013
    Posts
    2

    Problems working with Nested IF and AND Functions in formulas and Summation.

    Excel 2013

    Problem Formula:

    Please Login or Register  to view this content.
    Works fine when R is entered into E4

    Receives #NAME? when S is entered into E4

    But Line 5 works fine: R give enters 15 while S enters11

    If I change the Formula for line 4 so it is the same as line 5 Excel does not accept the formula

    Please Login or Register  to view this content.
    Solution (Found my error):

    Please Login or Register  to view this content.
    Do not know how to do this as a SUM function.

    Also if S is entered in Column E and nothing in Columns F,G,H,..... It still adds 11 to the Total instead of 0 (Works OK with R in Column E; 0 if Columns F,G,H are empty and 15 if Columns have P)

    Required:
    0 if R or S is in Column E and no entry in Columns F,G,H,.... ;
    15 if R is in Column E and P is in Columns F,G,H,...;
    11 if S is in Column E and P is in Columns F,G,H,...;
    4 if R is in Column E and A is in Columns F,G,H,...;

    This formula is entered in Cell 30, 60, 90, ... in Columns F,G,H, ....

    Thank you.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Problems working with Nested IF and AND Functions in formulas and Summation.

    Your forgot the " " around the P

    Use
    =IF(AND($E4="R",F4="P"),15,IF(AND($E4="S",F4="P"),11))+IF(AND($E5="R",F5="P"),15,IF(AND($E5="S"),11))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-25-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Problems working with Nested IF and AND Functions in formulas and Summation.

    Thank You for your answer Ace_XL

+ 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. AddIn With custom functions - Functions not working in Excel2010
    By brum17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2011, 08:25 AM
  2. Nested IF functions stop working after 8th nesting
    By kafukalatrava in forum Excel General
    Replies: 4
    Last Post: 04-06-2011, 07:47 AM
  3. Nested IF functions not working for more than 2 nests
    By yousafkhan1976 in forum Excel General
    Replies: 2
    Last Post: 03-14-2011, 12:49 PM
  4. Turning cells used in summation formulas on or off...
    By cheiss8078 in forum Excel General
    Replies: 1
    Last Post: 10-05-2010, 03:06 PM
  5. Nested if then problems
    By puppychow in forum Excel General
    Replies: 2
    Last Post: 08-07-2008, 02:20 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