+ Reply to Thread
Results 1 to 31 of 31

adding cells

  1. #1
    Registered User
    Join Date
    03-20-2007
    Posts
    17

    adding cells

    Please me in adding cell with alphabets. I attach a pic of what i want it to look like. Is there a command to do it for you instead of me outting one by one myself? Ex. 'A' must first followed by 'B' and so on, futhermore, if there a CApital 'A' and a lower case 'a' the capital 'A' goes first.
    Attached Images Attached Images

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi junlee,

    Try this in B2, then formula fill across and down. There may be one or two cells that may be wrong i.e. "dD" instead of "Dd", but see how it goes?

    =LEFT($A2,1)&LEFT(B$1,1)&MID($A2,2,1)&MID(B$1,2,1)&MID($A2,3,1)&MID(B$1,3,1)&MID($A2,4,1)&MID(B$1,4,1)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    I tried it and it work for B2, however it doesn't work for the other cells. By the way the pic i attach was only a small portion of it. What i really want to do concist of 6 letters. 'ABCDEF'. Sry if i wasn't being clear.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    OK, I've adjusted it for six characters. So put this in B2 and place your curser over the little black square, your curser will change to a black cross, click and drag across, and down - see attached

    =LEFT($A2,1)&LEFT(B$1,1)&MID($A2,2,1)&MID(B$1,2,1)&MID($A2,3,1)&MID(B$1,3,1)&MID($A2,4,1)&MID(B$1,4,1)&MID($A2,5,1)&MID(B$1,5,1)&MID($A2,6,1)&MID(B$1,6,1)
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    ty alot, but is there anyway fF will be arrange like Ff?

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Not with the formula, but away round it would be to select all the cells with formulas in then Copy > Paste Special > Values.
    Then go to Edit > Find type in fF then click Replace tab and type "Ff" > Replace All. Repeat the Find/Replace proceedure for any others.

  7. #7
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Wow ty so much u saved so muhc of my time.
    Ty alot.

  8. #8
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to help - thanks for the feedback

  9. #9
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Er i check it but the replacment thing didn work correctly. It replace everything. For example it is suppose to replace aA to Aa. It did but it even replace AA to Aa, so it mess everything up. CAn u fix this problem .
    Ty in advance.

  10. #10
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi junlee,

    That shouldn't happen, you must be doing something wrong. If you do it the way I said it should work perfectly Can someone else confirm

  11. #11
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    i dunno if this will effect it but my version for excel in 2007.

  12. #12
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    I've got 2003, but I wouldn't have throught so

  13. #13
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Did it work for u?

  14. #14
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Every time without any problems?

  15. #15
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Weird i did everything u said still doesnt work. I tihknk its becasue i have 2007.

  16. #16
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    According to Microsoft, it's the same from Excel 2002 onwards (includes 2007)

    http://support.microsoft.com/kb/288291

  17. #17
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by junlee
    Er i check it but the replacment thing didn work correctly. It replace everything. For example it is suppose to replace aA to Aa. It did but it even replace AA to Aa, so it mess everything up. CAn u fix this problem .
    Ty in advance.
    Hi,

    for the Replace, did you see the replace Options and set to Match Case?

    ---
    Si fractum non sit, noli id reficere.

  18. #18
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    that was my problem. Sry im kind of new in excel. Ty for all your help and sry to bother you.

  19. #19
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by junlee
    that was my problem. Sry im kind of new in excel. Ty for all your help and sry to bother you.
    don't be sorry, we were all new to Excel once.

    oldchippy will be glad to see this resolved, so thanks for your response.

    ---

  20. #20
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Np. One last thing and i wont bother you guys anytime soon. Can u make me a formula for ABCDEFG. This is one last one. Ty alot. You guys saved me so much time.

  21. #21
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi junlee,

    Glad you've got it sorted and thanks to Bryan to. Here's the one for seven letters

    =LEFT($A3,1)&LEFT(B$1,1)&MID($A3,2,1)&MID(B$1,2,1)&MID($A3,3,1)&MID(B$1,3,1)&MID($A3,4,1)&MID(B$1,4,1)&MID($A3,5,1)&MID(B$1,5,1)&MID($A3,6,1)&MID(B$1,6,1)&MID($A3,7,1)&MID(B$1,7,1)

    Just add the bit on the end

  22. #22
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Hi again. Im having another issue with the new formula.
    Attached Images Attached Images

  23. #23
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    It always get screwed up at the last row Im not sure why.

  24. #24
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by junlee
    It always get screwed up at the last row Im not sure why.
    your formula is a row out, the =LEFT($A3,1)&LEFT(B$1,1)&MID~~ should be on row 3

    ---

  25. #25
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    what do u mean by row 3 ?

  26. #26
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by junlee
    what do u mean by row 3 ?
    columns are lettered A B C D E etc

    Rows are numbered 1 2 3 4 5 6 etc

    see Row 3 (aka the third row)

    ---

  27. #27
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    And i found another error, all the combination are wrong. I think the formula is wrong. It adds up wrong. Tkae a look at my previous pic.

  28. #28
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by junlee
    And i found another error, all the combination are wrong. I think the formula is wrong. It adds up wrong. Tkae a look at my previous pic.
    your previous pic is wrong because you put a Row 3 formula into Row 2, and then filled it downwards.

    ---

  29. #29
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    OK i got it right now but what about row 2? I need a formula for it also

  30. #30
    Registered User
    Join Date
    03-20-2007
    Posts
    17
    Nvm i solved it. Ty alot for help

  31. #31
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by junlee
    Nvm i solved it. Ty alot for help
    the easy way was to put the formula, which was for row 3, into Row 3, and copy from there and paste to Row 2, then formula fill downwards.

    ---

+ 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