Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9163065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:21:21+00:00 2026-06-17T14:21:21+00:00

I have an Excel table with states, names, and counts. I am trying to

  • 0

I have an Excel table with states, names, and counts. I am trying to find the top name by sum of the count for each state. So, for example, with the following:

State | Name     | Count
IA    | Joe      | 10
IA    | John     | 10
IA    | Joe      | 5
NE    | Joe      | 5
NE    | John     | 10
NE    | John     | 15
NE    | Joe      | 10
NE    | Amy      | 30
OH    | Joe      | 10
OH    | John     | 10
OH    | Amy      | 5
OH    | Joe      | 5

The expected results would be:

IA | Joe (15)
NE | Amy (30)
OH | Joe (15)

Any ideas on how to do this? Maybe something with pivot tables?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:21:22+00:00Added an answer on June 17, 2026 at 2:21 pm

    Couple of approaches stand out

    1) use 2 pivots one that has row labels of name and states as column labels and sums the values. Second pivot is based on first pivot uses lists names as row labels and max of state as values, then use conditional formatting to high light those with the same grand total.
    enter image description here

    2nd option is similar to first but instead of using second pivot have seperate values for each state that have the formula (=max) of the state in the pivot then base the conditional formatting on that.

    3rd option would be define it as a table and then use embedded SQL with the form to write a query to give you the sum and max by state Don’t have an example of that one yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to import html table data to an excel file and have succeeded
I have an Excel table with 4 columns and need to find the values
I have multiple table's data in single Excel sheet with exact column names, now
I have an Excel table with some data that I would like to export
I have following data in excel table r1 r2 r3 r4 r5 v1 v2
I have an Excel file that gets external data from database table. I need
I have a large reporting table in Excel that looks similar to the following.
I am importing massive amounts of data from Excel that have various table layouts.
I have a large table I imported from an Excel spreadsheet. For five of
I have a table in C#, the data is coming from an Excel file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.