+ Reply to Thread
Results 1 to 3 of 3

Entered to many arguments for this function

  1. #1
    Registered User
    Join Date
    01-03-2014
    Location
    Silver Spring, MD
    MS-Off Ver
    Excel 2007
    Posts
    1

    Entered to many arguments for this function

    Hello,

    I'm trying to do a if(sum function and I keep getting the message that more arguments have been specified for this function than are allowed in the current file format. The function that I am using is a standard one that I have been using for budgets that I have been building for a while now and I have never had this message returned to me. If anyone could take a look at this formula and let me know if you see any errors it would be greatly appreciated.

    =IF(SUM(J54,J164,J274,J384,J494,J604,J714,J824,J934,J1044,J1154,J1264,J1374,J1484,J1594,J1704,J1814,J1924,J2034,J2144,J2254,J2364,J2474,J2584,J2694,J2804,,J2914,J3024,J3134,J3244,J3354,J3464)=0,0,IF(SUM(J54,J164,J274,J384,J494,J604,J714,J824,J934,J1044,J1154,J1264,J1374,J1484,J1594,J1704,J1814,J1924,J2034,J2144,J2254,J2364,J2474,J2584,J2694,J2804,J2914,J3024,,J3134,J3244,J3354,J3464)=0.5,0,IF(SUM(J54,J164,J274,J384,J494,J604,J714,J824,J934,J1044,J1154,J1264,J1374,J1484,J1594,J1704,J1814,J1924,J2034,J2144,J2254,J2364,J2474,J2584,J2694,J2804,J2914,J3024,J3134,J3244,J3354,J3464)<0.5,ROUNDUP(SUM(J54,J164,J274,J384,J494,J604,J714,J824,J934,J1044,J1154,J1264,J1374,J1484,J1594,J1704,J1814,J1924,J2034,J2144,J2254,J2364,J2474,J2584,J2694,J2804,J2914,J3024,J3134,J3244,J3354,J3464),0)-0.5,ROUNDUP(SUM(J54,J164,J274,J384,J494,J604,J714,J824,J934,J1044,J1154,J1264,J1374,J1484,J1594,J1704,J1814,J1924,J2034,J2144,J2254,J2364,J2474,J2584,J2694,J2804,J2914,J3024,J3134,J3244,J3354,J3464),0)) SUM(J54,J164,J274,J384,J494,J604,J714,J824,J934,J1044,J1154,J1264,J1374,J1484,J1594,J1704,J1814,J1924,J2034,J2144,J2254,J2364,J2474,J2584,J2694,J2804,J2914,J3024,,J3134,J3244,J3354,J3464)))


    -Cuda

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Entered to many arguments for this function

    all those strings made my eyes hurt so i replaced them and it boils down to
    =IF(SUM(ZZZZZ)=0,0,
    IF(SUM(XXXX)=0.5,0,
    IF(SUM(YYYY)<0.5,ROUNDUP(SUM(YYYY),0)-0.5,ROUNDUP(SUM(YYYY),0)) SUM(XXXX)))
    the last if is wrong there are to many arguments
    edit its actually
    =IF(SUM(XXXXXXX)=0,0,IF(SUM(XXXXXXX)=0.5,0,IF(SUM(XXXXXXX)<0.5,ROUNDUP(SUM(XXXXXXX),0)-0.5,ROUNDUP(SUM(XXXXXXX),0)) SUM(XXXXXXX))) but you have some double ,, in the strings
    Last edited by martindwilson; 01-03-2014 at 01:17 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Entered to many arguments for this function

    incidentally you can replace that long sum string with
    =SUMPRODUCT(--(MOD(ROW($J$54:$J$3464),110)=54),$J$54:$J$3464)

+ 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. You've entered too many arguments for this function. Error
    By MacAaroni74 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-02-2013, 09:06 PM
  2. [SOLVED] Help with "You've entered too many arguments for this function" multiple INDEX(MATCH
    By BeachRock in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2013, 06:10 PM
  3. [SOLVED] [IF/AND] You've entered too many arguments for this function.
    By seaspi in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-21-2013, 07:04 PM
  4. You've entered too many arguments for this function
    By sutharnehal in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-24-2012, 09:25 PM
  5. You've entered too many arguments for this function
    By leematthews in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2011, 03:11 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