Solved

Array formula error cannot see mistake

Posted on 2016-10-14
9
36 Views
Last Modified: 2016-10-14
hi Experts using excel 2010

i have the following formula which has just stopped working and i cannot see the error...
=IFERROR(INDEX('Data Entry'!A$6:A$537,SMALL(IF('Data Entry'!$EL$6:$EL$537>=$G$1,IF('Data Entry'!$EL$6:$EL$537<=$I$1,ROW('Data Entry'!$EL$6:$EL$537)-ROW('Data Entry'!$EL$6)+1)),ROWS(A$4:A4))),"")
0
Comment
Question by:route217
  • 3
  • 3
  • 3
9 Comments
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41843162
perhaps you forgot to press Control Shift Enter.  and you might have just entered it with simple Enter.
0
 
LVL 6

Expert Comment

by:DPatel
ID: 41843163
Hi route217,

After entering the formula to convert it into Array :

Press the Ctrl + Shift + Enter key..
After doing this excel will add { in start of formula and } at last of formula.

Have done this....

Regards,
D Patel
0
 
LVL 6

Expert Comment

by:DPatel
ID: 41843164
Sorry professorjimjam,

You and I have strike the comments at a time.
0
 

Author Comment

by:route217
ID: 41843165
I did do that....that's way I am confused...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 6

Expert Comment

by:DPatel
ID: 41843167
Will you share your sample sheet to check the error then ....
0
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 41843168
use this instead and tell me if you get VALUE error

=INDEX('Data Entry'!A$6:A$537,SMALL(IF('Data Entry'!$EL$6:$EL$537>=$G$1,IF('Data Entry'!$EL$6:$EL$537<=$I$1,ROW('Data Entry'!$EL$6:$EL$537)-ROW('Data Entry'!$EL$6)+1)),ROWS('Data Entry'!A$4:A4)))
0
 

Author Comment

by:route217
ID: 41843510
Hi profjimjam

I do get a value error  and I expect the question in error.

Sorry
0
 

Author Comment

by:route217
ID: 41843512
Sorry get #n/a
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41843535
thanks for the feedback.  that is what i suspected happened.

the match is not found that is why you get N/A error.

let me break down the formula for you so that you could troubleshoot it by yourself. unless you share the workbook with me to find the problem.

this part of the formula is =INDEX('Data Entry'!A$6:A$537,   this is column where the data will be returned from depending on on which row it founds the first , second, third etc.

if condition tests the formula whether the range $EL$6:$EL$537 is greater or equal than value which is in G1 AND smaller or equal to value which is in I1

then the ROW functions are used to return the corresponding row number for INDEX function to return and SMALL function is used for returning multiple match for example nth match 1 , 2 ,3 etc which is incremented with ROW function at the end.

SMALL(IF('Data Entry'!$EL$6:$EL$537>=$G$1,IF('Data Entry'!$EL$6:$EL$537<=$I$1,ROW('Data Entry'!$EL$6:$EL$537)-ROW('Data Entry'!$EL$6)+1)),ROWS('Data Entry'!A$4:A4)))

not please put this formula and see if it returns any value greater then 0

=COUNTIFS('Data Entry'!$EL$6:$EL$537,">="&$G$1,'Data Entry'!$EL$6:$EL$537,"<="&$I$1)

if it returns 0 that means that the condition in your original formula cannot find the desired match.

please see and let me know. if you can upload a sample dummy file, then it is much easlier to troubleshoot it quickly.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now