• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Excel Group & Merge Question"

Collapse

  • scooterscot
    replied
    Most enjoyable read

    I once got excel to read a dxf drawing file and import the entire text of material into a table... no macro's involved! I was quite excited

    Leave a comment:


  • Lowery
    replied
    Ended up working it out....

    By the if I was snr management I would have deligated it to some poor sap!

    Leave a comment:


  • MarillionFan
    replied
    Best to stick a spreadsheet somewhere Lowery cause you're crap at explaining what you want!!!

    Do you work in senior management???

    Leave a comment:


  • cojak
    replied
    Originally posted by MarillionFan
    They're aint nothing I can't get Excel to do.
    I'll remember that, MF

    Leave a comment:


  • Sockpuppet
    replied
    Stick the spreadsheet online somewhere and PM me the link.

    Leave a comment:


  • lilelvis2000
    replied
    Does the report need to stay in Excel...'cause you could do this very easy in a Access report.

    Leave a comment:


  • Lowery
    replied
    Man I wish I could attach an excel sheet as an example....it would clearly show what I am trying to do.

    The way the labels are printed they need to be in this format...no way around it.

    Originally posted by Sockpuppet
    Cannot be doen without a lot of moving text about. If you merge a cell it will delete all the text other than the first cell.
    Yep. And that's ok because all the cells I am merging are of the same value. That's the formatting I need to do.

    The problem is that I can do it manually but it's going to take me days to get through the entire spreadsheet (total about 30000 rows).

    Figured there might be a macro/VB I can right which will merge all the cells with the same values.

    Leave a comment:


  • Sockpuppet
    replied
    Originally posted by Lowery
    Yep wish I didn't have to do it but have to print some labels and I need to build the template in this format.
    There is almost certainly an easier way to do what you are doing. Tell us about the problem.

    Leave a comment:


  • Sockpuppet
    replied
    Cannot be doen without a lot of moving text about. If you merge a cell it will delete all the text other than the first cell.

    Leave a comment:


  • MarillionFan
    replied
    Use a macro or crystal reports.

    Leave a comment:


  • Lowery
    replied
    Umm sorry I think I need to clarify a bit further. Say you start with the below table...starting with 1 = A1, a = B1 etc...

    The table will be sorted by column A.

    1 a
    1 b
    1 c
    2 d
    2 e
    3 f
    3 g
    3 h

    The solution will search column A.
    1. Select cells A1-A3.
    2. Merge and Centre.
    3. Select cells A4-A5.
    4. Merge and Centre.
    5. Select cells A6-A8.
    6. Merge and Centre.

    and so on through the entire table...

    It's purely a formatting issue which is why I think I may need to use VB or a Macro.

    Originally posted by MarillionFan
    Why he wants to do it god knows????
    Yep wish I didn't have to do it but have to print some labels and I need to build the template in this format.

    Leave a comment:


  • MarillionFan
    replied
    They're aint nothing I can't get Excel to do.

    Leave a comment:


  • Warrior Princess
    replied
    Originally posted by MarillionFan
    =IF(A2=A1,TEXT(A2,"0"),TEXT(A2,"0")&TEXT(B2,"0"))

    Start Data must be in row 2. Put formula in c2, drag down


    A B C
    1 1 11
    1 2 1
    1 3 1
    2 5 25
    2 6 2
    3 4 34
    3 6 3
    3 7 3

    Well done MF!!!!

    Your the man!!!

    Leave a comment:


  • Sockpuppet
    replied
    Originally posted by MarillionFan
    Why he wants to do it god knows????
    His teacher set some homework?

    Leave a comment:


  • MarillionFan
    replied
    Why he wants to do it god knows????

    Leave a comment:

Working...
X