+ Reply to Thread
Results 1 to 18 of 18

customer letters PULL on column C

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    customer letters PULL on column C

    ANTI ..+ ACL = ANTICAL
    ANTI ..+ ACR = ANTICAR
    ANTI ..+ AFS = ANTIFAS

    I want on those ACL generated by macro , macro to read at least 11111 rows

    see file attached manually done results
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,305

    Re: customer letters PULL on column C

    possible with 'concatenate' ??? see in cell E5
    =CONCATENATE(A5,MID(C5,2,1),LEFT(C5,1),RIGHT(C5,1))
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    I want results of column C cells , E letter MINUS A letters , then ALPHA ARRANGE

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,560

    Re: customer letters PULL on column C

    Is it?
    C1:
    =MID(E1,LEN(E1)-1,1)&MID(E1,LEN(E1)-2,1)&RIGHT(E1,1)

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    Wow Jindos it works without even a macro , thank you

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    It does not ALPHA for all words see this it does ASG INSTEAD OF AGS for ANTISAG

    ANTI ..+ ACL = ANTICAL
    ANTI ..+ ACR = ANTICAR
    ANTI ..+ AFS = ANTIFAS
    ANTI ..+ AFT = ANTIFAT
    ANTI ..+ ASG = ANTISAG
    ANTI ..+ AGY = ANTIGAY
    ANTI ..+ IAR = ANTIAIR
    ANTI ..+ AJM = ANTIJAM
    ANTI ..+ AMN = ANTIMAN
    ANTI ..+ RAS = ANTIARS

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,560

    Re: customer letters PULL on column C

    You need to explain why extract AGS, from ANTISAG

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: customer letters PULL on column C

    @Jindon

    Post #3 - "alpha arrange" = sorted alpabetically.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: customer letters PULL on column C

    are you expecting the 3 letters to be sorted alphabetically?

    ASG becomes AGS

    All you examples give the impression the rule is to swap first and second letters.
    What would you expect from the letters ZED and ZDE

    If only you had a newer excel version you could use

    =A1&TEXTJOIN("",,SORT(MID(C1,SEQUENCE(LEN(C1)),1)))
    Cheers
    Andy
    www.andypope.info

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,560

    Re: customer letters PULL on column C

    Then vba
    Please Login or Register  to view this content.

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: customer letters PULL on column C

    googled and found this formula

    =A1&CHAR(SMALL(CODE(MID(C1,{1,2,3},1)),1))&CHAR(SMALL(CODE(MID(C1,{1,2,3},2)),2))&CHAR(SMALL(CODE(MID(C1,{1,2,3},3)),3))

  12. #12
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    Re attaching file anyone to see if formula will , first three RED TEXT , manually plugged
    Attached Files Attached Files
    Last edited by makinmomb; 02-17-2022 at 07:42 AM. Reason: attach file

  13. #13
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    Andy Pope if your formula works , plug in the attached to see if it pours results

  14. #14
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: customer letters PULL on column C

    those red cell example suggest an simple swap of first and second letter, not sorted. So I'm confused by what you want.

  15. #15
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    ANTICAL MINUS ANTI , BALANCE LETTERS IN ALPHA MODE for ANDY POPE , closer clarification , see expected results ACL ACR AFS AFT AGS NOT ASG

    ANTI ..+ ACL = ANTICAL
    ANTI ..+ ACR = ANTICAR
    ANTI ..+ AFS = ANTIFAS
    ANTI ..+ AFT = ANTIFAT
    ANTI ..+ ASG = ANTISAG
    ANTI ..+ AGY = ANTIGAY
    ANTI ..+ IAR = ANTIAIR
    ANTI ..+ AJM = ANTIJAM
    ANTI ..+ AMN = ANTIMAN
    ANTI ..+ RAS = ANTIARS

  16. #16
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: customer letters PULL on column C

    See workbook.
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: customer letters PULL on column C

    U are using column c for the formula where C were manually plugged results where the formula is required

  18. #18
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: customer letters PULL on column C

    Change the formula to reference E.

    Your results do not match you description. Or I'm completely misunderstanding your requirement.

    ANTISAG will create AGS and Not ASG. As G comes before S alphabetically
    ANTIAIR will create AIR and Not IAR

+ 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] Pull out all summary data per customer
    By pamela16 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-27-2019, 03:12 AM
  2. Pull customer data from one sheet to another
    By cara13xxi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-05-2019, 07:33 PM
  3. [SOLVED] How to pull multiple dates under one customer name
    By webber15 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-04-2015, 04:19 PM
  4. How to pull multiple dates under one customer name
    By webber15 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-24-2015, 03:49 PM
  5. [SOLVED] Pull first end customer for each account
    By janeml in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-06-2014, 06:57 PM
  6. Replies: 2
    Last Post: 12-01-2010, 02:29 PM
  7. Replies: 9
    Last Post: 07-15-2010, 08:54 PM

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