+ Reply to Thread
Results 1 to 2 of 2

sum unique values with multiple criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Richmond Hill, Canada
    MS-Off Ver
    Excel 2003
    Posts
    6

    sum unique values with multiple criteria

    Hi folks,

    My data is in cell A5:C10. I added a drop down list on cell A2 for the city name and would like to see following calculation in cell B2.Population by the city with unique codes only. For example, the answer for Toronto would be 5,000 and not 10,000. Thanks so much for your help in advance.

    Code Population City
    AA 5,000 Toronto
    AA 5,000 Toronto
    AB 3,500 Oakville
    AD 2,500 Mississauga
    AD 2,500 Mississauga

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: sum unique values with multiple criteria

    =LOOKUP(2,1/(C5:C9=A2),B5:B9)
    try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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. counting unique values with multiple criteria
    By freil in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-12-2016, 06:19 PM
  2. [SOLVED] Sum unique values with multiple criteria
    By Billaus in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 10-11-2014, 10:48 PM
  3. [SOLVED] Counting unique values with multiple criteria
    By f.bomb in forum Excel General
    Replies: 5
    Last Post: 08-13-2014, 05:00 AM
  4. count unique values in multiple worksheets with multiple criteria
    By craig04 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2012, 03:26 PM
  5. Replies: 8
    Last Post: 07-13-2012, 06:00 AM
  6. Counting Unique Values with Multiple Criteria
    By CELIA.NEFF in forum Excel General
    Replies: 10
    Last Post: 02-15-2012, 11:31 AM
  7. Macro to remove duplicates values and keep unique values bases on multiple criteria
    By Ricker090 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2011, 04:37 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