+ Reply to Thread
Results 1 to 9 of 9

how to align the text and number in the same row

  1. #1
    Registered User
    Join Date
    11-22-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    4

    Red face how to align the text and number in the same row

    hi, i would like to able to align the text and umber in the same row and text in one cell and and the number in next cell.
    here i want to explain it with an eg.
    In the following eg:when i exported the data to excel from a pdf.i got the data in the following way.where barista limited is doing transacions of purchase and sale,


    barista purchase
    limited 18525
    barista sale
    limited -12521
    barista purchase
    limited 11252

    but i want to change the data in excel like following way: barista limited in one colum, and purchase in next column ,and 18525 in next column.
    barista limited purchase 18525
    barista limited sale -12521
    barista limited purchase 11252

    could any one provide solution
    Last edited by krishnavani; 11-23-2012 at 09:31 AM. Reason: spell mistake

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: how to align the text and number in the same row

    is each line in its own cell? is each word in its own cell?.attach a workbook with a small sample
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: how to align the text and number in the same row

    i guess this might help, if there are lots of data we can try other way. please see attached and if you feel that your query has been resolved then you can change status to solved.
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: how to align the text and number in the same row

    well that might solve it but you need it to be dragable
    as it stands it would take ages or you drag it down and delete every other row
    =IF(MOD(ROWS($A$1:A1),2),A1&" "&A2&" "&B1&" "&B2,"") would work better

  5. #5
    Registered User
    Join Date
    10-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: how to align the text and number in the same row

    nice.... good one martindwilson, i learnt something new today. thanks again.

  6. #6
    Registered User
    Join Date
    11-22-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to align the text and number in the same row

    hi, martin,, i edited my post with attachent, could you look into that.

  7. #7
    Registered User
    Join Date
    11-22-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to align the text and number in the same row

    ya .. i tried it its worked out,,, but i have the that kind of data in 1000 cells is there any way to get that at a time,,and another thing is i have to sumup the quantity,,if i am using the text to column to get quantity i am not getting,,

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: how to align the text and number in the same row

    ????? it takes seconds to fill down but to make it look as you desire see this one
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-22-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: how to align the text and number in the same row

    thank you,,,,,its resolved,,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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