Excel Custom Formatting and/or Formula - excel

I have a list of numbers for a client like below:
8481.80.9005
8481.80.9005
8413309090
8413309090
The first two numbers exhibit the correct formatting, per the client. Is there a formula and/or custom formatting that I can use to make all numbers uniformly the correct format?
Note - all numbers are 10 digits with periods after the fourth and sixth digits.

I know I'm going to be shot down on this one, but couldn't see why you can't do
0000\.00\.0000
in custom formatting

The problem with a custom format is that Excel will read the number as a whole number and any attempt at putting in the ., if your local settings are set to the . being the decimal separator, is that it will try to put it at the end.
So we need to first make it a string with some other separator and then do a substitute.
The following formula does that:
=SUBSTITUTE(TEXT(A1,"0000-00-0000"),"-",".")

Related

Excel. Special number separator format for 1 specific column, no for the entire document

In an Excel's document, I need when you enter a positive 6 digits number (XXXXXX) into a specific cell like for example, the number 223715, then Excel automatically format the number as 223'71'5 once you write the number into the cell and you press Enter or move to another cell, etc.
In addition to the previous explained, I need when you enter a 5 digits number, then Excel automatically adds an ending '0' to complete the number format to 6 digits, so if you insert the number 22589, then Excel automatically converts it to 225'89'0
The most important part is I need to give this "special" format ONLY in one single column or defined set of specific cells, because for example, I tried modifying an Excel's setting that allows to use the number separator you want but it takes effect in the entire document that is exactly what I don't need, because I need to mainly have the Excel documents in a standard way but with some columns/cells with this special format.
I tried with multiple custom Number Cell Format like "###'##'#0.00", "###'##'#000'00'0" and similar combinations trying to get positive results but no luck for now.
EDIT:
Try this custom format: [<=99999]###'##'\0;###'##'#
5 digits
6 digits

Excel number formatting is wrong

I have a lot of numbers and in Excel these numbers are displayed in a wrong way. Excel adds a lot of dots in between the numbers.
In the program NUMBERS it is display correctly. I need to manipulate this data in Excel. Can anyone help me how to set the numbers in Excel correctly?
Incorrect dots in between the numbers in Excel:
Correct way the numbers are presented in NUMBERS:
You need to check your options, more exactly the "advanced" ones, as indicated in the following screenshot, apparently both boxes have the same separator value for decimals and for the thousands (sorry for the Dutch, that's just the language of my Excel installation):
Use Find and Replace function to replace all . with blank.
Then change format Number with Use 1000 Separator property marked true.

Number formatting help in Excel

I'm using a custom number format and conditional formatting in cells so that the displayed value is different than the actual value. The custom number format is [<=500]$#,",000" and changes a number like $125,600 to $126,000 (i.e. it rounds it to the nearest thousand). However, with negative numbers, it leaves the "-" in front of the number. I'd like to address it so that it changes it to parenthesis instead of the negative sign, but with the customer format I'm using, I haven't had success incorporating it. I tried different versions on my own and none of them help.
This should be what you're after
[>=500]$#,",000";[<=-500]($#,",000")
The formatting after the semi-colon applies to negative numbers, by using a different condition <=-500. The first condition, >=500, will only be appropriate for positive numbers.
If you want to wrap your negative numbers in square brackets rather than parentheses, you need to escape the brackets like this
[>=500]$#,",000";[<=-500]\[$#,",000"\]

Adding additional numerical values into already made column

Major noob here. This is my dilemma:
I created a spreadsheet on excel and input my data in a column. Then I was informed that I need to add two zeros (00) to the front of each value. Is there a way of doing this on excel w/o me double clicking each row and manually adding the 00's before the original value?
in order to add two leading zeros to numbers of unknown length, the only viable option I can think of is to turn the number into a string.
="00"&A1
There may be a way with the format text function to measure the length of your number then format with two leading zeros but that is currently beyond me.
The other option is to go into the custom cell format and change the display to
000000
Where the number of 0s is two longer than the number of digits in your number. If your numbers are inconsistent in length you would need to do this for each cell. It would keep the number as a number though.
Thanks for your replies. #Forward Ed your idea gave me a diff idea. I just added the 00's to the column before and then used another column + the CONCATENATE function.
Also for fellow cavemen like myself, you can use notepad to do it the ghetto way and copy then re-paste back to excel -.-
Im such an idiot lol. Thank you

How to add cells with mix of 6 to 8 decimal places together

Because of floating point values, I cannot add a string of cells that contain values such as:
0.08178502
0.09262585
0.13261762
0.13016377
0.12302067
0.1136332
0.12176183
0.11430552
0.09971409
0.125285
Even if I try adding the first two through a sum formula or auto sum through selecting them, excel spits out an error. I have googled this like crazy and tried to change number formats. Is there a function that can allow me to add this information ?
Screenshot:
The spreadsheet is available on my Dropbox.
Those numbers are all preceded by a NBSP (Char Code 160). So, in order to sum them, you have to remove that. Many solutions. Here's one:
=SUMPRODUCT(--SUBSTITUTE(A1:A18,CHAR(160),""))
If a formula like:
=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10
produces:
#VALUE!
then your "numbers" cells contain non-visible characters.
They must be removed before the formula will work.
If the cells contain text strings and not actual values you will need to convert the text to numeric values before performing any calculations. The function "=value(cell)" will bring the numeric value.
e.g.: A1 contains "000.12345678" (or some other non-numeric presentation of numerals)
In cell B1 type: =value(a1)
Cell B1 now operates as the real number 0.12345678
Oddly enough, the fact that it said 0.xxxxx in all numbers vs. .xxxxx is what the issue was. I'm just sharing that for folks who google/search and have same issue.
All I had to do was select that whole row and do a search in replace for "0." and make it just "." and now my numbers were usable in equations. For some reason the adjustment of formating as many searches suggested wasn't working

Resources