+ Reply to Thread
Results 1 to 6 of 6

Is there a limit on referencing cells?

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Is there a limit on referencing cells?

    For example in this formula I typed in WWW as the max:

    =SUMPRODUCT(($F$5:$WWW$5>=C2)*1,($F$5:$WWW$5<=C3)*1,ABS($F$6:$WWW$6))

    If I try to type in a value higher than WWW it will give me an error.

    I was just trying to put in an amount that I would never hit within the row.
    Last edited by avidcat; 05-02-2009 at 04:14 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Is there a limit on referencing cells?

    try with =SUMPRODUCT(5:5>=C2...

  3. #3
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Is there a limit on referencing cells?

    I dont' think that will work as it needs to start at column F, I have data in the first few columns.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,570

    Re: Is there a limit on referencing cells?

    You did not describe your sheet so this may not work, but:
    Given an unused cell, say, K3, you could use the INDIRECT fn to build the address range:
    Please Login or Register  to view this content.
    Then, your SUMPRODUCT fn would be:
    Please Login or Register  to view this content.
    Ben Van Johnson

  5. #5
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Is there a limit on referencing cells?

    Thanks for the help.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Is there a limit on referencing cells?

    I suspect the issue is down to the contents of the cells beyond WWW than anything else... the range itself should have no bearing.

    Also generally speaking the double unary method of coercion is regarded as being quicker than *1 etc...

    =SUMPRODUCT(--($F$5:$WWW$5>=C2),--($F$5:$WWW$5<=C3),ABS($F$6:$WWW$6))

    If you have text values in your final range you will get an error, if you have error values in any one of the ranges you will get an error... if the ranges used are not of equal size when you re-reference beyond WWW you will get an error.

    Basically... more info ... what is the error value returned ?

+ 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.6.0 RC 1