+ Reply to Thread
Results 1 to 2 of 2

duplicate issue

  1. #1
    Registered User
    Join Date
    06-23-2023
    Location
    croatia
    MS-Off Ver
    MS Office Professional Plus 2019
    Posts
    1

    duplicate issue

    Hey guys,

    I have a table that contains the following columns:
    row ID, ambiance grade, score light, score sound, score smell, score interior design.
    This was initially 4 different tables containing row ID, ambiance grade, and on of each scores. I manually merged these together, so i now have 6 columns. I merged them basically by appending one on top of each other and adding each score as a new column. The problem is that no row number has more than 1 score that is different from 0 in a single row. So here is an example:

    row_ID grades sound_score smell_score light_score ID_score
    16 4 2 0 0 0
    39 5 3 0 0 0
    72 5 2 0 0 0
    16 4 0 3 0 0
    103 5 3 0 0 0

    As you can see for row 16 there exists 2 occurences. I want to merge it so that there is 1 occurrence and has in columns sound the value of 2 and in column smell value of 3.

    row_ID grades sound_score smell_score light_score ID_score
    16 4 2 3 0 0
    39 5 3 0 0 0
    72 5 2 0 0 0
    103 5 3 0 0 0

    There are some occurrences that happen 3 times and some only once. So I want to make it look like the 2nd table.

    Sorry my english is not good.
    Attached Files Attached Files
    Last edited by rasko01; 06-23-2023 at 06:53 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: duplicate issue

    Pl see file.
    In L12, copied down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In M12 copied to full range.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Format cells as required.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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. Duplicate values issue :)
    By Bella12345 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-26-2020, 04:10 PM
  2. duplicate issue in pivot
    By gingerdip in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-20-2016, 10:20 PM
  3. [SOLVED] Vlookup Duplicate Value issue
    By rskfriends in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-04-2014, 11:18 AM
  4. duplicate issue
    By step_one in forum Excel General
    Replies: 2
    Last Post: 06-29-2011, 07:09 PM
  5. Complicated Duplicate Issue
    By roasty_1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-02-2008, 05:52 AM
  6. Duplicate issue
    By kwright90 in forum Excel General
    Replies: 2
    Last Post: 04-25-2007, 04:17 PM

Tags for this Thread

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