formula request

I would like to learn how to write a formula whereas a column contains either "text", or "numeric" requirement, and when discovered within the column to take those lines and sum up another column applicable to that line.

I have attached an example to sorta communicate the intent, but I know is not how you go about this request.
excel-example.xlsx
Pete EdwardsAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ProfessorJimJamConnect With a Mentor Commented:
in that case regardless of the alphanumeric. the criteria of containing 6100

use like this  =SUMIF(B14:B30,"*6100*",C14:C30)
0
 
ProfessorJimJamCommented:
please find attached
excel-example.xlsx
0
 
Naresh PatelTraderCommented:
See attached
excel-example.xlsx
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
Naresh PatelTraderCommented:
opppsss Sorry
0
 
Pete EdwardsAuthor Commented:
ProfessorJimJam,

On the "numeric" formula, what if I did not have the column to reference and just wanted to quickly scour over a data table that had the "6100" in the column, and return a "sum" in another column of that line when it found rows that had the "6100".

How would I write that formula?
0
 
ProfessorJimJamCommented:
in that case then use just like this   =SUMIF(B14:B30,6100,C14:C30)    see bold

that is your criteria, this works if your criteria range hold numeric , I mean real numeric, meaning the number is stored as number not as text.  and in any event if the number is stored as text in the criteria range then put that inside a double quote. like this   =SUMIF(B14:B30,"6100",C14:C30)
0
 
Pete EdwardsAuthor Commented:
yeah, but what if the data only "contains" a part of the cell field that has the 6100, and it also has other alfanumeric aspects in it, I still want to identify in the formula request to find any cell/field that "contains" 6100 regardless of the other additional info in that cell and sum another column.  This is really the  "key" of this experts request as I find to often my data table has this concept, and I want my formula to focus on the cell/fields that "contain" a certain aspect in that field, and when it finds my criteria match, add all the lines up of another column.

Make sense?
0
All Courses

From novice to tech pro — start learning today.