Solved

Array formula error cannot see mistake

Posted on 2016-10-14
9
56 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
9 Comments
 
LVL 26

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 7

Expert Comment

by:D Patel
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 7

Expert Comment

by:D Patel
ID: 41843164
Sorry professorjimjam,

You and I have strike the comments at a time.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:route217
ID: 41843165
I did do that....that's way I am confused...
0
 
LVL 7

Expert Comment

by:D Patel
ID: 41843167
Will you share your sample sheet to check the error then ....
0
 
LVL 26

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 26

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

717 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