Use check cells to enter data in another cell

I'm creating a table that list my sales. I what the total to reflect money received not money invoiced. I thought i could just check a box and then the amount would be displayed.
this is what am thinking in my head but it is not right:
=SUM(R2,IF,U2="true")
"true" meaning the check box is ticked
Is this possible? if so how, or can you see another way.

Reading *_iWork Formulas and Function User Guide_* is often useful when we want to write a formula.
(1) why use SUM when a formula is designed to return the content of a single cell as the one which you wrote ?
G2 contains :
=IF(C2=TRUE,D2,"")
is the correct syntax.
(2) if you want to get a conditional sum of a range, the formula must apply to ranges, not to single cell.
H2 contains :
=SUMIF(C,TRUE,D)
Yvan KOENIG (VALLAURIS, France) dimanche 5 décembre 2010 14:21:46

Similar Messages

  • Conditional Formatting in one cell with a dates in another cell

    I have a simple spreadsheet that will gauge a project's progress.  I wish to have individual cells change color based on another cell.  I can't get the right syntax in order - groan
    E2 has today's date, =NOW()
    G2 (not started) would change from a color to no color when the start date, F27,  has arrived then
    H2 (started) would change to a color when the date is met, F27, (may be change color as the completed date arrives) then no color when the completed date arrives, F28.
    I2 (completed) would change to a color when the date is met, F28
    When the spread sheet is opened or if I need to change the dates in either of the cells the cells with color gauges will update.
    I am using conditional formating through the ribbon.
    Please help!

    Hi,
    Thank you for posting in the MSDN Forum.
    Since the issue is more relate to the end-user, I'd like to move it to Excel IT pro forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I use table control to enter data

    Hi all,
    I want to use table control to enter data, instead of using textboxes.
    So that the user can enter many data at once and just click the save button at the end of the work, only one click.
    How can I use the table control at this context?
    Thanks.
    Deniz.

    Hi deniz,
    go through it:
    /people/ravishankar.rajan/blog/2007/02/23/an-easier-way-of-displaying-and-editing-data-using-table-control
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/code%2bto%2bhandle%2bmultiple%2brecords%2bin%2bbdc%2btable%2bcontrol
    Regards,

  • I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    Leigh,
    After creating your table, Tap the Tab marked "+" and select "Form" - you will be asked which table to use. (You should get into the habit of naming your tables - if the table name isn't visible, select the table and tap the Styles (Brush) Menu > Table > Turn ON table Name, then double tap on the Table to edit it.)
    Select the table you wish to to fill with a form and you will see a new form based on the header data.
    The form will allow you to add one row at a time and when you get to the last row, there is an option at the bottom of the form to add a new row using the "+" button. At the top of the form is the row header which you can rename by double tapping.
    You can also rename the form on the Tab by double tapping on the name.
    Try it out.

  • When I add a date to a cell, how can I let another cell display a date that is 30 days later?

    when I add a date to a cell, how can I let another cell display a date that is 30 days later?

    =[cell reference] +30

  • Drag the contents of a cell and drop it into another cell

    dear frankson,
    pls send the source code for drag the contents of a cell and drop it into another cell.

    When I drag and Drop on a Mac (OS 10.2.3), the OS
    builds a transparent image of the component being
    dragged and uses it instead of the default cursors.
    This wouldn't be a big problem except that the
    component it renders is the ENTIRE spreadsheetThis is the default behavior on Mac. You can manually set the dragimage in startdrag(...) in dragGestureRecognized(). So you just need to create an image of what your are actually dragging.
    If you simple want to remove the image just set it to some 1x1 pixel image or a transparent gif...

  • Changing Date in one cell based on text in another cell

    Is there a formula to change the date in a cell in one column to the date in another column on the same row based on the text in a third cell on the same row? For example, I want the date in G3 to change to the date in J3 when the text in H3 says Completed.

    Hi,
    My understanding is that if the value of H3 is "Completed", the G3 is changed the value of J3, is it correct? If yes, we can use If formula (=IF(H2="completed",J2)), please see the image below:
    If no, please share us a sample, we'd like to re-try it.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Entering dates into two cells and then receiving a corresponding range to be formatted

    I am new to VBA.  I am trying to set up a reservation system using Excel.  The rows are the different rooms and the columns are the dates.  The tutorial that I am using to set up this system didn't go far enough for my liking.  Using
    the current code it will find use the "start date" from the data entry cell and show the name in a calendar type data range.  What I need to add is an "end date" which will then show all of the dates for that booking.  I'm not
    sure how to put that into the code that the tutorial already had.  Here is that code.  Any help would be greatly appreciated.
    sincerely,
    Andy
    VBA Code:
    Sub Bookings()
        Dim Rm As Range, Dt As Range, Myrng As Range, Sites As Range
        Dim endCol As Range, StCol As Range, StRow As Range, endRow As Range
        Dim Codei As Range, Col As Range
        Dim Dws As Worksheet, Cws As Worksheet
        Dim x As Integer
        Dim LastRow As Long
        Dim aCell As Range, bCell As Range, dCell As Range
        Set Cws = Sheet1
        Set Dws = Sheet2
        Set StCol = Cws.Range("I5")
        Set endCol = Cws.Range("K5")
        Set StRow = Cws.Range("M5")
        Set endRow = Cws.Range("O5")
        LastRow = Dws.Range("C" & Rows.Count).End(xlUp).Row
        Set Myrng = Dws.Range("C7:C" & LastRow)   'data sheet columns
        Cws.Range("G12:AH31").ClearContents
        Cws.Range("G12:AH31").Interior.ColorIndex = xlNone
            For x = StRow To endRow
            Set Sites = Cws.Cells(x, 6)
                    For Each dCell In Cws.Range(Cells(x, StCol), Cells(x, endCol))
                If Not dCell Is Nothing Then
                    Set Dt = Cells(11, dCell.Column)
                                    Set aCell = Myrng.Find(What:=Sites, LookIn:=xlValues, _
                                           LookAt:=xlWhole, SearchOrder:=xlByRows,
    SearchDirection:=xlNext, _
                                           MatchCase:=False, SearchFormat:=False)
                    If Not aCell Is Nothing Then
                        Set bCell = aCell
                                            Do
                            Set aCell = Myrng.FindNext(After:=aCell)
                            If aCell.Offset(0, 1).Value = Dt.Value Then
                                Set Codei = aCell.Cells(1, 4)
                                Set Col = aCell.Cells(1, 3)
                                dCell.Value = Codei
                                Select Case Col
                                    Case Cws.Range("AP9").Value
                                        dCell.Interior.ColorIndex = 27
                                    Case Cws.Range("AP10").Value
                                        dCell.Interior.ColorIndex = 24
                                    Case Cws.Range("AP11").Value
                                        dCell.Interior.ColorIndex = 4
                                    Case Cws.Range("AP12").Value
                                        dCell.Interior.ColorIndex = 38
                                End Select
                            End If
                            If Not aCell Is Nothing Then
                                If aCell.Address = bCell.Address Then Exit Do
                            Else
                                Exit Do
                            End If
                        Loop
                    End If
                End If
            Next dCell
        Next
        On Error GoTo 0
    End Sub

    Not sure how you derive Actual Cost numbers, etc. but you can use the INDEX MATCH combination to solve a problem like this.
    INDEX looks up a value from a range given a row number and column number.
    MATCH can get the row number and column number you need.
    Putting it all together here:
    The formula in G2 of 'Table 2':
      =INDEX(Table A::$A:$G,MATCH(A2,Table A::$A,0),MATCH(G2,Table A::$1:$1,0)+2)
    This looks more complicated than it is. Breaking it down:
       =MATCH(A2,Table A::$A,0) simply tells Numbers to take the value in A2 and find out where it occurs in Column A of 'Table A'.
       =MATCH(G2,Table A::$1:$1,0)+2 tells Numbers to take the value in G2 and find out where it occurs in Row 1 of 'Table A'.  Then it adds 2 because the way you have the table set up you need to shift over two columns to get the actual cost after the 'Retro Deal'.
      =INDEX(Table A::$A:$G, <first MATCH expression>,<second MATCH expression>)  looks up the results in the whole of Table A (here columns A through G).
    SG

  • Formula to trim off data from another cell after

    Wonder if anyone can help.  Ive got some address columns im editing in Numbers. Unfortunately,( common problem I know!), not all the date in the cells are uniform.  For example: E2 may have  '123 Alphabet Street', whereas E3 might have '123 Alphabet Street, London'.  Im trying to write a quick formula where I can trim off any data after the ',' into another column called Town.
    Im going to continue to scroll through this forum to see if this has been dealt with before, and look on Iwork Help. But in the meantime.. if anyone could give me a pointer that would be ace.
    Thanks

    You'll need two columns, one for each part of the split.
    Original data in column B, Street address in column C, City in column D
    C:   =IFERROR(LEFT(B,FIND(", ",B)-1),B)
    D:   =IFERROR(RIGHT(B,LEN(B)-FIND(", ",B)-1),"")
    Regards,
    Barry

  • Run a formula if a cell contains particular data from various cells

    I have a formula which checks a list of domains to see what the TLD is and then returns a renewal price based on the TLD e.g. .co.uk may return with $5.99 and .com $10.00. The formula I am using is below:
    =VLOOKUP(RIGHT(A2,LEN(A2)−SEARCH(".",A2)+1),$A:$B,2,FALSE)
    I am now wanting to expand this formula to check additional criteria before running the above formula.
    I don't know what functions to use, but I know what I'm trying to achieve, so please, humour me when it comes to make believe syntax below:
    if a cell contains the data from a number of cells e.g. C$2:C$5 then run the above formula, if not return "N/A"

    Hi Ian,
    Thanks for your reply.
    I see exactly where you're going with this, but it's not exactly what I'm after.
    Perhaps I need to be a bit more clear in my explanation - my bad.
    Cell A2 has a domain name e.g. example.com, example.co.uk, example.org, example.net
    Cell B2 has a number of options to choose from e.g. Expire, Hosting, Backorder, Mapping
    Column D2:D5 have a number of TLDs e.g. co.uk, .com, .org, .net
    Column E2:E5 have the corresponding annual renewal prices for the TLDs listed in cells F2:F5
    Column F2:F5 have the options than can be chosen in column B2
    I only want to get the renewal price for the TLD where the option in Cell B2 is one of the options listed in cells F2:F5 and if it's not, I want it to return "N/A"

  • What is the formula for a cell equal to itself plus another cell?

    I trying to create a worksheet where I enter a new number into a cell  at different times and have a running total in another cell.

    JJHorn wrote:
    Hi Jerry,
    Thanks for the tip. I will give this a try as well.
    Have a great night!
    Jon
    Jon,
    Here's a graphic on my suggestion:
    The expression in Display :: A2 is =OFFSET(Enter Here :: $A$1,COUNT(Enter Here :: A), 0)
    The expression in Display :: B2 is =SUM(Enter Here :: A)
    Regards,
    Jerry

  • Populating from one table cell in one table to another cell in another table - confusing results

    Hi, really hope someone can help because I feel like I'm almost there... just not quite!
    Here's what I have:
    Two tables. One is called 'plantable' - this is an expanding table in so much as the user can click a button and it will add a new empty row. Within this row there is a button to remove the row (working fine), six text field cells where users can add text. Two of these text cells are called 'wb' and 'better' - this is important as they come into play later. There's also a button called 'Send to Review' on the same row.
    This button does two things: It adds a new Row in a separate table called 'review table'. 'reviewtable' operates similarly to 'plantable'. It is expanding (so there's an 'add row' button) and each row consists of a remove button which removes that particular row, along with five text field cells - two of which are called 'wb' and 'better'
    This is what I would like to happen: The user adds several entries (rows) in the 'plantable'. They have the option of adding one of these rows to the 'reviewtable' - if they do this it will auto-populate the text fields for 'wb' and 'better' in the newly created row in the 'reviewtable'. The user can also go directly to the 'reviewtable' and add a new row (completely independent of the 'plantable') and fill in the text fields as they require.
    This is what is actually happening: It all works... apart from the fact that whichever 'add to review' button the user presses in the 'plantable' row, a new row is created in the 'review table' but it always pulls the data from the cells of the top-most row in the 'plantable'. For example, I have a plantable with three rows, a, b, c (each row has an 'add to review' button). Each row has text for the 'wb' and 'better' text cells - say, a-wb, a-better, b-wb, b-better, c-wb, c-better. Even if I click on the 'add to review' button in row c, the reviewtable will always add a new row and populate it with the contents from row a. If I click on the same button again it will add a new row and fill it with the contents of row b. If I keep pressing the button it will add more and more rows but they become blank. Also, if the user has added new rows independently to the reviewtable it won't keep the order, so instead of having a row with empty fields followed by say row a then row b, row a will always come first, followed by row b followed by the empty row. I just want them to be viewed in the order the user has added them to the reviewtable. Not what I want to happen.
    Here's my code.
    Code for adding a new row to plantable (I think this is correct, but placing it here so you can see):
    plantable._planrow.addInstance(0);
    Code for adding a new row FROM a row in plantable TO a new row in review table (it also adds a dialogue box before proceeding which is the first two lines of code):
    var button = xfa.host.messageBox("You are about to ADD this entry to the REVIEW section. Do you wish to proceed?", "Add to Review Section", 1, 2);
    if (button == 4)
    {form1.Review.reviewsub.reviewtable._planrow.addInstance(0);
    var vCol1 = this.resolveNodes("form1.plan.plansub.plantable.planrow[*].better");
    var vCol2 = this.resolveNodes("form1.Review.reviewsub.reviewtable.reviewrow[*].better");
    var vCol3 = this.resolveNodes("form1.plan.plansub.plantable.planrow[*].wb");
    var vCol4 = this.resolveNodes("form1.Review.reviewsub.reviewtable.reviewrow[*].wb");
    for (var i = 0; i < vCol1.length; i ++) {
                 vCol2.item(i).rawValue = vCol1.item(i).rawValue;
                 vCol4.item(i).rawValue = vCol3.item(i).rawValue;
    Can anyone help me with this please as I don't really understand where I am going wrong.
    Many thanks, Sunil

    I'm still struggling with this, but have revamped the question and almost got it to work. I've started a new thread with a more succinct question here: always fill out the very last row of a table (which can expand)

  • Assigning a Numeric Value in a Cell Based on Text in Another Cell

    In advance, thanks for your assistance. I'm trying, in vain, to assign a numeric value in a cell based on text (from a dropdown menu) in another cell. For example, in cell A5 I have a dropdown list that includes the options "blue", "red", "white", and "gold." I want cell C15 to be 2 if A5="blue"; I want C15 to be 0 if A5="red"; I want C15 to be 2 if A5="white"; and, I want C15 to be 1 if A5="gold."

    Tippet,
    This is a job for LOOKUP.
    The expression for the Result cell is: =LOOKUP(A2, Lookup :: A1:A4, Lookup :: B1:B4)
    The aux. table contains the matches that you assign for the colors.
    Regards,
    Jerry

  • How do I use one form field to enter data into another form field?

    Does anyone know how I can code a form so that when I select
    a name in one drop-down form field, I can ensure that the person's
    e-mail address will appear in another text field?
    Thanks.

    Thanks Roel,
    I remember that I tried to define multiple DML. but it did not work for Apex gets confused.... which items belongs to which table...
    instead-of-triggers (to process the inserts/updates/deletes) Can you pls, elaborate more on this solution ... ?
    Regards,
    Fateh..

  • How do I write data to another cell based on a drop down menu?

    Hello. I've been trying to figure this out for a last day or so and my brain is mush since its the first time I've used Numbers.
    What I need, is based off this information, is to make summary graphs from information, but the tracky part is, I need to to be catergorized by job site. So if I pull down and select "Job 1" for it to add the required information to a graph for "Job 1" and so on for an average of 8-10 different job sites. The tricky part is, the same job site might show up multiple times and I need it to add only the info from the row that it's on to the graph.
    I know this isn't worded very well but any help would be fantastic.

    m.barr wrote: ...
    What I need, is based off this information, is to make summary graphs from information, ...
    MB,
    I think I have the idea, or at least I can imagine a problem/solution pair that might apply here.
    I would begin by starting a new table for your chart. In that new table you would pull in the data that you wish to chart, based on job number, or whatever criteria you have in mind. Use one of the lookup functions to access just the data you need if you want to plot a sequence of values. If you want summary data, use SUMIF and SUMIFS.
    Once you have created a table and chart for one job or other criteria, generalize it by substituting a variable in the place where you provide the reference to a particular job. This "variable" would be a reference to a cell where you enter the criteria for that particular instance of the chart.
    We can help with the particulars.
    Jerry

Maybe you are looking for

  • Error during Usage decision

    Hi, System status is not updating in the transaction QA32.We find that system status is not updating from certain period earlier which is fine. Another thing is We are not able to clear the inspection lots through UD in QA32.If we try to do the UD in

  • Export part of the project

    Anybody found a way to only export a section of a project? IN FCP 7 I would just go in the timeline and press I and O to select the wanted area and that's it. It's a very useful feature if I need to export a clip to do some stuff in AE and then bring

  • Unable to update CE EHP1.

    I just installed NW CE EHP1 and now I would like to update it to SP Stack 2. According to the Update Guide, I first upgraded the ceupdatemanager.exe as explained in SAP Note 1224927. Then I downloaded the stack to a local directory. In that directory

  • Corrupt sparse images

    Twice now I've run into situations where my wireless network connection to my MacBook was interrupted during a backup, and the sparse image (On a 1 TB Time Capsule) containing the TM archive became corrupt. I lost all my back-ups both times. A third

  • Problem with desktop pictures

    I have custom desktop pictures set up to do a random picture from a folder or album every 30 minutes but the problem is not all spaces will update some of my spaces still have the mac lion defult walpaper what is going on?