+ Reply to Thread
Results 1 to 13 of 13

Long Array Formula Problem

Hybrid View

tnederlof Long Array Formula Problem 08-20-2009, 01:30 PM
NBVC Re: Long Array Formula Problem 08-20-2009, 01:36 PM
tnederlof Re: Long Array Formula Problem 08-20-2009, 01:49 PM
NBVC Re: Long Array Formula Problem 08-20-2009, 01:52 PM
tnederlof Re: Long Array Formula Problem 08-20-2009, 02:00 PM
NBVC Re: Long Array Formula Problem 08-20-2009, 02:08 PM
tnederlof Re: Long Array Formula Problem 08-20-2009, 02:23 PM
NBVC Re: Long Array Formula Problem 08-20-2009, 02:29 PM
tnederlof Re: Long Array Formula Problem 08-20-2009, 02:31 PM
daddylonglegs Re: Long Array Formula Problem 08-20-2009, 02:45 PM
tnederlof Re: Long Array Formula Problem 08-20-2009, 02:53 PM
NBVC Re: Long Array Formula Problem 08-20-2009, 02:39 PM
NBVC Re: Long Array Formula Problem 08-20-2009, 02:55 PM
  1. #1
    Registered User
    Join Date
    08-20-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Long Array Formula Problem

    Tried it and it returns zero so no such luck there. Basically I have columns DJ-DT on a micro sheet. DJ has 401(k)'s, DK has 401(a)'s, etc. I want to count a row if even just one of the 11 cells has something in it. Maybe there is an easier way and I just complicated it?

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

    Re: Long Array Formula Problem

    Thought your were checking if any one row contains all conditions...

    try then:

    =SUMPRODUCT((micro!DJ3:DJ8000="401(k)")+(micro!DK3:DK8000="401(a)")+(micro!DL3:DL8000="403(b)"),--(micro!DM3:DM8000="457")+(micro!DN3:DN8000="Roth 401(k)/Roth 403(b)")+(micro!DO3:DO8000="Money Purchase")+(micro!DP3:DP8000="Profit Sharing/ESOP")+(micro!DQ3:DQ8000="Non-Qualified Deferred Comp")+(micro!DR3:DR8000="SEP")+(micro!DS3:DS8000="SIMPLE IRA")+(micro!DT3:DT8000<=""))
    Where there is a will there are many ways.

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

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

  3. #3
    Registered User
    Join Date
    08-20-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Long Array Formula Problem

    I tried that and I got a number that is to high. I think its close. Why is it in two arrays? Sorry I am new to this complexity of formulas. I see -- at one point in the formula. Should these be put before each column or not at all?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Long Array Formula Problem

    I messed up the last condition:

    =SUMPRODUCT((micro!DJ3:DJ8000="401(k)")+(micro!DK3:DK8000="401(a)")+(micro!DL3:DL8000="403(b)"),--(micro!DM3:DM8000="457")+(micro!DN3:DN8000="Roth 401(k)/Roth 403(b)")+(micro!DO3:DO8000="Money Purchase")+(micro!DP3:DP8000="Profit Sharing/ESOP")+(micro!DQ3:DQ8000="Non-Qualified Deferred Comp")+(micro!DR3:DR8000="SEP")+(micro!DS3:DS8000="SIMPLE IRA")+(micro!DT3:DT8000<>""))

  5. #5
    Registered User
    Join Date
    08-20-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Long Array Formula Problem

    I really appreciate your help. Now the number is to low... 911 when it should be 2522 (when I do it manually). Any ideas? Can you explain what your formula is doing and maybe if its doing something else I can tell you what I need it to do more clearly?

+ 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