Hi, I have an array:
=IF($D$53:$D$62="";"";INDEX($D$53:$D$62;SMALL(IF($D$53:$D$62<>"";ROW($D$53:$D$62)-ROW($D$53)+1);1)))
but when $D$53:$D$62="" gives #NUM!
How can I go around it?
Thanks
Hi, I have an array:
=IF($D$53:$D$62="";"";INDEX($D$53:$D$62;SMALL(IF($D$53:$D$62<>"";ROW($D$53:$D$62)-ROW($D$53)+1);1)))
but when $D$53:$D$62="" gives #NUM!
How can I go around it?
Thanks
First off, I'm not good with debugging array formulas especially if all I can see is the posted formula and not the actual spreadsheet but I wonder if you substituted a sum formula for the first part of the array? like =IF(sum($D$53:$D$62)="";"";INDEX($D$53:$D$62;SMALL(IF($D$53:$D$62<>"";ROW($D$53:$D$62)-ROW($D$53)+1);1)))
might work?
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
thank you,
worked like this:
=IF(sum($D$53:$D$62)=0;"";INDEX($D$53:$D$62;SMALL(IF($D$53:$D$62<>"";ROW($D$53:$D$62)-ROW($D$53)+1);1)))
But I give you all the credit. Thanks again!
Yes, I should have put it in as =0 instead of ="", was only trying with a guess. Glad it worked for you as you adjusted it.![]()
Sorry, but is not working!~lol
It's always true. Can I send you the workbook?
the best thing to do is upload it here with any confidential information removed. As I noted I'm not that good with array formulas so if you upload the doc here others who have better skills than I have with array formulas might see something i don't see. Just use the "go advanced" button below. I always find that saving the doc to my desktop is the easiest way to upload it.
Besides that, i'm not going to be online much longer.
Last edited by Sam Capricci; 02-06-2016 at 11:29 PM.
array error help.
new workbook with no links (45Kb)
thanks for help
If I am understanding correctly you want to hide the error. If that is correct then an array formula similar to the following will work:I applied this array formula to Q7, activated it with Ctrl+Shift+Enter, and dragged it across to X7.![]()
Please Login or Register to view this content.
Let me know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
Sorry, My bad, it works fine If(iserror(...);"";...)
thank you for your help!
Your Welcome and thank you for the feedback, glad that things are now working as expected. If the solutions are satisfactory, and if you have not already, please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a nice day.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks