#1   Report Post  
carl
 
Posts: n/a
Default MCONCAT

I am using this formula:

mconcat(A1:A100,";")

A1:100 has a formaula in it. In some cases the cell contains #N/A. The
mconcat function does not work in these cases. Is there a way to modify my
formala so that it works even if there is #N/A in the A1;A100 ?

Thank you in advance.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
why not prevent the #NA error in the source cells with something like
=IF(ISNA(your_formula),"",your_formula)

--
Regards
Frank Kabel
Frankfurt, Germany
"carl" schrieb im Newsbeitrag
...
I am using this formula:

mconcat(A1:A100,";")

A1:100 has a formaula in it. In some cases the cell contains #N/A. The
mconcat function does not work in these cases. Is there a way to modify my
formala so that it works even if there is #N/A in the A1;A100 ?

Thank you in advance.



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

I would personally go with Frank's solution and fix the formulas that return
the errors,

=MCONCAT(IF(ISNA(A1:A100),"",A1:A100,";")

entered with ctrl + shift & enter will work



--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"carl" wrote in message
...
I am using this formula:

mconcat(A1:A100,";")

A1:100 has a formaula in it. In some cases the cell contains #N/A. The
mconcat function does not work in these cases. Is there a way to modify my
formala so that it works even if there is #N/A in the A1;A100 ?

Thank you in advance.



  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

"carl" wrote...
I am using this formula:

mconcat(A1:A100,";")

A1:100 has a formaula in it. In some cases the cell contains #N/A. The
mconcat function does not work in these cases. Is there a way to modify my
formala so that it works even if there is #N/A in the A1;A100 ?


Do you want empty fields corresponding to #N/As or skip those fields
entirely? If the former, use Frank or Peo's suggestions. If the latter, use
the array formula

=SUBSTITUTE(TRIM(MCONCAT(IF(ISNA(A1:A100),"",A1:A1 00)," "))," ",";")


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"