$ 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

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Can you check your formats of cells c5, the Currency Format puts the symbol next to the first numeral. The "Accounting" Format will put the symbol on the far left.
 
Upvote 0
Can you check your formats of cells c5, the Currency Format puts the symbol next to the first numeral. The "Accounting" Format will put the symbol on the far left.
That part is ok. When I added a comma where the space is in this number

3 246.87

to

3,246.87

it works
 

Attachments

  • EXCEL_wKQxfHCigk.png
    EXCEL_wKQxfHCigk.png
    58.6 KB · Views: 22
Upvote 0
So, are you good?
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.
 
Upvote 0
are you saying when you copy "1,234.56"... what goes into your cell is "1 234.56"?

Have you look at what it looks like in notepad? Is your computer picking up the comma?
Is the source data in excel? if so, what is the format there? And anyreason why you can't import using data/connection instead of a copy/paste?
 
Upvote 0
are you saying when you copy "1,234.56"... what goes into your cell is "1 234.56"?

Have you look at what it looks like in notepad? Is your computer picking up the comma?
Is the source data in excel? if so, what is the format there? And anyreason why you can't import using data/connection instead of a copy/paste?
This is the data it is grabbing. Notice that there is a space in all numbers above 3 digits to the left of the decimal
 

Attachments

  • brave_yftifCQxXj.png
    brave_yftifCQxXj.png
    8.7 KB · Views: 18
Upvote 0
Did you do what I asked and copy the raw data onto a notepad page? Is the data in excel? I'm seeing time formats with "." as the separator - can that be part of the problem?
 
Upvote 0
And it seems like both photos you've posted are from excel worksheets. Not the original data. That is no help.
 
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
 

Attachments

  • brave_56MC19x8Pb.png
    brave_56MC19x8Pb.png
    4.4 KB · Views: 24
  • EXCEL_RiF3pAUJPr.png
    EXCEL_RiF3pAUJPr.png
    1.2 KB · Views: 12
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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