+ Reply to Thread
Results 1 to 4 of 4

Sum a column if there is a duplicate in another and remove blank rows

  1. #1
    Registered User
    Join Date
    01-28-2021
    Location
    Brisbane
    MS-Off Ver
    MS 365
    Posts
    9

    Post Sum a column if there is a duplicate in another and remove blank rows

    I am still so new to all of this and trying so hard to learn to make my life a little easier.

    I have exported my sales from MYOB and now I need to sum the total if the invoice number is a duplicate and remove the blank rows, but keep the rest of the data.

    I know this is possible, I hope this is possible, is this possible?

    If Column H is a duplicate number, then i need to sum column R and remove the other rows and blank rows. Leaving one row per invoice number, with a true reflection of the invoice value.

    Thank you if you are able to assist me.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,244

    Re: Sum a column if there is a duplicate in another and remove blank rows

    Quote Originally Posted by JodiBlack View Post
    1. to sum the total if the invoice number is a duplicate
    2. and remove the blank rows, but keep the rest of the data
    but
    Quote Originally Posted by JodiBlack View Post
    1a. If Column H is a duplicate number, then i need to sum column R
    2a. and remove the other rows and blank rows

    So,

    for points: 1 and 1a:
    ... almost okay, only there is no "R" column (in the xls file) with values to sum - is it about the "Q" column ?

    for points: 2 and 2a:
    ... remove blank and other/remaining rows or just blank ?

    Which rows are the "other" ones, how should it finally be ?

  3. #3
    Registered User
    Join Date
    01-28-2021
    Location
    Brisbane
    MS-Off Ver
    MS 365
    Posts
    9

    Re: Sum a column if there is a duplicate in another and remove blank rows

    Thank you.

    Points 1 and 1a - yes, it is column Q with the total value that needs to be sum up. Sorry for the confusion.

    Points 2 and 2a - the "other" rows which I was referring to was the ones with duplicate invoice number.

    I have added a sheet to show what I am after the data to look like.

    But if there is a different Item number, they need to stay on separate lines (sorry, forgot about that variable in my original post).
    Attached Files Attached Files

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

    Re: Sum a column if there is a duplicate in another and remove blank rows

    Try
    Please Login or Register  to view this content.

+ 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] Remove Duplicate Rows comparing entries in a single column
    By kdraghu in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 06-02-2020, 10:15 AM
  2. Remove rows if duplicate in same column.
    By excelfriend1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-19-2016, 08:18 PM
  3. Replies: 4
    Last Post: 01-08-2016, 09:21 AM
  4. Remove duplicate rows and move the column data to a new column
    By cmray58 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-22-2015, 03:46 PM
  5. [SOLVED] Remove duplicate if column B is blank
    By MagicMan in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-23-2015, 07:52 AM
  6. Remove rows with duplicate values in one column based on value of another column
    By jolleyje in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-15-2013, 06:20 AM
  7. Remove Blank rows froma column
    By Internoob2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2011, 11:59 AM

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