Excel number formatting thousands is not working [closed] - excel

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
With Excel, I am trying to format my numbers to display as thousands.
1000 should be 1 k.
I usually use the format numbers from Excel. Depending on the language, I add a "space" or a "," after the last digit of my formatting in order to get a x1000 division.
I used to have:
Format numbers in thousand: 0, "K" (US) or 0 space "K" (French, for instance)
Format numbers in millions: 0,,"M" (US) or 0 double-space "M" (French, for instance)
However, it is not working anymore and now it just displays my numbers with a comma/two commas at the end instead of having thousands or millions.
Do you know what it could be related to and how to parameter the cells format?
In my Advanced settings, I am using the "," as Decimal separator, and the " " as Thousands separator
Note: I would like to avoid having a formula as I only want to act on the cells format. For now, my workaround (not satisfying) is creating a "mirror" page using =ROUND(Cell/1000000;0) to display Millions, for instance
Thank you for your help

to do so, follow these steps:
1- choose cells you want to change format.
2- Press Ctrl+1 to open formatting popup (Number tab)
3- select 'Custom'
4- Enter this pattern for converting into thousands with K:
#,##0.0, "K"
5- And this pattern for converting into millions with M:
#,##0.0,,"M"

Related

Create Excel Formula to extract all numbers in ri after string [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Create a formula that returns only the characters that appear after "X" for the given character strings. The same formula must work for the whole column!
Example of how it should look like after you apply your formula:
765892X329 329
752238X44 44
FIND / SEARCH
Find the position of the "X":
=FIND("X",A1)
An error will occur if there is no "X".
Get the right characters after the "X":
=RIGHT(A1,LEN(A1)-FIND("X",A1))
Handle the error:
=IF(ISNUMBER(FIND("X",A1)),RIGHT(A1,LEN(A1)-FIND("X",A1)),"")
Allow a lower case "x":
=IF(ISNUMBER(SEARCH("X",A1)),RIGHT(A1,LEN(A1)-SEARCH("X",A1)),"")
Convert the resulting text into a number:
=IF(ISNUMBER(SEARCH("X",A1)),VALUE(RIGHT(A1,LEN(A1)-SEARCH("X",A1))),"")
An error will occur if the resulting text is not 'numeric'.
Handle errors differently:
=IFERROR(VALUE(RIGHT(A1,LEN(A1)-SEARCH("X",A1))),"")
Abandon the 'convert to number' idea:
=IFERROR(RIGHT(A1,LEN(A1)-SEARCH("X",A1)),"")
Abandon the 'allow lower case' idea.
=IFERROR(RIGHT(A1,LEN(A1)-FIND("X",A1)),"")
If the range is in Column A and you have office 365 you can use the following:
=MID(FILTER(A:A,A:A<>""),FIND("X",FILTER(A:A,A:A<>""))+1,LEN(FILTER(A:A,A:A<>"")))
Else use:
=MID(A:A,FIND("X",A:A)+1,LEN(A:A)) and drag down.
This works:
=RIGHT(A3,LEN(A3)-FIND("X",A3,1))*1
Assumed is that the first item is in cell A3, then drag down. The *1 is to convert from text to number.

Looking for a formula that recognises different digits in a cell [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am creating a spreadsheet where the user can enter different numbers and have a different result be returned.
For example if they were to enter a number that started 07, it would show 1, 070 it would show 2, 0345 3 and so on.
I have tried the IF and LEFT formulas but I am struggling!
Any ideas are greatly appreciated!
EDIT: Sorry I was trying not to write war and peace but have missed out too much.
The users will write in phone area codes, e.g. 0345 or 0714 or 0701 and the sheet will return the price.
The price can be different depending on the first 4 digits. To keep it simple for this purpose I want it to be able to detect if the area code starts with 07 to show a "price" of 1, 070 price of 2 and 0345 a price of 3.
I have 10 different area codes but just added the 3 above for examples.
I hope this is clearer.
To get the length of a string with the leading zeros removed use the array function
=LEN(MID(A2,MATCH(TRUE,(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)<>"0"),0),LEN(A2)))
Replace A2 with the cell that the users will change and hit [Ctrl Shift Enter] on the cell with the formula to activate the array function.

Concatenate on Google docs gives bad date [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I want to fuse 3 items to one using concatenate formula. I am trying to fuse date (2018-06-08) and 2 normal text items (12 and 45). I use this formula =Concatenate(D2;" ";E2;":";F2) But when I fuse them, I get 43259 12:45, instead of 2018-06-08 12:45. I tried adding TEXT but it only gave me error.
Try,
=D2+time(E2, F2, 0)
Format the result as you prefer. e.g. yyyy-mm-dd hh:mm
Use this:
=CONCATENATE(TEXT(D2,"yyyy-mm-dd"), " ", E2, ":", F2)
Because Google docs (like Excel) represents dates with a number (usually it's the number of days since 1900-01-01), you need to convert it to text format with special instructions specifying the order of day, month, year, and what punctuation to separate them.
Currently the documentation for the TEXT function can be found here.

Calucating the total number of cells in a row that are less than 16 hours [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I need the total number of cells in sheet-1 Column B that are less than 16 hours where Sheet-1 Column A is not equal to 5 in sheet 1 E4 cell.
For Ex please see the image attached.
Please click on this link to find the example
Assuming that
column A of sheet1 are date/times, and not text, and
you are attempting to find how many date/times are more than 16 hours old
then you simply want to place the following formula in sheet2!F7:
=COUNTIF(sheet1!A:A,"<"&NOW()-0.75)
(16 hours is 0.75 of a day.)
If the data in column A is text, then it gets slightly harder as you have to ensure that Excel does not treat the NOW()-0.75 as a date/time. You can trick it by adding an extraneous character to the end of the formatted date/time so that it no longer appears to be valid, e.g.
=COUNTIF(sheet1!A:A,"<"&TEXT(NOW()-0.75,"yyyy/mm/dd hh:mm:ss")&"#")
worked for me. (The extra "#" at the end forced it to no longer be a valid date/time string.)

Starting binary input with 0s in a cell [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
First up, I'm not sure if this is the right place to ask this or not, so if it's not please let me know.
Ok so,I'm working on a project that deals with numbers in the binary format as inputs, however, when the input let's say begins with "00" or any number of 0s, it discards it in Excel so I was wondering how to force excel to accept 0s at the beginning of a binary input
I found the simplest solution after working with Excel this past week.
To include leading 0s, I should select the cell containing my decimal number and simply use the dec2bin function in Excel and define how many bits I want to output to be.
=DEC2BIN([number or cell reference],[#bits])
So if you enter "=DEC2BIN(A1,8)" in the formula bar, and the value of A1 is 15, the value output will be 00001111.
You need to provide it with a custom format!
Select the cell(s), and go to the Format Cells dialog (Ctrl-1). In the number format, choose Category "Custom" and here enter 0000 as the custom format. The number of 0 indicate the total number of digits display. If less are entered, it'll be filled with leading 0.
An old post, still:
I was having the same issue (with IP numbers) and found a different solution:
In one cell you do the conversion: =DE2BIN(10)
In the other cell you format it with TEXT formula: =TEXT($A$1,"00000000").

Resources