+ Reply to Thread
Results 1 to 5 of 5

Search for common post codes

  1. #1
    Registered User
    Join Date
    12-03-2020
    Location
    Somerset, UK
    MS-Off Ver
    365 Pro Plus
    Posts
    2

    Search for common post codes

    Sheet 1. I have a list of customers (A), their revenue (B) and basic post codes (C). Note there may be more than one customer at that postcode (duplicates) (see bold font)

    Sheet 2. I have a 2nd shorter list of unique post codes - some will match those in Sheet 1 (I have marked in yellow). I want to compare Sheet 2 column A against Sheet 1 column C in order to work out the total revenue of those common post codes. If the common post codes can be highlighted in some way, I can then filter (perhaps by colour) and then get the total.

    Kudos to whoever can solve this
    Thank you in advance
    Attached Files Attached Files
    Last edited by SouthWesty; 12-03-2020 at 08:57 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Search for common post codes

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,112

    Re: Search for common post codes

    Hi & welcome to the board.
    Not sure exactly what you are after, but if you want a total for all the postcodes on sheet2 you could put this in sheet2 B2
    =SUM(SUMIFS('Sheet 1'!B:B,'Sheet 1'!C:C,A2:A11))

    If you want the values for each individual code use this in B2 copied down
    =SUMIFS('Sheet 1'!B:B,'Sheet 1'!C:C,A2)

  4. #4
    Registered User
    Join Date
    12-03-2020
    Location
    Somerset, UK
    MS-Off Ver
    365 Pro Plus
    Posts
    2

    Re: Search for common post codes

    Hey Fluff13,

    Awesome thank you. Absolutely ideal!
    Kudos to you.

    Best regards

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,112

    Re: Search for common post codes

    You're welcome & thanks for the feedback.

+ 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] Compare JSON data and splitting into corrected codes, deleted codes and added codes
    By chandramouliarun in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 12-01-2020, 06:46 AM
  2. [SOLVED] Compare JSON data and splitting into corrected codes, deleted codes and added codes
    By chandramouliarun in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-29-2020, 12:06 PM
  3. Search Common Dates
    By Agro12 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-26-2016, 06:44 AM
  4. [SOLVED] VBA to search cell containing specific text and return common value
    By hate0lif3 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-30-2014, 09:41 AM
  5. [SOLVED] Require a VBA Code macro to summarize the common material codes and amount from two sheets
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2013, 08:12 AM
  6. Replies: 2
    Last Post: 02-14-2012, 07:03 AM
  7. [SOLVED] Can you search for common results in many wrksheets?
    By Brappold in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-30-2006, 04:55 PM

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