+ Reply to Thread
Results 1 to 5 of 5

add duplicated data

  1. #1
    Registered User
    Join Date
    05-29-2009
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2007
    Posts
    78

    add duplicated data

    hi
    i am using the following formula to extract data quantities of items from a worksheet:
    HTML Code: 
    is there any way i can modify it so that it adds the qtys of the items which have duplicated item nšs?
    thanks
    Last edited by Loisw; 12-02-2009 at 10:01 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: add duplicated data

    Hi,

    using sumif maybe?

    =SUMIF(OS_SALES_ORDERS,A9,OFFSET(OS_SALES_ORDERS,0,3))

    However, if you could add further named ranges withing the OS_SALES_ORDERS range, the OFFSET function could be dispensed with, and the formula would make more "sense".
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    05-29-2009
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: add duplicated data

    Hi
    this only seems to count & not sum the figure in the cell?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: add duplicated data

    Without knowing exact content of defined name another variant would be:

    =SUMIF(INDEX(OS_SALES_ORDERS,0,1),A9,INDEX(OS_SALES_ORDERS,0,3))

    If the above also does not return expected output then please post a workbook...

    (may also be worth considering a Pivot Table - intro. link in sig.)

  5. #5
    Registered User
    Join Date
    05-29-2009
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: add duplicated data

    that seems to work ok now!
    thanks

+ 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