+ Reply to Thread
Results 1 to 5 of 5

Ignore #N/A while concatinate

  1. #1
    Forum Contributor
    Join Date
    02-21-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    100

    Ignore #N/A while concatinate

    Hi Gurus,
    How do I uncount or igonre #N/A values while I concatenate say from cells A1, B1, C1, D1.. where B1 & D1 has #N/A values. I just want to concatenate values without #NA.

    A1 - #N/A - C1 - #N/A

    If I apply = concatenate(A1,B1,C1,D1) I expect - A1C1

    Thanks a bunch

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Ignore #N/A while concatinate

    Try this: =IF(OR(ISNA(B1),ISNA(D1)),CONCATENATE(A1,C1),CONCATENATE(A1,B1,C1,D1))
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    02-21-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Ignore #N/A while concatinate

    Hey thanks Alansidman, it works only when I have few entries, but I have at least 500 entries and I cant specifiy by each cell. I need formula to evaluate each cell and exculde it from concatenation if it is #N/A.


    Thanks

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Ignore #N/A while concatinate

    Try using a UDF (not created by me)
    Check attached.
    Credits-- http://www.contextures.com/rickroths...elvbatext.html
    Attached Files Attached Files
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Ignore #N/A while concatinate

    You should really prevent the N/A's occurring beforehand
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Concatinate a matrix
    By m2_ilango in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2014, 04:20 AM
  2. [SOLVED] Concatinate + vlookup
    By Ian Macruadh in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-03-2012, 09:31 PM
  3. Concatinate the text of each row
    By dumiduw in forum Excel General
    Replies: 4
    Last Post: 05-29-2012, 07:27 AM
  4. Concatinate
    By arnab0711 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2008, 05:05 PM
  5. concatinate data
    By Rhonda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-20-2006, 01:55 PM
  6. [SOLVED] Concatinate a filename
    By CLR in forum Excel General
    Replies: 28
    Last Post: 08-01-2005, 07:05 PM
  7. Concatinate worked but...
    By Newbie in forum Excel General
    Replies: 2
    Last Post: 06-11-2005, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1