How to add a suffix to a number

Hi everyone.
I have a simple formula that sums the total ammount of cells.
I would like the result to have a suffix, as for example the word "ITEMS"
if the result of a formula is for example 25, I'd like it to show 25 ITEMS or whatever the word I want, as Miles, Watts, or any other word or phrase I could choose.
Is there any way to do this?
thanks in advance.

=SUM(thecellstosum)&" ITEMS"
This will, of course, change the value in the cell into text. It cannot be used in any other numeric formulas.  If or when when custom formatting comes back to Numbers, you could do the same thing with a custom format and just the simple SUM.

Similar Messages

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to add more than one phone number in imessage?

    How to add more than one phone number in imessage?

    If you mean sending to multiple phone numbers, place a comma between the numbers in the "To" box, or select the "+" to use numbers in your Contacts

  • How to add a check if entered number is even

    hi!
    I need some help. I need user to enter the size of the figure to be printed out. It has to ba an even number (otherwise it will print out with error). I need to add a check if entered size is an even number, otherwise display an error message and prompt user for entering the size again. If it is an even number the program should proceed and print out a figure. Any suggestions for the piece of code I need to add? Many thanks in advance!
    import java.util.*;
    public class Question2 {
    public int Size;
    public static void main(String[] args) {
    Scanner keyboard = new Scanner(System.in);
    System.out.print("Please enter the size of a triangle you want to print out (it has to be an even number): ");
    int Size = keyboard.nextInt();{
    if (Size%2==0){
    line(Size);
    drawtop(Size);
    middleline(Size);
    drawbtm(Size);
    line(Size);
    public static void line(int Size) {
    System.out.print("|");
    for (int i = 1; i <= Size / 2; i++) {
    System.out.print("-");
    System.out.print("*");
    for (int i = 1; i <= Size / 2; i++) {
    System.out.print("-");
    System.out.print("|");
    System.out.println(" ");
    public static void drawtop(int Size) {
    for (int line = 1; line <= Size / 2; line++) {
    System.out.print("|");
    for (int space = 1; space <= Size / 2 - line; space++) {
    System.out.print(" ");
    for (int star = 1; star <= (line * 2 + 1); star++) {
    System.out.print("*");
    for (int space = 1; space <= Size / 2 - line; space++) {
    System.out.print(" ");
    System.out.println("|");
    public static void middleline(int Size) {
    System.out.print("*");
    for (int i = 1; i <= Size / 2; i++) {
    System.out.print("**");
    System.out.println("**");
    public static void drawbtm(int Size) {
    for (int line = 1; line <= Size / 2; line++) {
    System.out.print("|");
    for (int space = 1; space <= line - 1; space++) {
    System.out.print(" ");
    for (int star = -1; star <= (2 * Size / 2 - 2 * line) + 1; star++) {
    System.out.print("*");
    for (int space = 1; space <= line - 1; space++) {
    System.out.print(" ");
    System.out.println("|");
    }

    Its really unbelievable that if you have written the code of printing triangles by yourself, how you got stuck at a trivial problem like this. Please just dont copy and paste the code for completing your assignments.
    Anyway the solution is trivial and I am giving you a work-through-:
    Think what the if condition is doing in the below code :
    if (Size%2==0){
    } It does nothing.
    You need a condition in which to print a message to ask user to input an even number and ask again if the number is not even. Doesnt this look like that u need a loop, And you dont know the how many times to loop but you do know when to end the loop. SO you need a WHILE loop with appropriate condition checked of even number.
    Now I hope you can complete the program.

  • How to add 16 bit message sequential number to the byte array

    hi
    iam trying to implement socket programming over UDP. Iam writing for the server side now.I need to send an image file from server to a client via a gateway so basically ive to do hand-shaking with the gateway first and then ive to send image data in a sequence of small messages with a payload of 1 KB.The data message should also include a header of 16 bit sequential number and a bit to indicate end of file.
    Iam able to complete registration process(Iam not sure yet).I dnt know how to include sequential number and a bit to indicate end of file.
    I would like to have your valuable ideas about how to proceed further
    package udp;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class Sender  {
        protected BufferedReader in = null;
        protected FileInputStream image=null;
        protected static boolean end_of_file=true;
    /** pass arguments hostname,port,filename
    * @param args
    * @throws IOException
       public static void main(String[] args) throws IOException{
            DatagramSocket socket = new DatagramSocket(Integer.parseInt(args[1]));
            boolean more_messages = true;
              String str1=null;
                * gateway registration
                try{
                     //send string to emulator
                    String str="%%%GatewayRegistration SENDER test delay 10 drop 0 dupl 0 bandwidth 1000000";
                    byte[] buff=str.getBytes();
                    InetAddress emulator_address = InetAddress.getByName(args[0]);
                    DatagramPacket packet = new DatagramPacket(buff, buff.length,emulator_address,Integer.parseInt(args[0]));
                    socket.send(packet);
                        // figure out response
                    byte[] buf = new byte[1024];
                    DatagramPacket recpack=new DatagramPacket(buf,buf.length);
                    socket.receive(recpack);
                   // socket.setSoTimeout(10000);
                    String str2=str1.valueOf(new String(recpack.getData()));
                    if(socket.equals(null))
                         System.out.println("no acknowledgement from the emulator");
                        socket.close();
                    else if(str2=="%%%GatewayConfirmation")
                    //     String str1=null;
                         System.out.println("rec message"+str2);
                    else
                         System.out.println("not a valid message from emulator");
                         socket.close();
                catch (IOException e) {
                    e.printStackTrace();
                      end_of_file = false;
         /**create a packet with a payload of 1     KB and header of 16 bit sequential number and a bit to indicate end of file
      while(end_of_file!=false)
          String ack="y";
          String seqnum=
           File file = new File(args[2]);                               
                    InputStream is = new FileInputStream(file);                 
            socket.close();
      private byte[] byteArray(InputStream in) throws IOException {
             byte[] readBytes = new byte[1024]; // make a byte array with a length equal to the number of bytes in the stream
          try{
             in.read(readBytes);  // dump all the bytes in the stream into the array
            catch(IOException e)
                 e.printStackTrace();
            return readBytes;
      

    HI Rolf.k.
    Thank you for the small program it was helpfull.
    You got right about that proberly there  will be conflict with some spurios data, I can already detect that when writing the data to a spreadsheet file.
    I writes the data in such a way, that in each line there will be a date, a timestamp, a tab and a timestamp at the end. That means two columns.
    When i set given samplerate up, that controls the rate of the data outflow from the device, (1,56 Hz - 200 Hz),   the data file that i write to , looks unorderet.
     i get more than one timestamp and severel datavalues in every line and so on down the spreadsheet file.
    Now the question is: Could it be that the function that writes the data to the file,  can't handle the speed of the dataflow in such a way that the time stamp cant follow with the data flowspeed. so i'm trying to set the timestamp to be  with fractions of the seconds by adding the unit (<digit>) in the timestamp icon but its not working. Meaby when i take the fractions off a second within the timestamp i can get every timestamp with its right data value. Am i in deeb water or what do You mean!??
    AAttached Pics part of program and a logfile over data written to file
    regards
    Zamzam
    HFZ
    Attachments:
    DataFlowWR.JPG ‏159 KB
    Datalogfile.JPG ‏386 KB

  • How to add a date suffix to the log file name

    In Windows, I want to run certain commands and save the output to a logfile every day. How to add a suffix to the log file name so I can distinguish which log file for which day?
    e.g. cmd >> logfile.date

    AZ wrote:
    In Windows, I want to run certain commands and save the output to a logfile every day. How to add a suffix to the log file name so I can distinguish which log file for which day?
    e.g. cmd >> logfile.datemy best friend name is "google", refer to this [url | http://stackoverflow.com/questions/203090/how-to-get-current-datetime-on-windows-command-line-in-a-suitable-format-for-usi]
    This is what i did
    1) created a dummy file in c drive
    2) copy pasted below lines, you can play around more with the format
    set _my_datetime=%date%_%time%
    set _my_datetime=%_my_datetime: =_%
    set _my_datetime=%_my_datetime::=%
    set _my_datetime=%_my_datetime:/=_%
    set _my_datetime=%_my_datetime:.=_%3) Rename the file from dos
    ren some.txt dummy_file_%_my_datetime%.txt4) Here goes the output
    C:\dir
    dummy_file_Mon_09_20_2010_161347_21.txt
    Most of the code i copied from above url, you can tweak a little bit based on ur requirement and format.
    Regards
    Learner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to add prefix to standard PO sequence.

    Hi all,
    Requirement is how to add prefix to Purchase order number auto generated sequence.

    The only options you have for po numbering is automatic and manual.
    What you are looking for is not available out of the box.
    You can always write a customization to achieve it.
    Here are couple of options for the customization. You will have to explore them a little bit to identify any pitfalls.
    1) A before-insert trigger on po_headers_all that appends the suffix to the PO#
    2) A when-new-record-instance personalization to generate the new PO# with suffix.
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • E6220 Classic - how to add a VOIP internet phone n...

    Hi,
    Can someone please help me with a VOIP problem on a Nokia E6220 classic?
    How to add a VOIP internet phone number to my phonebook?? or call a VOIP number without 3rd party software??
    The phone supports SIP and I successfully managed to get this working (i.e. it shows Registered through a 3G profile) but there doesn't seem to be any way to add a VOIP number to my contacts and/or call a number.
    Almost every configuration guide I've read says something like: 'After setting up the SIP settings, you need to add an internet phone number from the menu 'Phone -> Settings -> Connection -> Internet tel. settings' (which in my case is not there).
    To check the connectivity, I installed an application named 'Fring' which works with no problem but I do not really want to use this since it uses it's own SIP profile (meant to be slower) and there does not seem to be any integration with the Nokia contacts/phonebook.
    Could anyone please help me? or perhaps tell me if there is any way to install the 'Nokia Internet telephoney application'?
    Thanks in advance
    Paul

    Go to your contact and tap the edit button at the top right.  Tap the the new phone field that appears.  Scroll all the way to the end of the lables list and tap "Add Custom Label".  Type in your label.  The custom label will be added to the labels list and be available for your other contacts

  • Add a date to decimal number

    hello
    pls tell me how to add a date to decimal number as
    4 years and 3 months for example ?
    EX.
    ===
    1/1/2001
    +
    4 years and 3 months
    Regards,
    Abdetu...

    If you want a specific result, then post your desired result...we don't know your desired format mask.
    In case it's yyyymmdd:
    SQL> select to_date('1/1/2001', 'dd/mm/yyyy') dt
      2  ,      add_months(to_date('1/1/2001', 'dd/mm/yyyy'), 51) dt2
      3  ,      to_number(to_char(add_months(to_date('1/1/2001', 'dd/mm/yyyy'), 51), 'yyyymmdd')) num
      4  from   dual;
    DT                  DT2                        NUM
    01-01-2001 00:00:00 01-04-2005 00:00:00   20050401
    1 row selected.

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • How to add a large number of keywords to the e-mail filter?

    Hello.
    I would like to know how to add a large number of keywords to a filter.
    The thing I want to accomplish, is it to add around 4000 e-mail addresses to a filter list, which checks the body of incoming e-mails, which get forwarded to me.
    I don't want to outright delete them, but I would love it if it detects that the forwarded message contains one of the e-mail addresses, it would add a tag to the message.
    Is it in any way possible to make a filter like this, which doesn't slow Thunderbird down to ass-crawl speed?
    I tried to copy the whole list into the small filter tab, but It had no discernible effect on my messages, since some of the previously received ones, which I was sure contained the keywords, were not tagged. All it did was make the program super slow and I was forced to delete the filter.

    You can look at creating a exclusion crawl rule:
    http://technet.microsoft.com/en-us/library/jj219686(v=office.15).aspx
    You can also modify your content source starting addresses and remove onedrive:
    http://technet.microsoft.com/en-us/library/jj219808(v=office.15).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • A simple percentage? How does one add a percentage to a number? If I have 100 and I want to add 15% and get a total, what formula would I use?

    How does one add a percentage to a number? If I have 100 and I want to add 15% and get a total, what formula would I use?

    You can do something like this:
    D2=B2*(1+C2/100)
    this means in the cell D2 type the following "=B2*(1+C2/100)"... leave out the double quotes

  • How to add phone number to MBP using Mtn Lion OS X 10.8.3

    I have Ipad , Iphone 4s and a mbp using the OS 10.8.3
    I have no idea of how to add my phone number to the list of available options to send iMessages from my MBP.
    I only have emails.
    Any suggestions..
    Thanks in advance.

    Hi,
    The presumption in the Linked article is that the Apple ID has been added to the iPhone before it is added elsewhere including the Mac version.
    If you have not already done so then add the ID to the iPhone.
    If after a few minutes the Mac version has not had the pop to say the iPhone is using it's Number and the Apple ID then restart the app on the Mac.
    7:58 PM      Saturday; March 30, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to add a phone number to an existing contact o...

    Hi all,
    Should be simple but apparently it is not: how to add a phone number to an existing contact on the E71 ?
    I can not believe Nokia made a mess out of such a simple, basic function!
    dovale 

    I just want to add another telephone number to an existing contact. I don't want to Add detail, Edit label, etc., just to add another telephone number! Simple.
    Apparently  the solution is this:
    On main screen write any number 0123456789 >> Press >> Option >> Save to Contacts >> Update Existing (Scroll or name your last saved contact or where you wanted to add new number) then save! 
    It is an amazingly anti intuitive and convoluted solution but I'm afraid that the entire UI of S60 3rd addition is one big UI mess!
    dovale 

  • How To Add Number Days in jsp

    Hi,
    I want to add number of days in a date string using jsp.
    <%--
        Document   : try5
        Created on : May 20, 2008, 6:00:20 PM
        Author     : thamaraiselvan
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <%
            String datetxt="2008-05-20";
            %>
        </body>
    </html>How to add 30,90,180,365 days in that String datetxt value.
    Thanks Alot....

    Hi,
    How to format a string value into a Date.
    I typed the following code .but its gives a exception.
    <%--
        Document   : try5
        Created on : May 20, 2008, 6:00:20 PM
        Author     : thamaraiselvan
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8" import="java.sql.*,java.util.Date,java.util.Calendar,java.text.SimpleDateFormat" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <title>JSP Page</title>
        </head>
        <body>
            <%
            try
            String datetxt="2008-05-20";
            int e=30;
           // calendar.set(Calendar.DAY,calendar.get(Calendar.DAY)+30);
           // Calendar cal = Calendar.getInstance();
            //Date today = cal.getTime();
            SimpleDateFormat fmt =new SimpleDateFormat("yyyy-MM-dd");
            String thamu = fmt.format(datetxt);
            out.println(thamu);
            catch(Exception e)
                out.println(e);
            %>
        </body>
    </html>Exception Like This :
    java.lang.IllegalArgumentException: Cannot format given Object as a Date .
    After Formatting to date i want to add 180 days from '2008-05-20' .
    Please Help me...
    Thanks Alot....

Maybe you are looking for

  • Illustrator CS5 and Macbook Pro with Retina Display

    Anyone have any word on the compatibility here? As a freelancer, Illustrator CS5 is one of my main tools. I've heard there'll be an update to Photoshop, but haven't heard anything about Illustrator. Thanks

  • Transaction logs not being generated.

    Hi Team, We have configured the log shipping sucessfully on SQl 2000 & ECC 5.0. However it ran fine untill yesterdays night and today we found that logshipping is not happening as expected. Now ,we found that transactions logs are not being genereate

  • Why does that matter

    That suck y'all should make one for the iPod touch 4g I'm a user of the iPod touch 4g and i can not afford to be buy another iPod just because an other iOS came out it would be expensive and iPod touch 4 is like having a iPhone 4 and it make me disap

  • RSD No More! Got my MacBook with updated logic board and heatsink

    I've just got back from the Apple store with my freshly repaired MacBook. Since I dropped it in last week, a lot has happened. Most importantly, Apple officially recognised the 'MacBook Shutting Down Intermittently' (aka RSD syndrome) problem. After

  • How to default values on screen using FREE_SELECTIONS_INIT

    Hi Experts, I have the following requirement : We have developed a screen on which there is a button. On click of the button, a dynamic selection screen is generated using the functions FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. I want when the