How do I set a maximum value to a cell in Numbers?

I have a cell which references a percentage in the previous cell, example: =TRUNC(C2*1000,0)
So, the cell that it references (C2) is a percentage, anything from 0% up. The issue that I have is that I want to limit the cell's response to the percentage by setting the maximum at 1000. So, if the percentage in the cell is 104%, I don't want the cell to return 1040, I want it to return a maximum of 1000. The MAX function in Numbers is just for searching cells to find the highest numeric value, and there is no IF THEN statements that I can make in the cell, you can do IF, but it just returns a true or false value. I hope I provided enough info for someone to be able to help me out. I have been trying to figure out if there is a mathematical way that I can limit the response to 0-1000 and still have it be accurate to the percentage but I have not come across anything yet.
Thanks

Hello
=IF(C>1,1000,TRUNC(C*1000,0))
will do the trick.
Yvan KOENIG (from FRANCE mardi 13 mai 2008 17:47:01)

Similar Messages

  • How do I set the border preferences when formatting cells in Numbers?  After I make my selections and close the drop down menu, nothing happens.

    How do I set border preferences when formatting cells in Numbers?  When I use the drop down menu under Inspector, and set the preferences I want, a blue line shows up in the appropriate cell or cells to which I want to apply a border.  When I close the menu, the blue line goes away and there is no border.

    Jerry,
    I'm sorry for the intrusion on this thread. I had only made a simple comment, and then others responded. It was not my intention, especially since the original question was marked as answered. I will direct responses to any comments I make in fture postings that deviate from the OP's question to a newly created topic if I need a response, if not, I will just add a statement at the end of my comments to please not respond.
    As to your diagram, it is the ability to select the non-contiguous cells, and then be able to simulataneously select a specific part of the border edge, and then be able to change them all at once that I was after. That is something that is not possible in Numbers. It seems that in your diagram the "before", was attained by selecting each cell one at a time, and changing its border edge, one at a time. Then, in the "after", selecting the non-contiguous cells and changing the "Stroke" settings for the lines was attained simultaneously since that is possible in Numbers.
    If I am correct in how you attained the results in your diagram, that wasn't really what I was trying to achieve, since if the option were not grayed out, it would only select the same border edge on all selected cells. If I am incorrect, then I would like to have your input.
    Once again, sorry for allowing my comment to develop as it did.
    In God's Harmony

  • How do i set the timeout value?

    I'm doing an insert...in the insert i have a trigger that fires a http put. when i'm doing a couple inserts at a time, it works fine. However if i try to insert about 50 at one time (within msecs of each other) then i get the following error:
    ORA-29276 transfer timeout
    Cause: Timeout occurred while reading from or writing to a network connection.
    Action: Check the remote server or the network to ensure that it responds within the timeout limit. Or increase the timeout value.
    My question is, how do i set this timeout value?

    FYI,
    IFS.PROTOCOLSERVER.SESSION.DEFAULT.Timeout
    IFS.PROTOCOLSERVER.SessionStateTimeoutPeriod
    IFS.PROTOCOLSERVER.SessionStateTimeoutPeriod
    in cup server configuration

  • How do I set ical default values in lion?

    I have just upgraded to Lion and so far, so good.  In the new iCal, how do I set the default values?  In the old version, when you clicked on the calendar, the default value was a 1 hour meeting around the current time of day.  The new version defaults to an all-day meeting.  I like the old way better, or best would be to have it as a preference. 
    Is there a way to set this that I'm not seeing?

    Mike,
    It sounds to me like you are using the "Month" view for that entry.
    Default event creation in Month view results in an all day event.
    Lion iCal Help (Add events to a calendar) says: "Add a new event in Month view by double-clicking within the day you want the event to appear. Enter a name and time duration for the event in the event’s title field, and then press Return."
    Try entering "Meeting at 9am"...that will create a one hour event named Meeting.

  • How Can I Set a Javascript Value into an Attribute of BSP PAGE

    Hi
    Can anyone tell me.
    How Can I Set a Javascript Value into an Attribute of BSP PAGE

    Hi Mithlesh,
    javascript runs on client side and you cannot assign the value to a Page attribute directly.
    As a workaround,you can use an Inputfield,hidden if required,and set the value using javascript.Then the form will have to be submit to be able to read the value in onInputProcessing and then can be assigned to any variable.
    In Layout
    <head>
    <script language="javascript">
    function pass()
       txt1 = document.getElementById("ip_mrf");
       txt.value = "hello" ;
    </script>
    </head>
    <htmlb:inputField  id="ip_mrf"
                               value="<%=mrf_number%>"
                               visible="FALSE"/>
    in onInputProcessing
    cha1 = request->get_form_field( 'ip_mrf' ).
    where cha1 is the page attribute
    hope this helps,
    Regards,
    Siddhartha
    Message was edited by: Siddhartha Jain

  • How can I set the maximum number of restarts for my PDF files?

    I want sent my PDF to a friend,but I just allow him see it only twice.
    How can I set the maximum number of restarts for my PDF files?
    My software edition is Acrobat X

    In the old days when PDFs were only opened on desktops and only in Acrobat or Reader, scripting could fake security features and people were generally convinced. As there are so many ways to open a PDF without scripts ever being run (from mobile devices to in-browser display, or simply opening the file in Illustrator), none of that works anymore.

  • How do I set a NULL value for the parameter field

    Hi
    I've another question. I'm going to set single values for parameter fields.
    // e.g. set today for StartDate parameter field
    fc.setCurrentValue("", "StartDate", new Date());
    It should be possible to set a NULL value for date parameter fields.
    fc.setCurrentValue("", "StartDate", (Date)null);
    But this do not work. How do I set a NULL value correctly?
    Thank you in advance.
    Best regards,
    Thomas

    First question - is it a stored procedure parameter?
    You can't set a regular parameter field value to a null value.
    There was an issue with old version of the JRC, where it was allowing null to go through, but had unexpected behavior at times.
    Sincerely,
    Ted Ueda

  • How to find out the maximum value

    Dear all,
    i have one query where in i have to calculate Excise Duty based on the  maximum  sales qantity of all materials with the corresponding sales value... i mean i wil get the maximum value of a individual material no matter how many sales has done.i wil pick up the maximum sales qty and the correspondig sales value....
    This im able to solve by taking the condition as TOP 1..
    Now my question is if the same material qty is sold with differnt value then i have to pick up the  Max value and as usual the sales qty..... plz help me out
    Material              Sales Qty              sales value
           3000                10 kl                   1000INR
           3200                15 kl                   1100 INR
           4000                20 kl                   1000INR
    in this case my query is picking up the max qty of  20 and the value 1000 INR as i had taken TOP 1 on Sales qty ....
    <b>
    But In the below example  for the same material i have to pick up the 3 rd row  where the sales value is maximum and the corresponding sales qty 10 kl</b>
    EX   Material        Sales Qty              sales value
           3000                10 kl                   1000INR
           3000                10 kl                   1100 INR
           3000                10 kl                   1500INR

    Hi,
    U can use the restrict option fo the Material characteristics  for sales value just drag and drop on columns >right click Properties> U have the option Calculated Result as Summation, Maximum, Minimum etc..just choose Maximum for ur case.

  • How Do You Set the Maximum Size of a JFrame?

    Can someone show me a quick example? The JFrame can be empty, I just want to know how to set it's maximum size. I tried using setMaximumSize() and it doesn't work for some reason but setMinimumSize() works fine.
    I tried it using a BoxLayout and even using null as a layout manager and can't get it to work. I heard that the other layout managers don't allow you to set the maximum size of a JFrame so that is why I tried it with the layouts that I did.
    I tried the following code (imported the necessary classes), but it does not work...
    public class MyFrame extends JFrame
        public MyFrame()
            super("TestFrame");
            setLayout( new BoxLayout(getContentPane(), BoxLayout.X_AXIS)  );       
            setMaximumSize( new Dimension(400,200));
            setSize(300,150);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setVisible( true );                
    }// end class

    Reposted from
    {color:#0000ff}http://forum.java.sun.com/thread.jspa?threadID=5236259{color}
    @OP:
    When you repost a topic, please always provide a link to the previous post so people can check what suggestions were already offered (and didn't solve the problem).
    Better still, give a short summary of the advice you have already tried.
    I suggested setBackground(...) so you can see whether your MyFrame is actually occupying the entire real estate of the window. Looks as if trying it out (which I would have done for you if I'd been at home, where my JDK is) would have been too much effort for you.
    I'm pretty much a novice in Swing, but I can tell you this: setLayout controls the layout of components added to the JFrame, not the layout of the frame with respect to its parent container.
    Luck, Darryl

  • How do I set subpropert​y values of a parameter (container​) I'm passing?

    I want to pass a custom data type (a container with subproperties)as a parameter.
    How do I specify the subproperty values in the parameter expression for the SequenceCall step? Can I specify some subproperty values, and leave the others at their default values?
    I know that I could create a Local variable of the same type in the calling sequence, set it up in one step, and then pass the whole thing in the SequenceCall step, but is there a way to specify the values in the parameter expression instead?

    Hi,
    Is this the sort of thing your are after.
    regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence_File1.seq ‏12 KB
    Sequence_File2.seq ‏12 KB

  • How do I set a time value to a Time syntax attribute in eDirectory

    I want to set a time value to an attribute in eDirectory defined as syntax Time. In the Resource referrence manual I can read that the schema mapping should be defined as Int for syntax Time. But further down in the manual the attribute Password Expiration Time is told to be defined as String in the schema mapping.
    I have tried the both settings (int and string) but nothing will work. When trying to set a value to the Password Expiration Time I recieve the following error:
    Unexpected type for attribute 'Password Expiration Time'. Received 'string'. Expected '0x18 (24)'
    The value I try to set is: 20090122120000Z (this value is supported in the eDirectory manual)
    I´m using the NDS gateway.
    Anyone who know how to solve this issue?
    // Per

    Hello
    =IF(C>1,1000,TRUNC(C*1000,0))
    will do the trick.
    Yvan KOENIG (from FRANCE mardi 13 mai 2008 17:47:01)

  • How to find out the maximum value of one array

    hi all..
    I have one array that consists of some elements
    so I want the maximum value of the list ...
    if anyone knows this please help me..
    thanks..

    >
    If your array is already sorted, you can do a binary
    search.
    I think there are already methods to do that in
    java.util.Arrays. (?)
    If not, it's not hard to find an example on the net.
    A binary search will be more efficient.1. If your array is already sorted, you do not need a binary search. Either check the value of arr[0] or arr[arr.length - 1] depending on the direction of sorting.
    2. If your array is not sorted, try this:
    int maxValue = arr[0];
    for(int index = 1; index < arr.length; index++)
      if(arr[index] > maxValue)
        maxValue = arr[index];
    }

  • How to find out the maximum value in a Query

    Dear all,
    Im creating a Query on 0SD_C03 where i have to disply Maximum value of a material..
    EX:
    MATERIAL BILLED VALUE
    x                   1000
    y                   3000
    z                   2500
    in a analyser i have to display only Y and 3000
    We are using BW 7.0 version
    Can any one help me out in this
    Thxs in Advance
    Venu

    Hi Venu,
    You may wish to refer the link below:
    http://help.sap.com/saphelp_nw04/helpdata/en/17/82853c2dc5c505e10000000a11405a/content.htm
    Assign points if this is helpful.
    Regards,
    Anil

  • How to find out the maximum value in a Query within single material

    Dear all,
    Im creating a Query on 0SD_C03 where i have to disply Maximum value of a material which is having more that one transaction..
    EX:
    MATERIAL BILLED VALUE
    x with BILLED VALUE 100
    x with BILLED VALUE120
    y with BILLED VALUE 50
    y with  BILLED VALUE 80
    z with BILLED VALUE 50
    z with BILLED VALUE 60
    in a analyser i have to display X with billed value 120 that is max in X material and
    Y with billed value 80 that is max in Y material and
    Z with billed value 60 that is max in Z material
    In a query all the values are summing up. I.e for X its 220 and Y its 130 and Z its110 but we dont want to get total sum value we want individual values and the maximim of those values.......... 
    We are using BW 7.0 version
    Can any one help me out in this
    Thxs in Advance
    Venu

    Venu,
    In your query try creating a formula, with the value of each record as the key figure in the formula.
    In the aggregation tab select maximum in the exception aggregation dropdown and then select material as the reference characteristic
    then when you include material in the rows it will only display the maximum value.
    cheers
    mark

  • How to dynamically set a bounded value for a VO at runtime

    Hi all,
    I am working on a custom page for time card summary, the VO's query like this:
    select Timecard_Id,.... from timecard_summary where supervisor_id = :1
    There is a utility that can retrieve supervisor_id from system, but I don't know how I can set this supervisor_id before the query is execute, I think I need a controller to do that right after user clicks "Go" button in simpleSearch Panel, but I cannot find the way to determine if the "Go" button in simpleSearch Panel is clicked.
    THanks
    -Bill

    Hi Sumit,
    I had tried over riding the initquery and execute query to meet the same requirement but the where clause i was setting wasn being set since the execute query somehow was making it null.
    When i did hard code the whereclause params in the the executequery(),it worked fine but then i couldn have passed any variables.
    Then finally i went around the oaf guide and found something like ,
    dic[]=getcriteriaitems.... and it solved the purpose for me.

Maybe you are looking for

  • Adobe acrobat pro DC trial download error (Mac)

    When I try to download the trial version of Adobe acrobat DC pro on my mac, it gives an error "Acrobat installer encountered an unexpected failure. Please try again. If it continues to fail contact Adobe support". I have tried doing in about 5 times,

  • Can I add a map to an appointment?

    I wish to add a map to some appointments but cannot figure out how to do that.  I can't get it to work on my iPhone, iPad, or Mac. I see a map on some of the ads that show iCal, so it must be an option. Suggestions? Thank you

  • How to download the script data into pdf file

    how to download the script data into pdf file i have one option to download the script data to pdf file --->rstxpdft4 program. i have one doubt how to use this proogram.or any function module to download the script data to pdf file. Thanks and regard

  • WES element is disable with billing plan in sales order?

    Hi experts, I have problem, when I create a sales order with item category billing plan, then the WBS element in this line become disable,so I can't input the WBS, How can I solve this issue? Thanks Best regards Lance

  • *ERROR* FX-300 Timeid=20110200 - Nothing Extract from Fact - CLCFXTRANS

    Hi Friends I am getting and error while i am running FX Restatement Package.below is my error message. I even analyzed the notes and some threads, there is no solution. Most of the threads says its missing rates in Rate application, but still i am ma