Question related to sum(Text with Number)

%3CLINGO-SUB%20id%3D%22lingo-sub-2266518%22%20slang%3D%22en-US%22%3EQuestion%20related%20to%20sum(Text%20with%20Number)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2266518%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3EI%20want%20to%20sum%20text%20with%20number.%3C%2FP%3E%3CP%3ELike%20-%26nbsp%3B%3C%2FP%3E%3CP%3EIN%20COLUMN%20-%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%20(2490).png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F271733i473D133E360CC832%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%20(2490).png%22%20alt%3D%22Screenshot%20(2490).png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIN%20ROW%20-%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%20(2491).png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F271734i7838921575F7C985%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%20(2491).png%22%20alt%3D%22Screenshot%20(2491).png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20answer%20should%20be%20%3CSTRONG%3EUSD%203324%26nbsp%3B%3C%2FSTRONG%3Ein%20cell%20just%20written%20sheet%20with%20the%20help%20of%20formula%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help.%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20an%20attached%20file%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2266518%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2266574%22%20slang%3D%22en-US%22%3ERe%3A%20Question%20related%20to%20sum(Text%20with%20Number)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2266574%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F811137%22%20target%3D%22_blank%22%3E%40Zan_Hanifee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESum%20in%20column%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3D%22USD%20%22%26amp%3BSUMPRODUCT(--MID(B1%3AB6%2C5%2C100))%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESum%20in%20row%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3D%22USD%20%22%26amp%3BSUMPRODUCT(--MID(A1%3AF1%2C5%2C100))%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2266577%22%20slang%3D%22en-US%22%3ERe%3A%20Question%20related%20to%20sum(Text%20with%20Number)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2266577%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20works!%20Thank%20you%20so%20much%20sir%3Asmiling_face_with_smiling_eyes%3A%3Asmiling_face_with_smiling_eyes%3A%3C%2FP%3E%3CP%3ESir%2C%20what%20is%20the%20--%20%3F%3F%20and%20where%20should%20i%20use%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2266578%22%20slang%3D%22de-DE%22%3ESubject%3A%20Question%20related%20to%20sum(Text%20with%20Number)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2266578%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F811137%22%20target%3D%22_blank%22%3E%40Zan_Hanifee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EThere%20are%20many%20roads%20that%20lead%20to%20Rome%2C%20here%20is%20another%20approach.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EFormula%20inserted%20in%20the%20file.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DSUM(RECHTS(B1%3AB6%3B%20FIND(%26amp%3Bquot%3B%20%26amp%3Bquot%3B%3B%20B1%3AB6)-1)*1)%20in%20English%3C%2FP%3E%3CP%3E%3DSUM(RIGHT(B1%3AB6%2CFIND(%26amp%3Bquot%3B%20%26amp%3Bquot%3B%2CB1%3AB6)-1)*1)%20in%20English%3C%2FP%3E%3CP%3E%3DSOMME(DROITE(B1%3AB6%3B%20TROUVE(%26amp%3Bquot%3B%20%26amp%3Bquot%3B%3B%20B1%3AB6)-1)*1)%20in%20%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EFrench%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EContains%20array%20formula%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EDo%20not%20enter%20the%20border%2C%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3Ecomplete%20the%20formula%20with%20CTRL%20%2B%20SHIFT%20%2B%20RETURN!%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hello Everyone,

I want to sum text with number.

Like - 

IN COLUMN - 

Screenshot (2490).png

 

IN ROW - 

Screenshot (2491).png

 

The answer should be come in cell just written sheet with the help of formula

 

Please help.?

 

Here is an attached file

11 Replies

@Zan_Hanifee 

Sum in column:

 

="USD "&SUMPRODUCT(--MID(B1:B6,5,100))

 

Sum in row:

 

="USD "&SUMPRODUCT(--MID(A1:F1,5,100))

 

It works! Thank you so much sir

Sir, what is the -- ?? and where should i use?

@Zan_Hanifee 

There are many roads that lead to Rome, here is another approach.

Formula inserted in the file.

 

=SUMME(RECHTS(B1:B6;FINDEN(" ";B1:B6)-1)*1)  in German

=SUM(RIGHT(B1:B6,FIND(" ",B1:B6)-1)*1) in English

=SOMME(DROITE(B1:B6;TROUVE(" ";B1:B6)-1)*1) in French

 

Contains array formula:

Do not enter the border {}, complete the formula with CTRL + SHIFT + RETURN!

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

 

@Zan_Hanifee 

 

My approach:

 

Patrick2788_0-1618153843607.png

 

Thank you for giving the solution.
Sir can you please give a screenshot of the stepwise process. Because i am not able to solve it.. Please???
Thank you so much sir.
Sir, why you put *1? Please explain

@Zan_Hanifee 

I agree with @Patrick2788; the dollar amounts should never have been held as text in the first place.  Given that they are, in the days when I used non-array versions of Excel, I used Name Manager to bypass the fact that grid calculations mess with arrays.  If 'input' is the row or column of input data, then defining the named formula 'amount' to refer to

=VALUE(MID(input,4,10))

or

=--(MID(input,4,10))

will give a well-behaved array of numbers.

 

The result is then given by

= SUM(amount)

with no CSE or curly brackets required.  All that remains is to apply a number format such as

"USD" #,##0

[taking care to use the relevant parameter and thousands separators].

Thank you so much sir
Thank you so much for reply.

What is Input?
It is a Name I defined to refer to the row or column of data to sum.
It can either be done by typing the Name into the box on the far left of the formula bar or by opening Name Manager (Ctrl/F3) and defining the new Names.

It provides an alternative way of referencing data to the A1 notation and works well in Excel (the last time I used a direct cell reference was in 2015)
Thank you so much sir