?
Solved

How to find values in excel and return matching numbers in same column

Posted on 2011-09-30
3
Medium Priority
?
236 Views
Last Modified: 2012-05-12
I am working in Microsoft Excel, and in one row I have cells with "R" that represent reconciled columns and cells that have either "*" or is blank. I want excel to find all the cells with "*" and blanks and return the sum of the matching columns.  Can someone tell me the formula to do this? I have attached an image to show what I am talking about
excel.jpg
0
Comment
Question by:beemmer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 1000 total points
ID: 36891319
Use a SUMPRODUCT() formula, like this:

=SUMPRODUCT((B1:B6<>"R")*(C1:C6))

Please take a look at the attached file.

jppinto
Sumproduct-Example2.xlsx
0
 
LVL 85

Assisted Solution

by:Rory Archibald
Rory Archibald earned 1000 total points
ID: 36891320
Assuming the 'R's in column A and the values in B:

=SUMIF(A:A,"<>R",B:B)

will sum up column B where the corresponding cell in A is not 'R'

HTH
Rory
0
 

Author Closing Comment

by:beemmer
ID: 36891390
Thank you both very much.  I tried out both of the formulas and they worked perfectly.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question