SUM fuction to ignore text .

XeenGR

New Member
Joined
Nov 22, 2020
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Hello everyone , i'm new to the forum and i hope you could me some advice . Also i like to mention that i'm new also to the excel .
I try to make a worksheet that counts some cells with different values . But i need sometimes to add text on the master cell but with the sum function ill get a Value error.. till now i couldn't find a way around . Would nice if some of you could help me out of this situation . The formula is =SUM(K148*5)+(L148*5)+((M148*5)*1.2)+((N148*5)). The only cell that may have not a number but a text in this example is the K148. I hope you understand my problem and i'm sorry about my english since its not my native language .
 
@XeenGR
Just wondering - did the formula in post #3 still give you a #VALUE error if you had text in K148?
For me, it gives the same value as the much more complicated formula from post #2.

Example:

20 11 22.xlsm
KLMNOPQ
147Post #2Post #3
14810x2535555
SUM Ignore Text
Cell Formulas
RangeFormula
P148P148=SUM(IFERROR(K148*5,0)+(IFERROR(L148*5,0)+((IFERROR(M148*5,0)*1.2)+((IFERROR(N148*5,0))))))
Q148Q148=SUM(K148:N148)*5+M148
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,789
Messages
6,121,590
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top