+ Reply to Thread
Results 1 to 6 of 6

how to ignore error in foumla when combine the colomn

  1. #1
    Registered User
    Join Date
    04-27-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    87

    how to ignore error in foumla when combine the colomn

    Hiiiiii Experts
    I am back again with the problme

    Capture.JPG


    see the above image
    i want a formula in F1
    Which take 1A full then last five digit of B1,C1 and D1
    and if D1 has error should be ignore

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,684

    Re: how to ignore error in foumla when combine the colomn

    seems to me the easiest way is to add this to your formula in column D to get rid of the #NUM! =iferror(your formula,"") Then something like this for the remainder... =A1&"/"&RIGHT(B1,5)&"/"&RIGHT(C1,5)&"/"&RIGHT(D1,5)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    04-27-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    87

    Re: how to ignore error in foumla when combine the colomn

    thanks
    it works but,
    I have no idea how to add iferror in formula

    below is my formula

    =INDEX('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$F$2:$F$2725, SMALL(IF($C780='[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725, ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725)-ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2)+1), COLUMN('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!B$1)))

    please add ifferror and reply me

  4. #4
    Registered User
    Join Date
    04-27-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    87

    Re: how to ignore error in foumla when combine the colomn

    HII Sambo kid

    AS PER YOUR FORMULA i.e

    =A1&"/"&RIGHT(B1,5)&"/"&RIGHT(C1,5)&"/"&RIGHT(D1,5)
    IF C1 AND D1 IS BLANK
    "/" WILL SHOWN IN ANSWER
    i DONT WANT "/" IF C1 OR D1 ARE BLANK
    Last edited by sharadmaxwell; 06-28-2016 at 06:08 AM.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,684

    Re: how to ignore error in foumla when combine the colomn

    I might try adding the iferror here... =IFERROR(INDEX('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$F$2:$F$2725, SMALL(IF($C780='[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725, ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725)-ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2)+1), COLUMN('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!B$1))),"") but this is an untested guess.
    Next, you hadn't mentioned that C1 could be blank too. Can you give all the details so a formula could be worked out.
    Better yet, can you upload a small sample with no confidential data so we have actual examples to work with?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: how to ignore error in foumla when combine the colomn

    Quote Originally Posted by sharadmaxwell View Post
    HII Sambo kid

    AS PER YOUR FORMULA i.e

    =A1&"/"&RIGHT(B1,5)&"/"&RIGHT(C1,5)&"/"&RIGHT(D1,5)
    IF C1 AND D1 IS BLANK
    "/" WILL SHOWN IN ANSWER
    i DONT WANT "/" IF C1 OR D1 ARE BLANK
    Without going too deeply into what you have, maybe...
    =if(or(C1="",D1="","",A1&"/"&RIGHT(B1,5)&"/"&RIGHT(C1,5)&"/"&RIGHT(D1,5))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Combine 2 Excel columns into 1 - use number and ignore text
    By emmafutter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-17-2016, 07:35 AM
  2. [SOLVED] On error, ignore error but show message box
    By chin67326 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2015, 07:54 PM
  3. combine/merge 2 rows together using duplicate colomn
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2013, 03:08 PM
  4. Replies: 4
    Last Post: 10-29-2012, 10:26 AM
  5. how to apply Formula at all colomn without the first colomn
    By ramiyousef in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-19-2012, 03:31 AM
  6. Replies: 1
    Last Post: 04-24-2012, 04:14 AM
  7. Combine 2 formulas to ignore errors?
    By ross.mitchell in forum Excel General
    Replies: 4
    Last Post: 12-09-2009, 09:25 AM

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