Is there a way to make cells display numerical data in the millions of dollars amount? As an example 1,500,000 would be displayed as 1.5
I have looked around but did not find much information on the NumberFormat paramater so it is kind of confusing in terms of synthax.
Thank you in advance for your time and participation.
Solved! Go to Solution.
Yes, if you set it to 6 and then use number format N1 or N2, then you should get what you are looking for.
If you want to use format, you can try #,, #.0,, or #.00,,
If you google excel custom format, you will get plenty of results explaining the concepts behind it.
Hello, I tried NumberFormat = N1, Scale = 6 and it works in terms of displaying the numbers in millions, however it messed up some percentage calculations that I was making beforehand. I think this is because of the scaling. Is there a way to get around it?
Take a look at this thread. I provided an example with attached syntax on how we use UD8 as a Reporting Helpers dimension and allow the users to run reports or use the excel add-in to dynamically scale their numbers (whole numbers, scaled to thousands, and scaled to millions).
For a single report, yes my suggestion would be more involved than needed and Christian's suggestion is the way to go. I'm assuming you would want to drive consistency among all reports, so a good way to do that is to leverage the UD8 scaling idea. Either way, I think you have a few good options!