Solved

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

Posted on 2011-09-30
3
214 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
3 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 250 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 250 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

770 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