+ Reply to Thread
Results 1 to 3 of 3

Thread: You've entered too many arguments for this function

  1. #1
    Registered User
    Join Date
    07-21-2011
    Location
    U.S.
    MS-Off Ver
    Excel 2010
    Posts
    4

    You've entered too many arguments for this function

    Hi, kind of new with doing complicated functions in Excel but I got the Error Message:
    You've entered too many arguments for this function.

    To get help with this function, click OK to close this message. Then click the Insert Function button located to the left of the equal sign in your formula.
    Anyway here's my code:
    =IF(AND(C11="USD/JPY",D11="Long"),(G11-F11)*100,IF(AND(C11="USD/JPY",D11<>"Long"),(F11-G11)*100),IF(AND(C11<>"USD/JPY",D11="Long"),(G11-F11)*10000),IF(AND(C11<>"USD/JPY",D11<>"Long"),(F11-G11)*10000))
    I'm basically trying to do 4 calculations:
    1. USD/JPY Long
    2. USD/JPY Short
    3. Not USD/JPY Long
    4. Not USD/JPY Short

    Any help would be very useful. Thanks!
    Last edited by NBVC; 07-21-2011 at 03:36 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,639

    Re: You've entered too many arguments for this function

    Misplaced parentheses?

    Try:

    =IF(AND(C11="USD/JPY",D11="Long"),(G11-F11)*100,IF(AND(C11="USD/JPY",D11<>"Long"),(F11-G11)*100,IF(AND(C11<>"USD/JPY",D11="Long"),(G11-F11)*10000,IF(AND(C11<>"USD/JPY",D11<>"Long"),(F11-G11)*10000,""))))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    07-21-2011
    Location
    U.S.
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: You've entered too many arguments for this function

    Thanks! It worked.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0