Is there a way to shorten the numbers? So instead of $789,137,674.05 It can be 789 and the title say
million? I'm pulling data from else where, but I'd like to shorten it so it's easier to read. Here is the formula so far:
=ROUND(SUMIFS({Value}, {Sheet}, OR(@cell = "REXUS Activation", @cell = "Pending REXUS"), {Lease Exp. Date}, AND(@cell >= DATE(YEAR(TODAY()) - 2, MONTH(TODAY()), DAY(TODAY())), @cell <= TODAY())), 2)
Best Answer
-
Hi, Abbie.
One approach is to divide your answer by 1000000 and then take the integer of that, INT(). You can drop the ROUND() function since you don't need the result to that scale.
=INT(SUMIFS({Value}, {Sheet}, OR(@cell = "REXUS Activation", @cell = "Pending REXUS"), {Lease Exp. Date}, AND(@cell >= DATE(YEAR(TODAY()) - 2, MONTH(TODAY()), DAY(TODAY())), @cell <= TODAY()))/1000000)
Example: INT(789.13767405...) = 789
Sometimes you'll want one decimal place (e.g., $789.1billion). To do that, move your divisor one decimal to the left (100 000 instead of 1 000 000), take the integer, and then divide the result by 10.
Example: INT(7891.3767405...)/10 = 789.1
Answers
-
Hi, Abbie.
One approach is to divide your answer by 1000000 and then take the integer of that, INT(). You can drop the ROUND() function since you don't need the result to that scale.
=INT(SUMIFS({Value}, {Sheet}, OR(@cell = "REXUS Activation", @cell = "Pending REXUS"), {Lease Exp. Date}, AND(@cell >= DATE(YEAR(TODAY()) - 2, MONTH(TODAY()), DAY(TODAY())), @cell <= TODAY()))/1000000)
Example: INT(789.13767405...) = 789
Sometimes you'll want one decimal place (e.g., $789.1billion). To do that, move your divisor one decimal to the left (100 000 instead of 1 000 000), take the integer, and then divide the result by 10.
Example: INT(7891.3767405...)/10 = 789.1
-
Thank you @tfcRobert!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!