Solved

SUMIFS number stored as text

Posted on 2014-11-20
6
957 Views
Last Modified: 2014-11-21
Hi,

please see attached worksheet.   I have SUMIFS formula in Column D and it does not work because Column B data are numbers stored as text.  I want help with formula to modify the formula, so that without converting the B column to number, my formula would work.
EE.xlsx
0
Comment
Question by:Flora
6 Comments
 
LVL 39

Expert Comment

by:als315
ID: 40456665
Ca you explain idea of second criteria of your formula?
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 250 total points
ID: 40456735
The following array formula works:

{=SUM(IF(($A$2:$A$19=A2)*(VALUE($B$2:$B$19)<=VALUE(B2)),$C$2:$C$19,0))}

Enter it WITHOUT the curly braces, and the use Ctrl+Shift+Enter instead of Enter to finish it.  Excel will then display the formula within braces to indicate that it is an array formula.
0
 
LVL 48

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 250 total points
ID: 40456741
Hi,

pls try ( as array formula Ctrl-Shift-Enter)

=SUMPRODUCT($C$2:$C$19,--($A$2:$A$19=A2),--(VALUE($B$2:$B$19)<=VALUE(B2)))

Regards
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 5

Author Comment

by:Flora
ID: 40456913
Patrick and Rgonzo

you guys are heros in EE.  

your formulas are amazing. frankly, i am impressed.
0
 
LVL 5

Author Closing Comment

by:Flora
ID: 40456919
these answers are worth 50000.

saved me hours of manual work.
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 40457838
Glad to help :)

Also happy to see Rgonzo1971's SUMPRODUCT approach.  I tried something similar but couldn't get it to work, and so resorted to the explicit array formula (SUMPRODUCT can be made to work, as Rgonzo1971 ably demonstrated, as an implicit array function).
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now