+ Reply to Thread
Results 1 to 6 of 6

Add the similar ID

  1. #1
    Forum Contributor
    Join Date
    04-13-2012
    Location
    germany
    MS-Off Ver
    Excel 2003
    Posts
    185

    Add the similar ID

    Hello Everybody
    I want to add the similar IDs, for the sake of example workbook is attached with this thread.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Add the similar ID

    You can put this formula in G31:

    =SUMIF(F$16:F$26,F31&"*",G$16:G$26)

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    04-13-2012
    Location
    germany
    MS-Off Ver
    Excel 2003
    Posts
    185

    Re: Add the similar ID

    thanks for your reply, is that also possible with excel vba?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Add the similar ID

    Something like:

    Please Login or Register  to view this content.
    Hope this helps.

    Pete

  5. #5
    Forum Contributor
    Join Date
    04-13-2012
    Location
    germany
    MS-Off Ver
    Excel 2003
    Posts
    185

    Re: Add the similar ID

    it works good, but the little problem is that it comes in range(g31) then i have to do it manual, is not it possible that it comes automatic.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Add the similar ID

    It's easy enough to record a simple macro to copy that formula down as far as you need it (in your example it was only 4 rows, but I suspect your real data will be much larger). Then you can examine the code to learn more about the syntax.

    Hope this helps.

    Pete

+ 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