+ Reply to Thread
Results 1 to 6 of 6

Sum up values when there are duplicate values in an adjacent cell

  1. #1
    Registered User
    Join Date
    11-02-2014
    Location
    SF Bay Area
    MS-Off Ver
    2002
    Posts
    4

    Sum up values when there are duplicate values in an adjacent cell

    Hello. Can someone help me with this one? I'm still crossed-eyed trying to do it with IF functions. Thanks.
    Last edited by MileWide; 11-02-2014 at 04:52 PM. Reason: adding excel spreadsheet

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,143

    Re: Sum up values when there are duplicate values in an adjacent cell

    A spreadsheet would be better than an image
    I cant see the image anyway

    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Last edited by etaf; 11-02-2014 at 04:37 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Sum up values when there are duplicate values in an adjacent cell

    Hello,

    Try in C4, then copy down.

    =IF(COUNTIF(A$4:A4,A4)=1,SUMIF(A$4:A$14,A4,B$4:B$14),"")
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    11-02-2014
    Location
    SF Bay Area
    MS-Off Ver
    2002
    Posts
    4

    Re: Sum up values when there are duplicate values in an adjacent cell

    Wow, that was a fast reply. Your formula worked partially. However, if I change one of the duplicate part numbers, the total sum should be reduced but it stays at the same value. For example, if I changed cell A28 from "154-1001-00" to "154-1111-00", the value of C26 should be 150 but it is still at 550.

  5. #5
    Registered User
    Join Date
    11-02-2014
    Location
    SF Bay Area
    MS-Off Ver
    2002
    Posts
    4

    Re: Sum up values when there are duplicate values in an adjacent cell

    Ooops. Scratch my previous reply. I think it works! I'll double-check. Please standby.

  6. #6
    Registered User
    Join Date
    11-02-2014
    Location
    SF Bay Area
    MS-Off Ver
    2002
    Posts
    4

    Re: Sum up values when there are duplicate values in an adjacent cell

    Yup, works like a charm. You're awesome! Thanks!! I can see straight again.

+ 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. Replies: 7
    Last Post: 05-28-2014, 03:19 AM
  2. [SOLVED] Generating values in number of cells based on adjacent cell values
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2014, 04:34 PM
  3. Macro to find all specific values in column and replace adjacent cell values
    By dblock02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 06:03 AM
  4. [SOLVED] Need Urgent help on Adjacent values of Duplicate column values should be be in single row.
    By anto_01 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2012, 09:55 PM
  5. Replies: 0
    Last Post: 09-06-2012, 04:06 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