+ Reply to Thread
Results 1 to 4 of 4

Too many arguments using nested ifs

  1. #1
    Registered User
    Join Date
    06-01-2021
    Location
    Oslo
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Too many arguments using nested ifs

    Hi.

    I'm facing some difficulties completing the formula in column G (Answer). No matter how I try to write the formula I get "Too many arguments", so obviously I'm doing something wrong.

    The formula I'm trying to complete is:
    • If there's no text in corresponding cell in column C then calculate if value in F is higher than E, if higher write no and lower write Yes.
    • If there's text in corresponding cell in column C then check value in corresponding cell in column F. If value is 0 or lower write yes, if value is higher than 0 write no.

    See attached document for reference.

    I tried two different variations, but same end result (Too many arguments).

    Hoping it's an easy fix that I'm just too oblivious to see.

    Thank you in advance.
    Attached Files Attached Files
    Last edited by eirik.joansen; 06-01-2021 at 06:04 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: Too many arguments using nested ifs

    Try

    =IF(ISBLANK(C2),IF(F2<E2,"Yes","No"), IF(AND(N(C2),F2>=0),"Yes","No"))

  3. #3
    Registered User
    Join Date
    06-01-2021
    Location
    Oslo
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: Too many arguments using nested ifs

    Thank you, worked like a charm.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Too many arguments using nested ifs

    Try this. In G2 then copy down

    =IF(C2="",IF(F2>E2,"No","Yes"),IF(ISTEXT(C2),IF(F2<=0,"Yes","No"),""))
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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. Nested IFISERROR Arguments
    By Darko_Giac in forum Excel General
    Replies: 3
    Last Post: 10-22-2020, 06:53 PM
  2. Macro for Nested IF - Too Many Arguments
    By dizjackson in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-06-2019, 08:03 AM
  3. Too many Nested arguments > 7
    By NickTY in forum Office 365
    Replies: 5
    Last Post: 11-15-2018, 10:22 AM
  4. [SOLVED] Help with Nested IF arguments, please
    By KWiseman in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-13-2018, 04:23 AM
  5. Too many arguments in nested if function
    By floridashaughn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-16-2014, 02:23 PM
  6. 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
  7. 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