+ Reply to Thread
Results 1 to 17 of 17

Totaling up the duplicated info - delete the excess - delete the Rev from the description

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Totaling up the duplicated info - delete the excess - delete the Rev from the description

    Hello Everyone,

    Need your superior excel skills. I have a spreadsheet that I need to do the following -

    Total how many duplicated part numbers there are.
    Deleting the duplicates
    Remove the Rev info at the end.

    I hope I explained it correctly.

    For example:

    I need it to go from this:

    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B

    To this:

    179049-101 C 15 FIXED OVERHEAD 6
    179458-101 A 15 RETRACT 8
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO 11

    Thank you in advance.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    The first part can be done by:

    Excel 2007 => data => remove duplicates.

    For the second question i will look for an anwer.

    ---------- Post added at 03:41 PM ---------- Previous post was at 03:28 PM ----------

    This recorded code will do that for you

    I tested it and it worked.

    If you don't want to use a macro you can use for the second question.

    CTRL + H

    Find REV *
    Replace (leave blanc)
    Replace all.

    Do you have questions, on this item, just ask.
    Please Login or Register  to view this content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    When I tried to do this it did remove the revs, compiled them to show only one of each part number, however it did not calculate.

    ---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------

    Thanks for the quick tips, That will difinetly come in handy. But I need to count them before I delete them.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    You get your wanted result, as you asked in #1?

    Please Login or Register  to view this content.
    What should be calculated?

    OK, I see, I see what i can do for you.

  5. #5
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Ok, after taking another look I see what you did. You deleted the dups in column A and removed the Revs in column B. But A and B are tide. So if A's duplicates are deleted, then so should B. I need to count them then delete the dups as my example.

    Thanks for the effort. It was appreciated - you gave me some ideas, but this is not what I'm looking for.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    I don't know exactly what you want to count.

    So I added 2 methods in the example.

    The green cell should be the answer (3).
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Please Login or Register  to view this content.
    I think it's only value in column A.

    See the example in #6.

  8. #8
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    The first count is what I need.

    However:
    Column A should only have the part number
    Column B should only have the description

    So I need to go from this:

    Column A Cloumn B
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179049-101 C 15 FIXED OVERHEAD Rev C
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179458-101 A 15 RETRACT REV A
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO Rev B

    To this:
    Column A Column B Column C
    179049-101 C 15 FIXED OVERHEAD 6
    179458-101 A 15 RETRACT 8
    179469-001 B CA ASSY SEB-DISC, DBL AUDIO 11

    ---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

    Column C totals all the info into one row for each dup.
    Last edited by legeorgia; 07-24-2012 at 05:52 PM.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Please reply in my example how the data are in the beginning (how many column) and with which data in it.

    Please also, reply in a column (manualy) what the result should be.

  10. #10
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    I did above, in the first and 8th thread.

    There should be two columns at first.
    Column A - has the part numbers
    Column B - has the description

    Column C - will have the total for how many times each part#/Description appeared.

    All the duplicates will then be deleted and the final result should look like this (I use "......." to display column spacing):

    Column A ................. Column B............................. Column C

    179049-101 ..............C 15 FIXED OVERHEAD ...............6
    179458-101 A........... 15 RETRACT .............................8
    179469-001 B ...........CA ASSY SEB-DISC, DBL AUDIO ...11


    I'm sorry if I'm confusing you, this is the only way I know how to explain it.

    Thanks again.

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Why don't you put the value in my excel-example.

    Then it's easier to see how the data is build up.

    Partnr. means nothing to me
    Description means nothing to me

    179049-101 is without a letter.

    179458-101 A is with a letter.

    Both are right?

  12. #12
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    That's ok, I'll try to work it out. Thank you for your help.

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Probably it is my problem, but i don't like it, you post the question again on this forum.

    http://www.excelforum.com/excel-form...t-the-end.html

  14. #14
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    You could not help me so you blocked me from getting help and sent me a private message. Please just leave it to someone who can help me.

    I can't help you being mad. I was not helped.

  15. #15
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    legeorgia, see if this helps meet your requirement. there is a helper column that i had to use, other than that, everything else is pretty much what you had illustrated.

    EDIT: uploaded a new file which solves the problem without any helper column.

    by the way, if you do not provide a sample file with your data, and just provide a lot of data pasted into the post, you may experience that people shy away from responding because they have to recreate data. i would have, too, until i saw your predicament.
    Attached Files Attached Files
    Last edited by icestationzbra; 07-25-2012 at 04:50 PM. Reason: method without helper column
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  16. #16
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Thank you. I'll try it once I get in the office. I'm not experienced at doing this. If it's attaching a file I will for sure try it next time.

    Thanks so much for your help. I'll let you know tomorrow if it worked.

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    @icestationzbra

    For your explanation, i will and can help the OP.

    But if he / she refuses to add an excel example it's difficult to get the right solution.

    I don't think you give the desired result (but of course i let that decision, to the OP)

    The (input)data are in several columns, but it's not clear to me, which data are in which column.

    @Legeorgia

    In #9 en #11 i ask you to post an excel example.

    In #10 you post you data on the forum again.

    I will explain why I asked you for an example.

    I gave you an solution if the (imput)data are in 1 column.

    In #8 you changed the question => you added the information that the (imput)cells are on several columns.

    2 things on this.

    If you don't want any help from me, just say so, then it is clear for both of us.

    It will show some respect to eachother to do so.

    Please Login or Register  to view this content.
    You acted against the forumrules.

    In your own environment (i suppose) you also want people to obey to the rules.
    Last edited by oeldere; 07-25-2012 at 02:12 AM.

  18. #18
    Registered User
    Join Date
    06-08-2012
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Totaling up the duplicated info - delete the excess - delete the Rev from the descript

    Yes, this is it exactly. Thank you so very much icestationzbra. You helped me out a great deal; and thank you for letting me know what to do going forward.

    Have a great day!!!

+ 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