+ Reply to Thread
Results 1 to 13 of 13

CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Formula)

  1. #1
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Smile CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Formula)

    Dear All,


    I am not much aware of the formulas in excel so, could you please any one help me to solve my issue.

    Cell D to F Contains some text which is defined by using IF condition in Excel. I need to Concatenate this cells in Cell G but few of the cells May not have any values. So concatenate need to be done only for value available cells and eliminate the non-value cells (We can't say it is blank cells since it is having formula) And also each value prefix contains the numbers (Auto Numbering for Each value in Cell G) in Cell G with comma between one cell value to another cell value which will help to segregate the concatenate cell values. Incase if any of the Cells Contains #N/A then eliminate that cell and concatenate the remaining cells.

    For Your Better understanding, I have attached the sample excel sheet with available data with my requirement.

    I would appreciate if any one respond quickly.

    Regards,
    KK
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    363

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Hello,

    See if the file attached helps you out. I have added 3 helper columns and hide it once you understand.

    I would apply if error formula for Weight note, Material note, unit note columns to rule out the error.

    Check if this works for full data
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-16-2013
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    First of all u should replace #N/A with using replace and remove tools(ctrl+H) and then
    paste this formula in desired cell and drag down...

    =TRIM(IF(COUNTBLANK(D2),"",COUNTA($D2:D2)&")"&D2)&" "&IF(COUNTBLANK(E2),"",(COUNTA($D2:E2)-COUNTBLANK(D2))&")"&E2)&" "&IF(COUNTBLANK(F2),"",(COUNTA($D2:F2)-COUNTBLANK($D2:$E2)&")"&F2)))

  4. #4
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    HEllo Ashishraj,

    It is working Fine.But Still I need to your help to solve my problem.

    As I menioed Earlier, I am not familier with Excel so Could you please write the formula for another two more cells extra for my better understanding (From Consider Cell D to H Data need to be Concatenate and also cell A)

    In My actualData sheet the values are not in the contionus cell. The first data present in the cell A then Cell D to H So, could you please reform the formul and post it again for my further understanding and usage.

    Thanks for your help and looking forward your further help

    Regards,
    KK
    Last edited by KSQUARE2K6; 07-23-2013 at 07:32 AM.

  5. #5
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Hello Elayaz,

    Your Formula working fine but it is really very tough for me to understand(I am very new to Excel formulas). Still I need to explore my requirement but Before exploring further Let me understand the formulas first.

    I am new to excel formulas so, it will take some time to understand but I hope, I will quickly Learn the formulas.
    Thanks for your Prompt reply and help.
    Regards,
    KK

  6. #6
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Dear All,

    Any one please help me to solve my problem as requested in my last post.

    Thanks in advance

    Regards,
    Kk

  7. #7
    Registered User
    Join Date
    07-16-2013
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    =IF(OR(N(A1),ISTEXT(A1))=TRUE,COUNTA(A1)&")"&A1&","&IF(D1="","",COUNTA(D1)+1&")"&D1&",")&IF(E1="","",COUNTA(D1:E1)+1&")"&E1&",")&IF(F1="","",COUNTA(D1:F1)+1&")"&F1&",")&IF(G1="","",COUNTA(D1:G1)+1&")"&G1&",")&IF(H1="","",COUNTA(D1:H1)+1&")"&H1),IF(D1="","",COUNTA(D1)&")"&D1&",")&IF(E1="","",COUNTA(D1:E1)&")"&E1&",")&IF(F1="","",COUNTA(D1:F1)&")"&F1&",")&IF(G1="","",COUNTA(D1:G1)&")"&G1&",")&IF(H1="","",COUNTA(D1:H1)&")"&H1))

    hope this for you...

  8. #8
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Hi ,

    This formula works fine in the normal excel sheet but this is not working when the cells are filled with formula (Blank data arrived with help of If formula).Hence the formula is activated for blank cells so the auto numbering is done for blank cells also

    Could you please look this issue and help me again.

    Regards,
    KK

  9. #9
    Registered User
    Join Date
    07-16-2013
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    =IF(OR(ISNUMBER(A1),ISTEXT(A1))=TRUE,COUNTA(A1)&")"&A1&","&IF(D1="","",COUNTA(D1)+1&")"&D1&",")&IF(E1="","",COUNTA(D1:E1)+1&")"&E1&",")&IF(F1="","",COUNTA(D1:F1)+1&")"&F1&",")&IF(G1="","",COUNTA(D1:G1)+1&")"&G1&",")&IF(H1="","",COUNTA(D1:H1)+1&")"&H1),IF(D1="","",COUNTA(D1)&")"&D1&",")&IF(E1="","",COUNTA(D1:E1)&")"&E1&",")&IF(F1="","",COUNTA(D1:F1)&")"&F1&",")&IF(G1="","",COUNTA(D1:G1)&")"&G1&",")&IF(H1="","",COUNTA(D1:H1)&")"&H1))

    This formula works on all types of cells in addition to the blank cell.......

  10. #10
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Hello,

    Thanks for your formula. But when I am trying to apply the formula in my sheet, it doesn’t works.
    I have attached my original sheet where the formula applied in the cell q.
    The cell q should concatenate the cell I & cell K to Cell P with auto numbering.
    I have a problem in the auto numbring in the formula(Look the cell q result). Could you please look the issue in the attached excel and revert back to me with the correction.

    Once again thanks for your help

    Regards,
    KK
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-16-2013
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    34

    Thumbs up Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Quote Originally Posted by KSQUARE2K6 View Post
    Hello,

    Thanks for your formula. But when I am trying to apply the formula in my sheet, it doesn’t works.
    I have attached my original sheet where the formula applied in the cell q.
    The cell q should concatenate the cell I & cell K to Cell P with auto numbering.
    I have a problem in the auto numbring in the formula(Look the cell q result). Could you please look the issue in the attached excel and revert back to me with the correction.

    Once again thanks for your help

    Regards,
    KK
    watch this workbook for required answer........
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Thanks Ashishraj...

    My problem got resolved...

    Thanks,
    KK

  13. #13
    Registered User
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: CONCATENATE with Auto Numbering and Eliminate the Empty Value cell(Cells contains Form

    Hello Every one,

    My problem got resolved by Ashishraj...

    Thanks for every one support

    Regards,
    KK

+ 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. [SOLVED] Move Contents of Cells and Eliminate Empty Rows
    By aviatecar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2012, 08:44 PM
  2. eliminate empty cells in Range
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-22-2007, 11:54 PM
  3. Resolved >>> auto numbering cells?
    By zb61 in forum Excel General
    Replies: 3
    Last Post: 10-25-2007, 05:05 AM
  4. Eliminate empty cells in data range
    By Stephen in forum Excel General
    Replies: 1
    Last Post: 04-01-2005, 11:06 PM
  5. [SOLVED] Auto numbering cells
    By RichieRich in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2005, 06:06 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