Calculating Currency with text

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,

Is it possible to calculate simple figures with text

ie

2.450m
2.125m
1.475m

to form a total of 6.050

Thanks
 
Hi Aladin,

Say i have G11:G20 of values the formula works great

If i am finished with this set of values and delete the contents from G11:G20 the formula shows up and error of #VALUE

I would like to remove this error and say nothing (ie "") until i start entering values into G11:G20

I hope this makes sense

Thanks for your time
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi Aladin,

Say i have G11:G20 of values the formula works great

If i am finished with this set of values and delete the contents from G11:G20 the formula shows up and error of #VALUE

I would like to remove this error and say nothing (ie "") until i start entering values into G11:G20

I hope this makes sense

Thanks for your time

Control+shift+enter, not just enter:

=SUM(IF(G11:G20="",0,SUBSTITUTE(G11:G20,RIGHT(G11:G20),"")+0))

If you want to, custom format the formula cell as:

[=0]"";General
 
Upvote 0
Hi Guys,

Is it possible to calculate simple figures with text

ie

2.450m
2.125m
1.475m

to form a total of 6.050

Thanks
Is the text character ALWAYS a lower case "m"?

If you're using Excel 2007 or later...

Array entered**:

=SUM(IFERROR(--SUBSTITUTE(G11:G20,"m",""),0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,914
Members
452,949
Latest member
beartooth91

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