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.

Similar Messages

  • 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

  • Conditional format of one cell based on contents of another cell

    Preparing list of appointments for visitors with time for each. There are four possible status categories for visitors based on projected activity and whether they have shown up or not. (A Group Scheduled, A Group Showed, B Group Scheduled, B Group Showed). I've created the calendar in iCal with different calendars, then accessed that through Bento iCal Events. Bento adds the column with name of calendar from iCal. Info is now in Numbers. (iWorks 09)
    It shows Title, Start Date, Location, Calendar. I'm adding more fields using Lookup in Numbers drawing on entire data base brought over from Bento. I'm trying to get what info I need, but none that I don't, so the form isn't too crowded and busy.
    I would like to be able to conditionally format the Time column based on the contents of the Calendar column. If successful, the color of the Time column would tell me all I need to know about visitor status, and I could hide the Calendar column and clean up the form.
    I hope I've described it adequately. Can this be done, and if so, how?
    Thanks! Have a great Thanksgiving!

    jpcranch wrote:
    Does it work to format two cells based on contents of one of them?
    Conditional formatting of a cell depends on the contents of that individual cell, compared with another value, so no.
    But you could use a two-table approach.
    In general terms, the technique is to:
    • make the original table's cell fill transparent,
    • Add a second table to the sheet,
    • Set the second table to copy the control values into a column of cells,
    • Select the cells in that column of Table 2,
    • Apply conditional formatting rules for each possible control value (see below)
    • Set the text opacity for these cells to 0 (full transparency),
    • Click on Table 2 in the sidebar, then use (shift and) the arrow keys to slide Table 2 behind Table 1 to align the highlighted cells with the cells to appear highlighted in Table 1.
    • Set the colour of the cell borders on table 2 to none.
    Using the information you gave regarding the calendar column, you'll need four rules for conditional formatting of this column. All are of the same format:
    Text contains: A Group Scheduled
    With the text changed to match each possible entry.
    Regards,
    Barry
    BTW: by changing the width of the formatted column on table 2, you can appear to highlight as many columns as you wish on Table 1.

  • If Number = than then display text from another cell

    Hi
    I'd appreciate it if anyone can help me with this please.
    I am putting together a gradebook type spreadsheet. I would like to display the text from another cell if the number entered in another cell is greater than or less than a certain number.
    So - if the number in cell A is equal to or greater than 70 then the text displayed in cell B equals the text contained in cell C
    Hope this makes sense.
    Many thanks in advance.
    regards,

    Hello Lee,
    The Numbers User Guide PDF available from the Numbers Help menu as a download is good reading for beginners. As a reference document, the iWork Formulas and Functions User Guide is also valuable.
    The function you need is called "IF", and the syntax is: IF "logic-expression" is true, then do this, else do this. As a calculation in a cell, that would have the form: =IF("Cell A" is equal to or greater than 70, then display the content of cell C, else display "something else") You need to provide the "something else", which can be a null string, "", if you wish.
    As you will find when you read the guide, the cells all have row and column address components where the column is identified by a letter of the alphabet and the row by a number. So If your data is in A1, your text string in B1 and your expression is in C1, you would write in C1:
    =IF(A1>=70, B1, "")
    Does this help?
    Jerry

  • How do I get a cell to sum 1.25*40 + 3.75, but only if I put text in another cell?

    Hi
    How do I get a cell to sum 1.25*40 + 3.75, but only if I put text in another cell?
    Many Thanks
    Jared

    If B2="" doesnt seem to capture it properly you can also try ISBLANK(B2)  or Trim(B2)=""
    one more thing, dont forget about order of operations,
    1.25*40+3.75, are you meaning (1.25*40)+3.75? Or 1.25*(40+3.75)? Two completely different solutions.
    The way it is written you are going to get the first every time, 53.75. If its always the same equation, why do the math?
    Thanks
    Jason

  • 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...

  • How to change data type and col. width of text item

    hi,
    how will we change the datatype and width of a text item in runtime.
    set_item_property(itemname,fixed_length,20);--- it is for width.
    please help me.
    Regards

    Hello,
    You cannot change the datatype at runtime.
    Start with a CHAR item then do the corresponding cast (NUMBER or DATE)
    Francois

  • How to cell register the date/time when you put a value in another cell

    Hello guys!
    How do I get a cell (eg A2) tell the date and time when I put a value in another cell (eg A1) in Numbers?
    For example, I want to register a cell to read my electricity meter.
    I write in cell A1: 45809. When placing this value in A1, I want to appear (on A2) the date and time when I did that record automatically. Is it possible?
    I hope you understood the question!
    Thank you in advance to those who try to help.

    There is not automatic time stamping of on entry of a time.  One suggestion I've seen has a cell that has the current date and time.  Everytime you cahnge any cell that cell will update.  You can then copy that cell and paste the value into your date/time cell adjacent to the meter reading:
    Create a new, plain table:
    Now in cell A1 enter the formula "=now()"  short hand for this is:
    A1=now()
    now resize the table so it is a table that is 1 cell by 1 cell by selecting any cell, then dragging the table size control in the bottom right corrner towards cell A1:
    It should look like this when you have completed this task:
    Now create another new, plain table and enter "Date" for cell A1, and "Meter Reading" for B1:
    Now you can enter a meter reading (I entered "45671").  Now select the CELL that has current date and time from the first table at the very top, and copy:
    Now select the cell in the date column where you want to put the current date and paste values by using the menu item "Edit > Paste Value":

  • Updating a field on one screen based on values in another screen

    We have defined a new screen (ccalled Customer Data) for the Business Partner transaton BP.
    On this screen is a new field that has been defined and appended to BUT000. The field is a kind of customer GUID that allocates a unique ID string to a customer (we call it a matchcode, not to be confused with the SAP standard meaning).
    The value in the field is calculated by a function module, which needs uses some of the address data on the standard address tab of the BP transaction. If that data on the address screen changes, then the following needs to happen:
    1) The matchcode field on the Customer Data screen needs to be updated.
    2) When saved, the new matchcode is updated to the database (not a problem if the matchcode is recalcuated on the Customer Data screen).
    Here are the questions:
    1) How can I access the updated data on the address screen in the Customer Data screen? I was under the impression that the funtion modules which respond to events on each page are in their own function groups, so I cannot see the changed data from any function module bound to the Customer Data screen events. Is that true?
    2) How could I access the changed data on the address screen to re-calculate the matchcode field?
    BR,
    Tony.

    Closed; I spent a lot of time analysing this.Answer I think is no.
    1) No guarantee of the order in which the screens are processed (DSAVE event for addresses is after DSAVE for custom screen, so scratch that).
    2) Data exists in separate memory areas for separate screens and needs to be passed by EXPORT/IMPORT. 1) prevents this.

  • Preserve data from one instance of a workflow to another

    Hi all,
    I have a quite general question which has been bothering me for a while. It has to do with preserving data between instances of a workflow.
    What I need is to preserve some data from one instance of a workflow (as a task in the WF) and then stall the WF for some time - actually it must be stalled until another workflow finishes (this second WF should batch a number of tasks which should be sent (together with all the data) in a form to a different user).
    However when this second WF finishes it must thus send a "continue message" to all the instances of the first so that they can continue from their previous states.
    I hope you can understand the scenario, otherwise I'll try to elaborate further.
    If you could have some hints for what activities in the Workbench I should use and some pointers for pitfalls I would be very greatful.
    Thanks in advance
    Sincerely
    Kim Christensen

    Can't you just add your other workflow (child) as as step in the main workflow and set the Invocation Policy to "Wait for Response". This will ensure the main workflow will wait for the end of the child workflow.
    Jasmin

  • TableView cellfactory set style based on content from another cell

    I'm trying to figure out how to set the color of the current cell based on the content from another cell or property in the class that contains the row content. I looked at the following thinking I can use this but the table position method is not longer there.
    ((Person) t.getTableView().getItems().get(t.getTablePosition().getRow())).setLastName(t.getNewValue()); // from a oracle tableview javafx example
    I would like to:
    if (((Person) t.getTableView().getItems().get(t.getTablePosition().getRow())).getRowError())
    cell.setStyle("..."); // Set the color of the cell content
    Is there away to get the underlying object from the setcellfactory call method?

    Does
    t.getTableView().getItems().get(getIndex())give you access to the object represented in the current row? The getIndex() method is a TableCell method (inherited from IndexedCell).

  • 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

  • How to auto populate data from one list in SharePoint 2007 into another list based on a key value?

    Hi,
    As a part of new requirement in my project I am supposd to work on SharePoint 2007. I have one List (BCExtract - Main list) with all data related to an Application (like ID, name, app manager RTO etc).
    I have created another list which has form to be filled by a user (with details about his/her applications). My requirement is that when the user enters AIT ID then the page should refresh (probably after hitting enter) and other details like Application
    name, RTO etc which is present in another list gets auto populated depending on the AIT ID (unique column) entered so reduce the burden on the user.
    Please suggest me how this can be done. I do not have permission for obtaining SharePoint Designer and I do not know JQuery. Infopath is ok but if this can be done through SharePoint 2007 alone then it would be great.
    Thanks....

    Hello,
    You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
    I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
    To get value from list:
    http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
    http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
    To set value in column:
    http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
    http://spservices.codeplex.com/discussions/468729
    If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Change text colour based on text in another text box

    I am playing around with data merge in CS6 to layour customised artwork and I'm stuck.
    I have the data merge working no probs, bringing in the correct artwork and the names to go on the artwork. What I cannot seem to acheive is how to get the names to change colour based on the club field i have in my data set.
    I have the following fields:
    @design - brings in the artwork
    name - bringing in the customers name to be printed on the artwork
    club - brings in the club name
    I presume I have to apply a paragraph style to the <<name>> field to get it to change colour, I cant work out how to use a GREP style to get it to change based on the <<club>> field though.
    Any help would be much appricated or alternative ways to do this.
    I have around 500 records to propcess on a weekly basis so being able to automate it would be a big help.

    I think it can be done with GREP styles, though I'm very weak in GREP skills.
    This this example has the club name before the player's name:
    I burned out trying to recreate the successful example with the player name preceding the team name. I think it used a different lookaround method. Any suggestions are welcome.
    One problem I'm stuck on is how to make the expression that captures the player's name work with one, two, three, or more names, like first, middle, last, esq., etc. Currently there needs to be the same number of word placeholders in the GREP expression as there are words in the player's name.
    In this example, the bteam search fails. I moved it to another position in the GREP style dialog box, but no success. I created dteam to see if perhaps there was a limit to the number of searches. It succeeded when I deleted, then recreated, the bteam search.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for