Array formula excluding #N/A

Greasle

New Member
Joined
Jul 24, 2017
Messages
21
Hi all,

I'm looking for a array formula doing this:


array.png


exclude #N/A from a list
but keep blanco

( i'm not a coder but i code. mostly i find what i need using google only. this time... i think my search string is to poor.)

Thx Greasle
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Not enough information about what you have and what you want to achieve.

Possible to post some sample data and expected results together with an explanation?
 
Upvote 0
The picture is not clear... ??

Ok I try... i'm deslectic...

in column B is a big list that i want to print. And its dynamic. its over 1000 cells/lines but 85% is filled with "#N/A" I like to print all others except "#N/A". But I dont want "#N/A" replaced by a blanco. So what i have is in Column B what I want is in Column D.
 
Upvote 0
The picture is not clear... ??
No, there is no picture. My signature block below has suggestions for posting small screen shots (10-20 rows, not 1000 :))


in column B is a big list that i want to print. And its dynamic. its over 1000 cells/lines but 85% is filled with "#N/A" I like to print all others except "#N/A". But I dont want "#N/A" replaced by a blanco.
Why don't you put an AutoFilter on, use the AutoFilter to exclude the #N/A values, print, then use the AutoFilter to re-show all rows?
 
Upvote 0
The picture eventually showed up for me. I don't know why it didn't to start with. :unsure:

Anyway, since you want to do this to print, did you consider my suggestion in post #5 ?

If you really do want to do it by formula, for the layout shown in the sample, try this formula in D3 and copy down
<del>=IFERROR(INDEX(B$3:B18,AGGREGATE(15,6,(ROW(B$3:B$18)-ROW(B$3)+1)/ISTEXT(B$3:B$18),ROWS(D$3:D3))),"")</del>


Edit: Sorry, the above formula was missing a $ sign and also I forgot about including blanks. Try this instead.
=IFERROR(INDEX(B$3:B$18&"",AGGREGATE(15,6,(ROW(B$3:B$18)-ROW(B$3)+1)/ISTEXT(B$3:B$18&""),ROWS(D$3:D3))),"")
 
Last edited:
Upvote 0
Nice Peter, !!!

that formula worked great in my example.

I'm going to work with this.

Yes i tried to figger out how to do it using autofiller. No luck.. i simply don't understand.

Thank you Peter.

Greasle
 
Upvote 0
OK, good news. Thanks for letting us know. :)
 
Upvote 0
Np it did not work in the real sheet....

it looks so simple... cant believe is so hard.

I go to find another way... got the feeling this leads in a maze... thx for your time Peter.
 
Upvote 0

Forum statistics

Threads
1,215,215
Messages
6,123,668
Members
449,114
Latest member
aides

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top