give me a formula in colune B that looks at the content of column A (061123456789899)…
Jump to turn (22)
- 1give me a formula in colune B that looks at the content of column A (06112345678
- 2I am working on excel, I want a formula in colume B that would check if the valu
- 3what percentage of 30 is 10
- 4what parcentage of 49 is 4
- 5what percentage of 55 is 2
- 6IF 20 ANALYST PASED OUT OF 30 WHAT IS THE PASS RATE
- 7100-8.16
- 8100-3.64
- 9what parcentage of 52 is 5
- 109.62 - 100
- 11if I'm meant to come into work for 40percent of the working days in the month of
- 12actually I only need to spend 40 percent of the actual days I work in the office
- 13there was a public holiday on one of the working days
- 14what is the percentage of 200 of 2900
- 15what amount would be 5%
- 16what are the advantages and disadvantages of making extra contribution pre tax t
- 17WHAT IS A PRETAX BASE SALARY
- 18why do we use the term horse power
- 19how many horse power does a horse have
- 20I have a data cleaning sheet what works well when I use it on my desktop however
- 21bearing in mind lag times on dashboards
- 22what is the meaning of lag time
- User
give me a formula in colune B that looks at the content of column A (061123456789899) and check if the first value of the content is "0". if it is "0" it should return the content of column A as is, if not, it should add "0" to the content and return it.
- Assistant
You can use the following formula in cell B1 (assuming your data starts in A1) and then copy it down the column:
excel=IF(LEFT(A1,1)="0", A1, "0"&A1)Explanation:
LEFT(A1,1)extracts the first character of the text in A1.IF(...="0", ...)checks if the first character is"0".- If yes, it returns A1 as is.
- If no, it concatenates
"0"in front of the content of A1.
Paste this in B1 and drag down.
- User