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

  • Home
  • SEARCH
  • 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 4347120
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:15:50+00:00 2026-05-21T12:15:50+00:00

I have an Excel spreadsheet with a table of data in it. The columns

  • 0

I have an Excel spreadsheet with a table of data in it. The columns are “Item”, “Price”, “Owned”. I want to sum the price of the owned items. In SQL, I would simply do

select sum(price) from table where owned="y"

Is there a formula I can use to do something similar in Excel? The DSUM function seems to do something like what I want, but I can’t understand how the criteria work.

More generally, this is a problem I encounter a lot. I use SQL for a lot of data analysis, and use aggregate functions frequently. And yet, if I have my data in a spreadsheet rather than in a database table, I find it extremely difficult to do this type of analysis (without needing to clutter my spreadsheet with masses of working areas). Basically, I need to be able to take the sum/count/max/min/etc of a column, only including rows satisfying a particular condition, without needing a work column for each condition (it’s easy enough with a work column, just have a column containing IF(condition,column,0) and then sum/count/whatever it).

Thanks,
Paul.

  • 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-05-21T12:15:50+00:00Added an answer on May 21, 2026 at 12:15 pm

    You can use SUMIF or use array formulas. I prefer the latter method myself. As an example, say you have the Item, Price, and Owned data in columns A, B, and C, respectively. Then your array formula would look something like SUM(B:B*(C:C="y")). Enter it using Ctrl+Shift+Enter as you would for an array formula and you are good. Of course, you can use Excel’s other aggregation functions with minor tweaks, too.

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

Sidebar

Related Questions

I have three columns of excel data I want to graph: name, a time
I have an Excel Spreadsheet like this id | data for id | more
I have an Excel spreadsheet with a few thousand entries in it. I want
I have an Excel spreadsheet of data like: ColumnA ColumnB 33 11 25 5
I have inherited an Excel spreadsheet which contains an external data query. I can
I have an SSIS package that exports data from a table on a SQL
I have a large table I imported from an Excel spreadsheet. For five of
I have an excel spreadsheet in a format similar to the following... | NAME
I have an Excel spreadsheet with 1 column, 700 rows. I care about every
I have an Excel spreadsheet containing a list of strings. Each string is made

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.