How to customize a "distance" cell format?

I'd like to create (because, as far a I know, it isn't available) a cell format for distance. Specifically for yards, meters, miles, kilometers, etc. so that, for example, the cell would appear as 900yds or 12km (and the values could be summed in a formula, just as, for instance, currency can appear as $5.00 but the $ does not interfere with formula calculations). Can this be done? How???

Adding text indicating a specific unit is a simple matter of a custom format, as I've used here in the body cells of column B.
As can be seen in the example, the format sets the (maximum) number of places to be displayed after the decimal, and the text symbol that is to follow the numerical entry. The value is entered as a number (see entry box above the table), and the numerical value can be used in calculations (see SUM(B) in the Footer cell, which has been left with its format set to Automatic).
The choice of format is NOT dynamic. All numerical values entered in column B cells will be formatted as nnnn.nnkm, and entries that include the km suffix (typed in, or added by formula) will be interpreted as text.
Note also that formatting in this manner does NOT affect the numerical value that is entered. No conversion is done; it  simply attaches the symbol to the entered value.
Regards,
Barry

Similar Messages

  • How can I create a Cell Format in Numbers that doesn't display zeroes?

    I can't figure this out. I need to view numbers in a column decimal aligned. If the number has trailing digits then all trailing zeros need to be removed up to the number of decimals to display. All remaining trailing zeros need to be hidden (not replaced with a space as a space isn't the same with as a digit). Below is a simple example I hacked in Photoshop. The first column shows the real entered value and the right it's displayed value. Note that the cell in red is showing that the trailing zero has been replaced with nothing but the decimal point is still aligned.

    Hi Mike,
    No sign of your photoshopped image, so I'm guessing about what you want here.
    Does this resemble what you're looking for?
    Column B contains the initial entries (made from the keyboard). I wasn't expecting to see the trailing zeroes retained in these.
    All cells in columns C and D contain the formula shown above the table, =B, a simple cell reference to the column B cell on the same row as the formula.
    Column C's format is left as the default "Automatic". As can be seen, all trailing zeroes are removed.
    Cells in column D have had their format set as shown in the Inspector pane to the right of the table.
    The value in these cells is still the same as the value in column B, and that is the value that would be used in any calculations referencing these cells. Formatting affects only the display of the cell contents. What is displayed is the value in the cell, rounded to two decimal places.
    Regards,
    Barry

  • OLE2. How to set cell format to percentage

    hi,
    how can I set the cell format to percentage? I tried with
    ole2.set_property (cell, 'NumberFormat', '%');
    OLE2.set_property(cell, 'Formula', '=A1/B1');
    but this only print a '%' at the end of the cell. Really, the cell format is not percentage, and formula is not calculated.

    solved.
    ole2.set_property (cell, 'NumberFormat', '0,00%');

  • How can I customize the cell format "Time"

    Here's my problem:
    I'm importing  aschedule from my soccer club from an internet page in csv. In essence it shows me:
    DateOfMatch, StartTime, EndTime
    Upon import Numbers adds to the two time cells a date as this is not included in the source data.
    So I end up with
    yyyy-mm-dd; yyyy-mm-dd hh:mm:ss; yyyy-mm-dd hh:mm:ss
    What I need is:
    yyyy-mm-dd; hh:mm:ss; hh:mm:ss
    I couldn't find an option to get time only in a cell.
    Any advice appreciated.
    Cheers
    Martin

    Hi Jerry,
    Thanks for your patience.
    What I want to do in the end is create an entry (appointment) in iCal This is done via a script.
    The set StartDate and SetEnddate expects date&time in one cell. So far so good. This is what Numbers provides.
    My problem is that the .csv file I get from the internet download comes as
    yyyy-mm-dd; hh:mm; hh:mm as described earlier.
    Upon import Numbers changes the format and adds a date to the "tme only" column. The date added is the import date, which I cannot use of course as I need my iCal entry to reflect the actual date of the match.
    To generate the format I need for iCal I would need to delete the import date Numbers added and concatenate the imported match date with the start/end time to get the proper date aligned with the StartTime which then gets interpreted correctly by iCal.
    I hope it's getting clear what I'm trying to do.
    I was in the opinion there must be a way as Windows Excel can do it.
    The only alternative I found so far is to change the cell formatting into text and edit the cell manually which is okay for one or two entries ...
    Cheers
    Martin

  • How can I copy cell formatting from one range to another?

    How can I copy cell formatting from one range to another, including text fonts, colours, borders, etc., so that, for example, I can reuse a formatted reconciliation table again in different parts of a sheet?

    Hi George,
    Wayne found the Spinning Beachball of Death, and you will find it too.
    Numbers is not good at handling large datasets. Might I suggest that you group your data into smaller sets (each month, perhaps?) and save each group in a separate Numbers document. Numbers will not link between documents, but you could have a summary Table within each document. Then comes the "clunky" bit of copying all those summary tables into a master document where you do the final processing of the data.
    Regards,
    Ian.

  • How to express cell format in Numbers?

    In Numbers on Mac, I want all positive numbers in cells to display in blue with comma separators and a leading + sign.  Example: the value 4135 should appear as +4,135
    I want all negative numbers in cells to display in red with comma separators and a leading - sign.  Example: the value 2167 should appear as -2,167
    I know how to create this in Excel with the custom format [Blue]+#,##0;[Red]-#,##0
    When I create a spreadsheet in Excel, then open the spreadsheet in Numbers, this cell format is not recognized by Numbers.  Does anyone know how to create this cell format in Numbers?  Thx

    Hi pomme4moi,
    You can get the "+", the "-" and the commas in the custom format menu.
    For you colors you need conditional formatting as shown by Wayne.
    quinn

  • How do I change the number formatting within a Cell Table in Microsoft Word?

    Hi, I was wondering if someone could help me out on an issue I've been having... I work for an accounting firm and we do a lot of financial statements. 
    I was wondering if we would be able to treat a cell table in Microsoft Word 2007 like I would a cell table in Microsoft Excel. Meaning, I would like to change the formatting of the numbers in the table to the "Accounting" (number) format so it
    aligns by the decimal point and use the $ signs and () for negative numbers.  We do use the link tables feature, however, most of our balancing pages just can't be done in Excel because of the way the text is written. It would be much harder to format
    the text if it were to be typed in Excel. We have also tried  creating an Excel sheet within Microsoft Word but it is the same as linking the tables... Again, a text formatting issue.  The only option is to use tables within Word but how do we change
    the number formatting to a "accounting" (number) format where the numbers would align with the decimal point and use () for the negative numbers. Is there ANY option for us to do this other than manually entering this information in using tabs?  
    If there are no options other than entering it in manually, please consider this as an option for your next software update. I believe that a LOT of people out there will be interested in this feature... My manager and I just attended a webinar on Microsoft
    Advanced Word Tips Tricks and Techniques and 75% of the attending people had this question but no answer.
    Thank you very much for your help!!!!!

    Word does not really have number formatting for table cells. You can align cell contents on the decimal point, though, by setting a so-called decimal tab stop.
    Option 1:
    - Select the cells for which you want to do this.
    - Display the ruler.
    - Click the Tab box on the left hand side of the ruler until the box contains an inverted T with a dot.
    - Click in the ruler where you want the decimal tab.
    Option 2:
    - Select the cells for which you want to do this.
    - Click the arrow in the lower right corner of the Paragraph group on the Home tab of the ribbon.
    - Click the Tabs... button in the lower left corner of the dialog.
    - Specify a tab position in the box, e.g. 1.5".
    - Select the 'Decimal' radio button under 'Alignment'.
    - Click Set.
    - Click OK.
    You will have to type the numbers as they should appear, including the $ for currency and the ( ) for negative numbers.
    Regards, Hans Vogelaar

  • How to set up new unique cell format in Numbers 3.0

    I have an old file, it was cerated with the older version of Numbers. I used some unique cell format, like xxx,xx mm, etc. Now I can use the prevously created cell formats, but I can find, how create or edit new one. Somebody has an ideas?
    Thanks, Bence

    Benyo,
    The only way to continue to use Custom Format is to continue to use Numbers V2.
    Jerry

  • Need help with Report Generation Toolkit: Excel Set Cell Format.vi

    Hi people,
    I've been searching and found this old thread of someone asking what is the input parameter "Number format". And I dont know what should I put in there. I've tried so many possibilities, but nothing works so far, such as:
    0,0
    0,?
    0,#
    #,0
    ?,0
    and also with @, doesnt works. Where would I find help about this parameter?
    I'm using Excel2003, german version, thus local decimal separator is a comma.
    I also found this help from NI, but seems doesnt help me either. Do I miss something important?
    thanks,
    Yan. 

    Hi,
    I've used your suggestion and some numbers in excel doesnt need to get "right click, change to numbers" anymore (green indicators on the left-top side in some cells are gone). But, I think its still not a number, because I cant use a simple formula, such as in cell A10 I type "= A1/2" (cell A10 equals cell A1 divided with 2) . I got error which says its not a number.
    Well, but other thing is found, any format-string I put in the input of Excel Set Cell Format.vi, such as #,########, will be shown the same as "customize #,########" if I right click in a cell in excel and click "Zellen formatieren" (formatting cell). But however, the numbers are still depends on the input of the format I put in the Append Table to Report.vi.
    regards,
    Yan.

  • How can I change the date format in Reminders and in Notes?

    How can I change the date format in both Notes and Reminders? Preference on Imac and Settings in IOS do not allow me to change the format in those 2 apps.
    I Like to see 10oct rather than 10/10, as an example.

    pierre
    I do not have Mavericks or iOS - but the first thing I would do is reset the defaults - I'll use Mavericks as an example
    From If the wrong date or time is displayed in some apps on your Mac - Apple Support
    OS X Yosemite and Mavericks
        Open System Preferences.
        From the View menu, choose Language & Region.
        Click the Advanced button.
        Click the Dates tab.
        Click the Restore Defaults button.
        Click the Times tab.
        Click the Restore Defaults button.
        Click OK.
        Quit the app where you were seeing incorrect dates or times displayed.
        Open the app again, and verify that the dates and times are now displayed correctly.
    Then customize to taste - OS X Mavericks: Customize formats to display dates, times, and more
    OS X Mavericks: Customize formats to display dates, times, and more
    Change the language and formats used to display dates, times, numbers, and currencies in Finder windows, Mail, and other apps. For example, if the region for your Mac is set to United States, but the format language is set to French, then dates in Finder windows and email messages appear in French.
        Choose Apple menu > System Preferences, then click Language & Region.
        Choose a geographic region from the Region pop-up menu, to use the region’s date, time, number, and currency formats.
        To customize the formats or change the language used to display them, click Advanced, then set options.
        In the General pane, you can choose the language to use for showing dates, times, and numbers, and set formats for numbers, currency, and measurements.
        In the Dates and Times panes, you can type in the Short, Medium, Long, and Full fields, and rearrange or delete elements. You can also drag new elements, such as Quarter or Milliseconds, into the fields.
        When you’re done customizing formats, click OK.
        The region name in Language & Region preferences now includes “Custom” to indicate you customized formats.
    To undo all of your changes for a region, choose the region again from the Region pop-up menu. To undo your changes only to advanced options, click Advanced, click the pane where you want to undo your changes, then click Restore Defaults.
    To change how time is shown in the menu bar, select the “Time format” checkbox in Language & Region preferences, or select the option in Date & Time preferences.
    Here's the result AppleScript i use to grab the " 'Short Date' ' + ' 'Short Time' "  to paste into download filenames - works good until I try to post it here - the colon " : " is a no-no but is fine in the Finder
    Looks like iOS Settings are a bit less robust
    - Date/Time formats are displayed according to 'tradition' of your region > http://help.apple.com/ipad/8/#/iPad245ed123
    buenos tardes
    ÇÇÇ

  • Issue in cell format when exporting data to excel

    Hello there,
    I have an ABAP program that selects data from tables into an internal table and writes the data in CSV (excel) file.
    I have a very weird issue when writing the file: The data is written properly, though the dates in my data, which is written in yyyymmdd format, has different cell format in the csv file itself. I'll expain:
    Let's say I've written into CSV file a table with name and birthdate, and I have 2000 records. From record 1 to 1475, when I right-click on the date cells in those lines, and choose "cell format", I can see it's in "general" format. From line 1476 on, when I do that I see that the date cells are in format of "custom" with pattern 'yyyymmdd'.
    I want all the cells to be "general". How do I do that?
    Thanks in advance

    Hi Daniel,
    Try using these Function Module......................
    Before filling final internal table write those condition.................................
    Data:  gv_date   TYPE mch1-vfdat,
             gv_vdate(10) TYPE c.
    CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             date_internal            = gv_date
           IMPORTING
             date_external            = gv_vdate
           EXCEPTIONS
             date_internal_is_invalid = 1
             OTHERS                   = 2.
         IF sy-subrc <> 0.
    * Implement suitable error handling here
         ENDIF.

  • How to customize search in WS 7 and for multiple virtual servers?

    I'm not clear on how to customize search results pages in Sun Web Server 7. The documentation (the Adminstrator's Guide, page 215) says:
    You can take a look at the default search application located at /bin/https/webapps/search as a sample application
    but I'm not seeing any such thing. I did a find . -name search -type d from the server root and instance root but the only search directories I'm seeing are subdirectories within the generated directory and they look like system generated jsps that I shouldn't touch (So I didn't :-)
    So one question is, where is the default app? A second question is, how do we set up different branding for different virtual servers?
    We're currently using WS 6.1 and it has a field in the GUI for the directory containing the web app to use for search. That seems to have disappeared in WS 7.
    Any help would be appreciated. Thanks.
    Dave

    I don't use the search engine, so I'm afriad I don't have direct experience here.
    What I'd probably do is modify the app so that it looks at the Host data to determine which directory it should point to for graphics, formatting, etc. You could also use the obj.conf with variables to pull graphics from directories appropriately branded. Something like:
    1) Create "additional doc directory" for images
    2) Find the entry in the obj.conf that points to the new directory
    3) Modify the path to something like /path/to/$host/images
    4) Make sure you create directories like:
    /path/to/foobar.com/images/
    /path/to/www.foobar.com/images/
    /path/to/baz.com/images/
    /path/to/www.baz.com/images/

  • How to customize purchase order smartform BBP_PO in SAP SRM 7.0?

    Hi friends,
    I am new to SAP, as well as to SRM world. Currently I have a object with me from purchase order smartform in SRM. My job is to copy the standard PO form named BBP_PO into "Z" form and to make customizations in the copied one. I don't have idea about how to proceed with it. Please give me some idea about required processing classes, methods, BADI's, FM's etc,.. Can anyone please tell me how to do this job? I am a fresher so if you help me in this means, it would be very helpful for me and for my future.
    Thanks and regards,
    Siva

    Hello Siva,
    I searched and found the below steps ...
    why dont you try the same !
    How to customize an existing Standard Smart form in SRM - Overview.
    1. Copy existing Standard smart form in SRM, let us say, BBP_PO into "Z'' Smart form in Transaction SMARTFORMS.
    2. Do changes in Z Smart form add Desired Logos in Smart form using SE78 and SMARTFORMS transactions.
    3. Change in Jargon: Unlike ECC we will not have Driver program (in SE38), you will find Processing class and Processing method ( in SE24) for SRM Smart forms, where we write extraction logic.
    4. So, In case of SRM we should replace the (word) "Driver Program" with (the word) "Processing Class" and Perform as "Processing Method".
    5.Where to Link: Processing Class, Processing Method and Smart form? In SPRO, SRM Server -> Cross Apps -> Set Output Actions and Output Format -> Define Actions for Purchase Order Output -> Action definition -> Processing types, then select standard PO.
    6. If we are using (Completely- New) Custom Smart Form instead of Changing Standard Smartform, then Do change any settings in Step5, Otherwise, if you are planned to modify existing Smartform, with Small logic changes, format changes and Logo Changes then, Just Implement BADI - BBP_OUTPUT_CHANGE_SF in SE19 transaction.
    7. Put a simple code  in BADI as... CASE IV_OBJECT_TYPE.
    When  'BUS2201' .
       CV_SMARTFORM = 'Z_CustomSF'.
    ENDCASE
    8. Don't forget, you already copied Std Smartform into Custom Smartform say Z_CustomSF.
    9. I am using BUS2201 only becuase I was trying to change BBP_PO Smartform which is a Purchase Order Smartform.
    Hope this helps!
    - Vikas

  • How to Create Simple In-Cell Charts with the REPT Function

    I found this technique on Juice Analytics, and was happy that I could adapt it to Numbers.
    Basically, you can create an in-cell chart by repeating a character, x number of times, where x can be a number or cell reference.
    See the screen shot below:
    [IMG]http://i240.photobucket.com/albums/ff100/MacFanMike/incell-graph.jpg[/IMG]
    You can read more about it, and download example here:
    http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-wit h-apple-iwork-numbers/

    I haven't tried myself but my guess is that you need to customize your tree cell editor for putting
    cursor at specific position, etc.

  • How do I get the cells to show up darker when printing my document

    When using Numbers, how do I get the cells to show up darker when printing my document?

    Are you asking about the cell background, as ivmedic has assumed, or about how to make the grid lines separating the cells darker?
    Select the table.
    Use the controls shown above this table to change:
    Stroke type from "Thin" to the solid line shown.
    Stroke thickness to 1 pt
    Stroke colour to a darker value (This is set to black, the rightmost cell in the top row of the Color Palette available fir this Color Well.)
    the controls are toward the right end of the Format Bar.
    Regards,
    Barry

Maybe you are looking for