Help with my formula please

i want to generate 5 random numbers in 5 different cells after giving another cell a value example cell a6=1000 i need cells a1 to a 5 add up to the value of a6 but be random numbers like 232 453 ect please help what function could i use

THANKS JERRY
Jerrold Green1 wrote:
Thanks for the Solution mark, but I discovered a mistake in my approach. The last of the "random" numbers must be constrained to be the difference between the sum of the preceeding random numbers and the total. My revised, hopefully correct, version is this:
The figure in cell A6, 63 in the example, is the constrained one.
The formula for the A6 is:
=A7-SUM(A$2:A5)
Sorry about the false start.
Jerry

Similar Messages

  • Help with access control please

    So I'm trying to set up my brother's PSP to the wirless network through MAC address timed access. What I want to do is make it so that he can only access it through certain times in the day. I'm having troubles with actually getting it to work. Everytime I set it up, the PSP only show's up as a DHCP client and not a Wireless client. I tried the option panel with the add wireless clients through the first try access. Could I get some help with this issue please? Thanks!

    Just to calm your fears... There is no conspiracy. If someone had an answer or a suggestion they would post it.

  • Need some help with MDX formula

    Hello, I am not finding any good documentation on MDX formulas, there is a specific one that I need some help with....could someone please elaborate what exactly does this formula mean? thanks.
    (MEASURES.[SIGNEDDATA],
    CLOSINGPERIOD([%TIMEDIM%].
    [%TIMEBASELEVEL%]))

    If new MEASURE gets added to Measure's table , in BPC Client , etools->client Options-> Refresh Dimensions should get the new measure into the CurrentView .IF not try  etools->client Options-> Clear Local application information .
    Formula 2 : 
    (MEASURES.SIGNEDDATA,
    CLOSINGPERIOD(%TIMEDIM%.
    %TIMEBASELEVEL%))
    This formula is used to retrieve AST & LEQ account values.
    If current time member is at monthlevel ,ie  ClosingPeriod of  2011.FEB is  the current member it self ,and would retrieve 2011.FEB value.
    If Current time member is at quarter level then ClosingPeriod of 2011.Q1 is 2011.Mar  ,and would retrieve 2011.MAR value.
    If Current time member is at year level then ClosingPeriod of 2011.TOTAL is 2011.DEC  ,and would retrieve 2011.DEC value.
    Formula 1 :
    MEASURES.SIGNEDDATA
    Irrespective of the level of the Time , MEASURES.SIGNEDDATA would retrieve current Time member value.This formula is used to retrieve INC & EXP account values
    if current time member is at month level,2011.FEB , 2011.FEB value is retrieved.
    if current time member is at quarter level,2011.Q1 , 2011.Q1(JANFEBMAR)  value is retrieved.
    if current time  member is at year level,2011.TOTAL , 2011.TOTAL(JAN,FEB,....,DEC)  value is retrieved.
    Hope this helps.

  • Help with excel formula

    hi,
    I need help with some excel fomulas,  I have a source file which 2 cells will continually change, I want to link this source file to an inventory file and update the information on seperate lines when the information is changed without changing the
    destination information
    is it possible or do I have to create seperate source file

    Hi,
    According to your description, my understanding is that you have 2 files (A source file and an inventory file) and link the source file to inventory file. You want to retain the data in the inventory file when the source file continually change.
    If it is, there is no formula will retain the linked data after the data source changed.
    We may try the workarounds:
    1. Use import data from source file to the inventory file.
    2. Create seperate source file
    If I misunderstand, please let me know and share us more information about your demand.
    Regards,
    George Zhao
    TechNet Community Support

  • Help with photo albums Please

    Hi, i really need some help with my pictures, I've only got a very basic understanding of how my phone works and have somehow put a load of albums on my phone when i plugged it into the computer-I want to delete some of them off the phone but cannot work out how to do it, when i plug my phone in i can find the photo tab but cannot actually see the pictures and can't see any delete button!!! Please can someone help me, basic explanations would be gratefully recieved xxxx

    The photo sync is one way: computer to phone. To remove photos, synced to your phone, remove the check marks next to the albums/folders under the photos tab in itunes & hit the apply/sync button. They will be removed from your phone. You cannot delete photos that were synced to your phone, directly on your phone. The easiest way to manage photos synced to your phone is to create albums or folders on your computer. Move whatever photos you want on your phone into these albums/folders & then select them under the photos tab in itunes to sync to your phone. You can then remove or add photos to these various albums/folders on your computer & the itunes sync process will update your phone every time you sync.

  • Help with Validation Problem Please

    I don't understand this validation and don't know how to fix it. I have checked my other websites and they seem fine. I don't think I have done anything different The link for the website ishttp://www.greenpatchwebsites.com/pow/index.html
    and the validator is http://validator.w3.org/check?uri=www.greenpatchwebsites.com%2Fpow%2Findex.html&charset=%2 8detect+automatically%29&doctype=Inline&group=0
    Please can you help.
    Thank you very much in advance.

    Thanks for that. I have tried it on a new page: http://www.greenpatchwebsites.com/pow/newtest.html and here is the validator :
    http://validator.w3.org/check?uri=www.greenpatchwebsites.com%2Fpow%2Fnewtest.html&charset= %28detect+automatically%29&doctype=Inline&group=0&No200=1- unfortunately loads of errors
    I also tried the recommended template:
    Use the following markup as a template to create a new XHTML 1.0 document using a proper DOCTYPE. See the list below if you wish to use another document type.
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
         <title>An XHTML 1.0 Strict standard template</title>
         <meta http-equiv="content-type"
              content="text/html;charset=utf-8" />
         <meta http-equiv="Content-Style-Type" content="text/css" />
    </head>
    <body>
         <p>… Your HTML content here …</p>
    </body>
    </html>
    but was getting errors with that. As you can tell, I need serious help with this. Which doc type should I be using
    and why doesn't Dreamweaver just do it for you when you select one?
    Thanks very much again in advance.

  • Help with Option 3 please

    A week ago I was on Option 1 but due to heavy use my speed was reduced to 15.7k/sec !.I was advised to upgrade to Option 3 which I promptly did and that was done on the 29th(last week).
    My speed though is still 15k/sec and I cannot watch any streaming video or BBC News Channels etc
    Would some kind gentleman please look into it for me and advise.......thankyou
    Solved!
    Go to Solution.

    Hi Pete,
    I am sorry for the delay in getting back to you.  I picked your email up this morning and have dropped you a reply.  I am pleased that you managed to sort this out, if you need any further help just let me know.
    Cheers
    Sean
    BTCare Community Manager
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Help with a forumula, please

    First, some background. I have a couple of Numbers documents that I use to record the daily weather. The first is a very large document containing sheets for each of several years. Each sheet has one large table with the daily info & a couple of smaller tables that hold records, monthly totals, etc. I used to manually enter the data in this document but I have recently set up a second document that "collects" the data for later pasting into the first.
    This second document is where I need some formula help. I get data in four different .csv files each day & then copy the data into 2 tables on each of 2 sheets. These have formulas in the footer rows to get the various max/min of the column. The third table on each sheet gets the data from those footer rows using a formula to pick the max/min. I then copy & paste values so that I don't have to keep adjusting formulas & can then delete the .csv data, reusing those tables.
    There is a formula to get the time of the highest wind gust. This works well unless there is more than one time in the day with the same peak gust speed. Question: Is there a way to get that formula to just report the first time occurrence? If I could do that, then I wouldn't need the third sheet in my document, I could just paste all of the .csv data into one or two tables.
    I've put the Numbers (WS daily.numbers.zip) file on my iDisk if anyone wants to look at the file.
    TIA,

    Peggy wrote:
    There is a formula to get the time of the highest wind gust. This works well unless there is more than one time in the day with the same peak gust speed. Question: Is there a way to get that formula to just report the first time occurrence? If I could do that, then I wouldn't need the third sheet in my document, I could just paste all of the .csv data into one or two tables.
    Hi Peggy,
    One technique I've used to eliminate duplicate values is to add a column in which a tiny increment is added to each value based on the row it occupies. Assuming your values are listed in chronological order, you'd want to either calculate the increment in a manner that would have it decrease as the numbers increased, or use the easier 'increase with row number' calculation and subtract that from the actual value.
    The example is for gusts measured to the nearer tenth of a unit, and have included only 'actual' values of either the maximum, 0.1 below and 0.2 the maximum. The 'time' values are artificial, and simply 15 minute intervals.
    Column A contains the 'actual' time values in chronological order.
    Column B contains the 'reported' gust speeds, reported to the nearer tenth of a unit.
    Column C contains the 'adjusted' gust speeds, calculated with the formula:
               =B-ROW()/10000
    In the footer row:
    A:   =LOOKUP(MAX(C2:C15),C2:C15,A2:A15)
    B:   =MAX(B)
    C:   =ROUND(MAX(C),1)
    Body cells in columns A and B have a conditional format rule to change the background fill if the cell contents match their footer cell. As I had used ROUND to return the MAX value in the footer of column C to its original precision (done so that this cell could be used as the pick-off cell for this value), the same rule could not be applied to column C using this footer cell.
    Hence the value in D3, created with =MAX(C2:C15, and used only to permit conditional formatting of the maximum value in C.
    The checkbox in D2 is a test device, used to generate a new set of the 'measured' values in column B. These values are actually calculated using =83-(RANDBETWEEN(1,3)/10).
    Regards,
    Barry

  • Help with button code please?

    I am a novice and have just completed my first animated movie. I need help with action script.
    The movie is currently looped and I have created and invisible button the size of the frame with the intention that a user can click on the movie image to stop it and on second click continue the movie from where it stopped.
    I have used the AS event handler method to stop the movie. I have tested it and it works. But I cannot figure suitable code to restart the movie.
    Two questions;
    1. am I going about the task the right way? (should I use two buttons, one stop, one start)?
    2. if my approach is feasible, can anyone give me the correct AS to re-start the movie and put me out of my misery please?

    you can use the following after changing "yourbutton" and "yourmovieclip" to use suitable instance names:
    yourbutton.onRelease=function(){
    if(!this.toggle){
    yourmovieclip.stop();
    } else {
    yourmovieclip.play();
    this.toggle=!this.toggle;

  • Help with Required fields-PLEASE

    I have been attempting to get help with a required field and one of the forum helpers said he got it to work for me but I cannot and I have not been able to get any more responses from him to help me further.
    I am attempting to have a radio box when the YES is selected to require another field to be completed.  The script I was provided with is:
    getField("Location").required = (getField("Group1").value == "Yes");
    Location being the field that I require to be filled in if Group 1 is Yes.  The previous forum helper indicated that I had to have this script in both fields in Group 1 and when I do that, nothing different happens. 
    What am I doing wrong? 
    Please, I need to fix this right away and I will be using this java script on many other forms that I have so I need to get this done soon.
    Thank you in advance.

    Wht you want can get somewhat complicated. One way to prevent subsequent fields from being used is to set them to read-only and/or hidden. You could then use the Validate event of the text field to validate the entry and enable the subsequent fields if it is filled-in adequately. In general, you should also reset the fields whenever you hide them, so they don't contain potentially invalid data from previously being filled-in. So you could initially have the fields set to be hidden, and only unhide them if No is selected, or if Yes is selected and the required text field is filled-in.
    I realize this may not be as helpful as you had hoped for, but I can't suggest specific code without knowing more about the form.

  • Help with a routine please

    Hi experts!
    I have a requirement and I need help with an abap routine.
    I'm uploading a table from de ECC where each record contains one key figure per fiscal period (wlt01, wlt02,...wlt16). I need to have in a dso a unique key figure (called zwlt for instance) and the 0fiscper infoobject filled with the corresponding period, that is, for each record of the table, I need 16 records in the DSO with zwlt = wltXX and the fiscper = fiscyear&0&XX.
    Any help please?
    Thanks in advance.

    there are multiple ways to handle this.
    one way is to use APD to unpivot the data.
    or else you can use the following sample code to derive what you want...this code might just hint at the way to proceed.
    TYPES:
      BEGIN OF tys_SC_1,
          wlt01           TYPE P LENGTH 8 DECIMALS 2,
          wlt02           TYPE P LENGTH 8 DECIMALS 2,
          wlt03           TYPE P LENGTH 8 DECIMALS 2,
          wlt04           TYPE P LENGTH 8 DECIMALS 2,
          wlt05           TYPE P LENGTH 8 DECIMALS 2,
          wlt06           TYPE P LENGTH 8 DECIMALS 2,
          wlt07           TYPE P LENGTH 8 DECIMALS 2,
          wlt08           TYPE P LENGTH 8 DECIMALS 2,
          wlt09           TYPE P LENGTH 8 DECIMALS 2,
          wlt10           TYPE P LENGTH 8 DECIMALS 2,
          wlt11           TYPE P LENGTH 8 DECIMALS 2,
          wlt12           TYPE P LENGTH 8 DECIMALS 2,
      END OF tys_SC_1.
    DATA: ls_type TYPE tys_SC_1,
          l_name TYPE string,
          l_count Type n length 2.
    FIELD-SYMBOLS:
                <fs_type> TYPE tys_SC_1,
                <result>  TYPE P .
    ls_type-wlt01 = '1.1'.
    ls_type-wlt02 = '2.2'.
    ls_type-wlt03 = '3.3'.
    ls_type-wlt04 = '4.4'.
    ls_type-wlt05 = '5.5'.
    ls_type-wlt06 = '6.6'.
    ls_type-wlt07 = '7.7'.
    ls_type-wlt08 = '8.8'.
    ls_type-wlt09 = '9.9'.
    ls_type-wlt10 = '10.1'.
    ls_type-wlt11 = '11.11'.
    ls_type-wlt12 = '12.12'.
    CLEAR:  l_count ,  l_name.
    l_count = '01'.
    ASSIGN ls_type TO <fs_type> .
    Write: / .
    DO 12 TIMES.
      clear: l_name.
      Concatenate 'wlt'  l_count into l_name.
      ASSIGN COMPONENT l_name  OF STRUCTURE  <fs_type> TO <result> .
      Write: / , l_name , ' = ' , <result>.
      l_count = l_count + 1 .
    ENDDO.
    hope it helps.
    Regards
    Ashwin

  • Help with UILabel subclass please

    Hello all... I have a UILabel subclass I call CustomLabel. Ive been googling and reading the apple docs this entire week to figure this out. The few examples Ive seen, I dont think Im doing it right.
    Im trying to create a subclass to use throughout my project. Every label will have these properties so I figured why not subclass. So through a lot of trial and error I ended up with this...
    CustomLabel.h
    #import <UIKit/UIKit.h>
    @interface CustomLabel : UILabel {
    @property (nonatomic) CGSize shadowOffset;
    @property (nonatomic) UITextAlignment *textAlignment;
    @property (nonatomic, retain) UIColor *shadowColor;
    @property (nonatomic, retain) UIColor *textColor;
    @property (nonatomic, retain) UIColor *backgroundColor;
    @property (nonatomic, retain) UIFont *font;
    @end
    CustomLabel.m
    #import "CustomLabel.h"
    #import "Constants.h"
    @implementation CustomLabel
    @synthesize textColor;
    @synthesize backgroundColor;
    @synthesize font;
    @synthesize shadowColor;
    @synthesize shadowOffset;
    - (id)initWithFrame:(CGRect)frame {
    if ((self = [super initWithFrame:frame])) {
    self.textColor = [UIColor whiteColor];
    self.backgroundColor = [UIColor clearColor];
    self.font = SMALL_CHALKDUSTER;
    self.shadowColor = [UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.35f];
    self.shadowOffset = CGSizeMake (0, 2);
    self.textAlignment = UITextAlignmentCenter;
    return self;
    - (void)dealloc {
    [super dealloc];
    @end
    I then allocate a label like so...
    ViewController.h
    CustomLabel *myLabel;
    @property (nonatomic, retain) CustomLabel *myLabel;
    ViewController.m
    myLabel = [[CustomLabel alloc] init];
    myLabel.text = @"Blah blah blah";
    I feel like Im way off on this... I must be since it isnt setting any of the properties Im trying to use in the subclass.
    I found an older post on the forums here for setting the textAlignment but for some reason I couldnt apply the same logic to mine.
    So can anyone help me with this subclass please and thank you?

    xnav... thanks a ton for pointing me to this link. Its got me closer to my end goal than I was before. Right now I have...
    CustomLabel.h
    #import <UIKit/UIKit.h>
    @interface CustomLabel : UILabel {
    @end
    CustomLabel.m
    #import "CustomLabel.h"
    #import "Constants.h"
    @implementation CustomLabel
    - (void) drawRect:(CGRect)rect {
    CGContextRef ctx = UIGraphicsGetCurrentContext();
    UIColor *lineColor = [UIColor whiteColor];
    UIColor *shColor = [UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.35f];
    //UIColor *bkgColor = [UIColor clearColor];
    CGContextSetFillColorWithColor(ctx, lineColor.CGColor);
    CGContextSetShadowWithColor(ctx, CGSizeMake(0, 2), self.font.pointSize / 2.0, shColor.CGColor);
    //CGRect drawRect = CGRectMake(rect.origin.x, rect.origin.y,rect.size.width, rect.size.height);
    //CGContextSetAlpha(ctx, 0) ;
    //CGContextFillRect(ctx, drawRect);
    //CGContextSetStrokeColorWithColor(ctx, [[UIColor clearColor] CGColor]);
    //CGContextSetFillColorWithColor(ctx, [[UIColor clearColor] CGColor]);
    CGContextSetBlendMode(ctx, kCGBlendModeClear);
    //CGContextAddEllipseInRect(ctx,CGRectMake(size.width-(size.width/2)-(size.width/10), (size.width/10), (size.width/2), (size.height/2)));
    //CGContextClosePath(ctx);
    //CGContextDrawPath(ctx, kCGPathFillStroke);
    //CGContextSetTextDrawingMode(ctx, kCGTextFillStroke);
    //self.backgroundColor = [UIColor clearColor];
    //[self setBackgroundColor:[UIColor clearColor]];
    [self.text drawInRect:self.bounds withFont:TINY_CHALKDUSTER lineBreakMode:self.lineBreakMode alignment:UITextAlignmentCenter];
    - (void)dealloc {
    [super dealloc];
    @end
    As you can see I have a couple of things commented out. LOL I still cant figure out how to make the background color clear. I also dont know if I need the dealloc in this subclass. But the other properties seem to be working like the font and line color.
    Thanks again for the link and getting me in the right direction xnav. If you can lend any more assistance on how to get that darn background color clear I would appreciate it!

  • Help with Wireless thingy Please!!!

    Hi, could someone please help with this? I am quite computer literate except when it comes to anything wireless or networking as it is something I've never used, so heres the problem - I bought ATV, and put a wireless card in the computer - do i need a seperate router to create a network? ATV searches for a network, and finds one, but I am not sure its mine!! ATV not coming up in itunes. Ive tried everything, but its just not happening. If I need a router, fine I'll get one, but if not could I have some instructions please?!!!! Like what on earth do I put in if adding network to atv manually? How do I know what my network name is? Tried with firewalls disabled, and added ports 3689 and 5353 to exceptions. Bearing in mind I need translations for things like DHCP etc! Its a Belkin Wireless G+ Network Card, compatible with ATV. Please help as this is the only thing standing between me and music heaven!!thankyou!

    On a mac you could create an ad hoc network with a mac with wi-fi card only and internet sharing enabled, I've not done it and I don't know whether one has the choice to name the network or whether it will be identified as the mac's network name. I guess you will need advice from a PC guy as to whether this can be done on a PC, but my guess is that it can.

  • Help with mail installatioin please

    could somebody please help with the installation of mail...I have had my mac for 7 months now, and can't use the mail application.
    Somebody help please before I die?
    thanks
    n9mila

    i don't understand...the whole outgoing thing!
    my email address is in hotmail. k! I don't have a .mac account
    explain this
    "incoming Mail Server: The server where your mail waits for you to retrieve it. Also called a POP or IMAP server. Enter the address (name) of the mail server where your mail account resides, and where mail is stored. For example, mail.example.com."
    and this
    "Outgoing Mail Server: The server that sends your mail to its destination. Also known as an SMTP server. For example, smtp.example.com. To see the server in use by each mail account, choose Edit Server List from the Outgoing Mail Server pop-up menu."
    sorry, I'm very slow to comprehending

  • I would need help with the following please: I need to save some of my email on a disk. I was going to Print, then Save PDF but then I am stuck. Help please. Thanks. Elisabeth

    I would need help with saving some eamil messages to a disk to unclutter my email. How can I do this please?
    Thanks.
    Elisabeth

    Open the email and then from the File menu select Save As Rich Text Format. That'll save it to open in TextEdit. If you want a pdf then open the email and do command-p (Print) and then from the PDF drop down box lower left corner select Save as PDF.

Maybe you are looking for