Solved

Array formula error cannot see mistake

Posted on 2016-10-14
9
42 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:route217
ID: 41843165
I did do that....that's way I am confused...
0
 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Finding a closest match in Excel 7 47
Excel Pivot Chart - Need to show sum of totals 3 18
EXCEL 2013 question. 4 28
Rather Simple Formatting Question 6 24
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

778 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