+ Reply to Thread
Results 1 to 10 of 10

Issue with formula array

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    Lithuania, Klaipeda
    MS-Off Ver
    Excel 2013
    Posts
    96

    Issue with formula array

    Hello i have this formula hyperlink:
    =HYPERLINK("#"&"'map'!"&ADDRESS(SUMPRODUCT(('map'!A1:Z999=O4)*ROW(A1:Z999));SUMPRODUCT(('map'!A1:Z999=O4)*COLUMN(A1:Z999)));" "&O4)
    but every time i copied it down, it change array acordingly, for example:
    =HYPERLINK("#"&"'map'!"&ADDRESS(SUMPRODUCT(('map'!A1:Z999=O4)*ROW(A1:Z999));SUMPRODUCT(('map'!A1:Z999=O4)*COLUMN(A1:Z999)));" "&O4)
    =HYPERLINK("#"&"'map'!"&ADDRESS(SUMPRODUCT(('map'!A2:Z1000=O5)*ROW(A2:Z1000));SUMPRODUCT(('map'!A2:Z1000=O5)*COLUMN(A2:Z1000)));" "&O5)
    =HYPERLINK("#"&"'map'!"&ADDRESS(SUMPRODUCT(('map'!A3:Z1001=O6)*ROW(A3:Z1001));SUMPRODUCT(('map'!A3:Z1001=O6)*COLUMN(A3:Z1001)));" "&O6)
    is it possible to make this formula that the bolded section never changes?

  2. #2
    Registered User
    Join Date
    02-10-2015
    Location
    United Kingdom
    MS-Off Ver
    2010
    Posts
    25

    Re: Issue with formula array

    Put $ in front of every range to lock it. Or select cell and press F4 it will lock all ranges in that cell.

    $A$1:$Z$999 - will lock this range. You can copy, it will stay the same.

  3. #3
    Registered User
    Join Date
    02-27-2014
    Location
    Lithuania, Klaipeda
    MS-Off Ver
    Excel 2013
    Posts
    96

    Re: Issue with formula array

    Thanks, it solved a problem.
    I have one additional question, is it possible to make this formula to show blank cell or something like that, but not the #VALUE! when it does not find value
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Issue with formula array

    I assume that you're using Excel 2007 otr more recent (as you posted an XLSX file) and not 2003, as stated in your profile. Wrap your formula in an error trapping formula like this one:

    =iferror(yourformula,"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    02-10-2015
    Location
    United Kingdom
    MS-Off Ver
    2010
    Posts
    25

    Re: Issue with formula array

    =IFERROR(HYPERLINK("#"&"'map'!"&ADDRESS(SUMPRODUCT(('map'!A1:Z999=O4)*ROW(A1:Z999));SUMPRODUCT(('map'!A1:Z999=O4)*COLUMN(A1:Z999)));" "&O4)), "")

    As Glenn above mentioned.

  6. #6
    Registered User
    Join Date
    02-27-2014
    Location
    Lithuania, Klaipeda
    MS-Off Ver
    Excel 2013
    Posts
    96

    Re: Issue with formula array

    I try this
    =IFERROR(HYPERLINK("#"&"'References'!"&ADDRESS(SUMPRODUCT((References!$A$1:$A$999=AY13)*ROW($A$1:$A$999));SUMPRODUCT((References!$A$1:$A$999=AY13)*COLUMN($A$1:$A$999)));" "&AY13)), "")
    but it shows error, that "You've entered too few arguments for this function"

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Issue with formula array

    Where are you? i don't know what klp is supposed to mean. Do you use , or ; as a separator in formulae?

    If ; then change to

    =iferror(yourformula;"")
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 06-08-2015 at 05:06 AM. Reason: Sheet now attached showing formula in place

  8. #8
    Registered User
    Join Date
    02-10-2015
    Location
    United Kingdom
    MS-Off Ver
    2010
    Posts
    25

    Re: Issue with formula array

    Please check formula which you submitted in first post. I took it from there. Then use it as Glenn mentioned.
    Last edited by stylemonk; 06-08-2015 at 05:12 AM.

  9. #9
    Registered User
    Join Date
    02-27-2014
    Location
    Lithuania, Klaipeda
    MS-Off Ver
    Excel 2013
    Posts
    96

    Re: Issue with formula array

    Used your file. It works perefectly. Thanks

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Issue with formula array

    Glad you got sorted & thanks for your feedback!!

+ 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. SUM ARRAY Formula Issue - Probably an easy one...
    By huntethic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-10-2015, 12:27 PM
  2. Having an issue with an Array Formula sorting lists
    By Pershing in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2014, 09:31 AM
  3. Array formula issue
    By dushtin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-27-2013, 11:53 AM
  4. Array / Concatenate formula issue
    By Ozwilly in forum Excel General
    Replies: 6
    Last Post: 10-27-2011, 04:41 AM
  5. [SOLVED] Tricky array formula issue - Using array formula on one cell, then autofilling down a range
    By aspenbordr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2005, 11: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