+ Reply to Thread
Results 1 to 3 of 3

Really quick question: Why won't this array formula let me have a static number in it?

  1. #1
    Registered User
    Join Date
    06-29-2017
    Location
    USA
    MS-Off Ver
    Office 2016
    Posts
    76

    Really quick question: Why won't this array formula let me have a static number in it?

    I have this formula:

    =SUMPRODUCT(--ISNUMBER(MATCH($AR$5:$BC$5,C$271,0)*MATCH($JR$6:$JR$143,$A273,0)*MATCH($JQ$6:$JQ$143,$A$269,0)),$AR$6:$BC$143)

    Cell $A$269 just has the number 1 in it.

    But I want to change $A$269 in the formula to just be equal to the number instead, so that I don't have to reference a cell there.

    I tried:

    =SUMPRODUCT(--ISNUMBER(MATCH($AR$5:$BC$5,C$271,0)*MATCH($JR$6:$JR$143,$A273,0)*MATCH($JQ$6:$JQ$143,1,0)),$AR$6:$BC$143)

    and


    =SUMPRODUCT(--ISNUMBER(MATCH($AR$5:$BC$5,C$271,0)*MATCH($JR$6:$JR$143,$A273,0)*MATCH($JQ$6:$JQ$143,"1",0)),$AR$6:$BC$143)

    But neither option works...what's going on here?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Really quick question: Why won't this array formula let me have a static number in it?

    Try:

    MATCH($JQ$6:$JQ$143,{1},0)

    As for "why?": because the help page indicates that the second parameter must be a lookup array.

    PS.... Presumably, MATCH($JQ$6:$JQ$143,$A$269,0) is interpreted as MATCH($JQ$6:$JQ$143,$A$269:$A$269,0)
    Last edited by joeu2004; 07-24-2017 at 03:26 PM. Reason: PS

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Really quick question: Why won't this array formula let me have a static number in it?

    Crossposted and answered here:
    https://www.mrexcel.com/forum/excel-...ic-number.html

    Thanks for wasting Marcelo or my time by the duplication. That is exactly why crossposting without your telling us is discouraged.

+ 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. Quick Array question
    By Buzz1126 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-31-2016, 02:34 PM
  2. A quick question to find out last picture number in the worksheet
    By sabha in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-13-2015, 11:33 PM
  3. Quick Question! Count Elements in 1D or 2D array
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2014, 10:53 PM
  4. [SOLVED] Quick Array question - Copy array to another array then resize?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-02-2013, 01:17 AM
  5. [SOLVED] Is there a quick way to make all formulas as static text?
    By BNCOXUK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2013, 10:47 AM
  6. Can't debug formula, and a quick array question
    By Chinchin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-18-2011, 08:28 AM
  7. Quick question - quick answer about assigning shortcut keys
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2005, 06:05 AM

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