Avatar of amq10
amq10
 asked on

Excel number formatting

Hi,

I extract data into excel and numbers are appearing in different format as I want.
as attached.
sample1.jpg
Microsoft ExcelMicrosoft OfficeVB Script

Avatar of undefined
Last Comment
Brian Pierce

8/22/2022 - Mon
Ingeborg Hawighorst (Microsoft MVP / EE MVE)

Hello,

select the cell and on the Home ribbon select "General" in the number format drop-down.

In your screenshot, the number format is showing negative values in parentheses, like

-123 is formatted to show as (123)

You can change the number format for the cell with the formatting options for the cell.

There are many ways to format numbers, and negative values can be displayed with many options: leading - sign, red, round brackets and more. You can change the format with the formatting settings for the cell.

Right-click the cell and select "Format Cells". Then select any of the pre-defined number formats or create your own preferred format.

cheers, teylyn
amq10

ASKER
Hi teylyn,

sorry but ( ) is not my issue. the issue here is that number separator (,).

find attached the excel sheet
Sample.xlsx
ASKER CERTIFIED SOLUTION
Brian Pierce

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23