Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


Fix Numeric Formatting in Apple Pages Table Cell?

I use Pages on my Mac OS X system to generate invoices for clients based on the invoice template included with the program. I like it because it's simple, neat, and has some slick formatting capabilities. Except I have a small table on the invoice page that calculates total invoice price based on hours * rate. For the first time, I've created an invoice that has a fractional hour, and if I click on the cell I see the fractional amount, but once I click out, it's rounded up and I can't send that to the client! How do I fix the formatting in Pages?


Dave's Answer:

That's really an incredibly detailed and narrow question, but you're in luck because I also use Apple Pages (part of iWorks, and boy is it due for an update) and find it's a great replacement for the far more expensive Microsoft Word, including its ability to have sophisticated tables that are really embedded spreadsheets.

One of the best examples is the Invoice template, which is actually how I do invoicing too, as it happens. That's why I knew I could help you out with your question, actually, because I recently billed a client for 1.5 hours of time and noticed the same annoying thing in the program.

It's the classic tradeoff between sophisticated and complicated, really, and as with much in modern Apple software, it's the "Inspector" window that holds the key to fixing the problem.

But let's start there, with the problem itself.

Here's what I saw:

See that "2" under the "Quantity" heading? It's not actually a two, that's just rounding up because Pages doesn't know that decimals are acceptable in this context.

If I click into the individual table cell, you'll see what happens:

Well, that's totally different, and as you say, it's darn confusing for the client to see, say, 2 * $100 = $150 because of this rounding error.

To fix this particular table data cell, click once on the cell to ensure it's selected, then click on the table button in the Inspector. As you can see, it's 7th from the left / 4th from the right, a little yellow grid:

Almost there, but this is where you can modify the formatting and presentation of the table itself. That's not what we want, we want the formatting of individual cells. To get there, click on "Format" on the tabs. Now the options change:

Before we just add a few decimal points for the number cell, let's have a quick peek at the different cell formatting options:

That's quite a few. Notice "Currency" is an option, too: that gives you two decimal points (and what I mean when i say that is "digits displayed after the decimal point in the number" so it'll add zeroes as needed to ensure the display is correct. If you've entered "47", it'll display in Currency as "47.00", as you'd hope).

We'll stick with Number, however, and simply use the tiny arrows to change the decimal setting from "0" to "2":

Now when I click out of the individual table data cell, it does exactly what I want to have happen, shows a fractional value:

So there's your answer. Very specific question, very specific answer. In general, though, just remember that the Inspector window is the key to everything within Pages, Keynote and Numbers, along with many other Mac OS X applications.


More Useful Mac OS X Help Articles:
✔   Audacity can't find LAME library, I can't save Mp3?
Hey Dave. I read your article Audacity can't save mp3 audio files and am still puzzled because I downloaded the LAME Mp3 converter...
✔   How to remove Dashboard as a "space" in Mac OS X Spaces?
I'm a big fan of the Spaces utility in Mac OS X that lets me have multiple virtual screens [see Set Up Mac...
✔   Best place to buy a cheap MacBook laptop?
Hi Dave. I am looking for two gently used MacBook laptops for my teen daughters. Personal computers would greatly facilitate their studies as...
✔   File too big error copying to USB flash drive on my Mac?
I'm baffled. I have a 16GB Kingston USB flash drive that I use on my Mac system and I'm trying to copy a...
✔   Stealth image capture photo from webcam on my Mac?
Someone sneaks into my cubicle while I'm at lunch and takes candy out of my desk. Petty, but stupid too. I want to...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  





Categorized: Mac OS X Help   (Article 10671, Written by )
Tagged: apple keynote, apple numbers, apple pages, cell formatting, invoices, iworks, spreadsheets, table formatting
Previous: Disable audio notification sound in Facebook?
Next: Force Mac OS X "grep" to always output in color?




Reader Comments To Date:

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!
Rather amazingly, there are no comments on this article yet.

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.