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 7986971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:00:37+00:00 2026-06-04T12:00:37+00:00

I dumped a SQL query into Excel and am looking for a way to

  • 0

I dumped a SQL query into Excel and am looking for a way to automate this.

Here’s what I have.

site                             12
site/subsite                     22
another site                     77
another site/subsite             16

My question is this: is there a way in Excel to add totals for the site and its associated subsite? I have about 4000 rows so am looking to save manual labor.

  • 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-04T12:00:39+00:00Added an answer on June 4, 2026 at 12:00 pm

    Use the SUMIF() function.

    Here is an example that can get you started:

    Put your data in columns A and B (sites in A, values in B).

    Add a column header in cell D1 that matches one of the sites names exactly.

    Add this formula in cell D2:

    =SUMIF($A6:$B17, D1, $B6:$B17)
    

    Modify the start and end rows to cover your entire data set. (In the example I set up, the data was in rows 6 through 17.)

    You can list all of your sites and subsites and have formulas refer to the data range to calculate totals for each.

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

Sidebar

Related Questions

I have a dict object. I dumped the data using this: for alldata in
I have these lines at the top of a MySQL .sql file (dumped with
I have tons of files dumped into a few different folders. I've tried organizing
I've dumped a MySQL database I have on my local MAMP server into a
I have char* data; which has a buffer dumped into it. I want to
I've just been dumped into the middle of a SAP project and I need
In my gallery app, I asynchronously load images frequently, which are dumped into the
What is the best/most time efficient way to insert 1000 rows into one table
I am trying to move dumped data from postgresql database to another. However, when
The purpose is to download the dumped backup.sql file after running the sql dumping

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.