+ Reply to Thread
Results 1 to 5 of 5

Nested IF AND giving a too many arguments error

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    NE
    MS-Off Ver
    2013
    Posts
    42

    Nested IF AND giving a too many arguments error

    I have an excel database that I enter commodity bids into daily and it is sizeable. I have created a report tab that is formulated to pull data from the archive worksheets. This report is exported to a prn text file. On this report it populates a price range and a change from the previous day. I have combined multiple IF AND statements in the "Change From MMDDYY" column to present the change according to managements desire. Currently these changes are being manually typed in and it is very time consuming. Hence the IF AND formula.

    In the attached document you will see a very simplified version of the report. Column B and D is what is presented on the report. Column G-T are used for calculation purposes and will be hidden once formulations are functioning properly. I have broke down each of the IF AND statements in D8-D17. IE: D8 represents the first IF statement, D9 is the second IF statement so on and so forth. In D18 I have the entire formula that I want. You just need to insert equal to activate the formula.

    The problem I am having is when I add the last IF statement "D21" excel tells me I have too many arguments. I can have either IF statement in "D20" or "D21" in the main formula without any issues, but I can't have both of them together without the error. I need help with making the last two IF statements in D20 and D21 to work together in the main formula.

    Any help you can provide would be greatly appreciated.
    Attached Files Attached Files
    Last edited by rlh; 02-25-2017 at 02:55 PM. Reason: problem solved

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Nested IF AND giving a too many arguments error

    Perhaps Try

    D18
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Nested IF AND giving a too many arguments error

    Also try replacing ("higher") with "(higher)" and ("lower") with "(lower)".
    Dave

  4. #4
    Registered User
    Join Date
    08-21-2013
    Location
    NE
    MS-Off Ver
    2013
    Posts
    42

    Re: Nested IF AND giving a too many arguments error

    Thanks for your help. I got it to work with your advice.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Nested IF AND giving a too many arguments error

    Good deal. 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 function error "You've entered too many arguments..."
    By lhendrickson in forum Excel General
    Replies: 15
    Last Post: 11-19-2018, 09:53 AM
  2. [SOLVED] Nested IF(Match) Giving N/A error
    By jlapierre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-10-2016, 12:55 PM
  3. Nested IF function error "You've entered too many arguments..."
    By lovetofly32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2014, 08:33 PM
  4. If nested formulas, get "too many arguments" error
    By jpelayo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-13-2013, 05:40 AM
  5. Need a Nested IF with 12 Arguments
    By daz_uk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-29-2010, 08:54 AM
  6. Going beyond 7 Nested If Arguments
    By Supdem in forum Excel General
    Replies: 2
    Last Post: 08-05-2009, 03:06 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