+ Reply to Thread
Results 1 to 5 of 5

Need splitting of cells

Hybrid View

raje Need splitting of cells 11-22-2017, 06:25 AM
Glenn Kennedy Re: Need splitting of cells 11-22-2017, 07:02 AM
Kaper Re: Need splitting of cells 11-22-2017, 07:16 AM
raje Re: Need splitting of cells 11-22-2017, 07:30 AM
raje Re: Need splitting of cells 11-22-2017, 07:29 AM
  1. #1
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Need splitting of cells

    Helo friends i need split the one cell data to 4 cells. and two cells with formulas.

    hope some one is helping....

    Thank you...
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Need splitting of cells

    Formulae in D, E, O & P are array formulae. Others are ordinary formulae.

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    Different shade colour = different formula. happy to explain...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Need splitting of cells

    I think, as this is posted in Programming/macro?VBA forum, the solution with code is expected.

    So here is my proposition. Sheet1 active and such code run:
    Sub test()
    Dim i As Long, j As Integer, lr As Long, dimensions
    Application.DisplayAlerts = False
    Sheets("Sheet1").Copy After:=Sheets(Sheets.Count)
    Columns("B:R").EntireColumn.AutoFit
    Columns("I:M").Insert shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
    lr = Cells(Rows.Count, "H").End(xlUp).Row
    For i = lr - 1 To 3 Step -2
      Cells(i, "K") = Val(Mid(Cells(i + 1, "H"), 3))
      dimensions = Split(Cells(i, "H"), " x ")
      For j = 0 To 2
        Cells(i, "H").Offset(0, j) = Val(dimensions(j))
      Next j
      Cells(i, "L").Formula = "=H" & i & "*I" & i & "/1000000" 'here your description is misleading
      Cells(i, "M").Formula = "=SQRT(L" & i & ")"
      Rows(i + 1).Delete shift:=xlUp
    Next i
    Application.DisplayAlerts = False
    End Sub
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Need splitting of cells

    Quote Originally Posted by Kaper View Post
    I think, as this is posted in Programming/macro?VBA forum, the solution with code is expected.

    So here is my proposition. Sheet1 active and such code run:
    Perfect ..Thank you very much kaper..

  5. #5
    Registered User
    Join Date
    11-19-2017
    Location
    USA
    MS-Off Ver
    2007
    Posts
    38

    Re: Need splitting of cells

    Hi Thq Glenn Kennedy

+ 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] splitting cells
    By wayneg in forum Excel General
    Replies: 7
    Last Post: 08-13-2014, 02:57 PM
  2. Splitting Cells
    By silvrwoman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2012, 01:56 PM
  3. Replies: 1
    Last Post: 06-11-2009, 03:57 AM
  4. splitting cells
    By markmerid in forum Excel General
    Replies: 1
    Last Post: 09-05-2006, 07:52 AM
  5. Splitting Cells
    By MFFC2005 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-02-2005, 12:05 PM
  6. [SOLVED] Splitting Cells
    By D Head in forum Excel General
    Replies: 1
    Last Post: 06-30-2005, 10:05 AM
  7. Splitting Cells
    By ROADKILLBILL in forum Excel General
    Replies: 0
    Last Post: 03-16-2005, 08:20 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