$ amount does not calculate with a space

FXA

Board Regular
Joined
Jan 28, 2023
Messages
71
Office Version
  1. 365
Platform
  1. Windows
My issue is when I copy and paste from my source, that source has no comma in the dollar amount when the dollar amount hits the thousands and above. Is there a way around this?

Formula:

=C5+AK8+AK9+AK10

C5 = Starting Balance

AK8 =SUM(N10:N1809)

AK9 =SUM(L10:L1809)

AK10 =SUM(M10:M1809)


Thank you in advance.
 

Attachments

  • EXCEL_CFmI00cvDJ.png
    EXCEL_CFmI00cvDJ.png
    59.1 KB · Views: 31
I don't need photographs of your excel worksheet right now. Please paste it into a Notepad page and then send me a photograph.

I've already tried to advise you that the problem may not be with excel but your source data, or how your system is copying it.
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I don't need photographs of your excel worksheet right now. Please paste it into a Notepad page and then send me a photograph.

I've already tried to advise you that the problem may not be with excel but your source data, or how your system is copying it.
I already narrowed it down to that space in between the 3 and the 2 at N10. All I was asking for was a way to automatically eliminate that space (and/or add a comma) when the data is copied over.
 
Upvote 0
There are no formulas in these cells in these rows. (See first pic below)

The Formula from G5 is:
=C5+AK8+AK9+AK10
and it reads Column N starting on Row 10 which has no formulas

The issue is the space in between the 3 and the 2 in Column N in Row 10 because that is how it is copied using copy and paste.
(See 2nd pic below)
What I am looking for is a way to have Excel remove that space between the 3 and the 2 when it is copied over
I already narrowed it down to that space in between the 3 and the 2 at N10. All I was asking for was a way to automatically eliminate that space (and/or add a comma) when the data is copied over.
 
Upvote 0
I don't need photographs of your excel worksheet right now. Please paste it into a Notepad page and then send me a photograph.

I've already tried to advise you that the problem may not be with excel but your source data, or how your system is copying it.
and I did say it was my source data from the first post in this thread...
 
Upvote 0
Can't you just do a find and replace on the column. i.e. in the Find box hit your spacebar and in the Replace box do nothing and click OK
 
Upvote 0
Can't you just do a find and replace on the column. i.e. in the Find box hit your spacebar and in the Replace box do nothing and click OK
I can personally but this is for the end user who knows nothing of Excel.
 
Upvote 0
I can personally but this is for the end user who knows nothing of Excel.
Are you not doing this before you send them the sheet? even then it isn't hard to teach someone to select a column, press Ctrl + F, click the replace tab and in the Find box hit their spacebar and in the Replace box do nothing and click OK.

Or record yourself carrying out the task and get them to run the macro
 
Upvote 0
No. The format I copy and paste from I cannot change so I am looking to have excel remove the space and/or replace the space with a comma automatically

and I did say it was my source data from the first post in this thread...
And I asked if that source data was an excel spreadsheet as well, which you did not answer. If it is, then you have a problem with your source not your workbook.
 
Upvote 0
Are you not doing this before you send them the sheet? even then it isn't hard to teach someone to select a column, press Ctrl + F, click the replace tab and in the Find box hit their spacebar and in the Replace box do nothing and click OK.

Or record yourself carrying out the task and get them to run the macro
Just wanted a formula or code to have this done automatically is all. Guess I'll need to go to the other forum.
 
Upvote 0

Forum statistics

Threads
1,224,832
Messages
6,181,234
Members
453,026
Latest member
cknader

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