Validate list column based on entry from another column

Hi there
I would like to ensure that a value is entered in list column B, if there is a value of 'Yes' in list column A.
I assume this formula is entered in the Validation settings of the list, but cannot work out what is required.
Is it something like?     =IF([Col-A]="Yes",IF(LEN([Col-B]<1,TRUE,FALSE),TRUE)
Thanks
Asher
Fast, Cheap, Good. Choose any Two!

Ahh, found a solution:
=IF([Col-A]="Yes",IF([Col-B]<>"",TRUE,FALSE),TRUE)
Now i need to do the same for other fields in the list, and these formulas must go together in the validation settings of the list, which is going to look messy.
If i want to do the same with columns C and D, how would i append this to the formula?
=IF([Col-C]="Yes",IF([Col-D]<>"",TRUE,FALSE),TRUE)
Thanks
Asher
Fast, Cheap, Good. Choose any Two!

Similar Messages

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Color a column based on value in another column in tableview

    I am using a tableview iterator to display data in a bsp page. I want to color a cell in particular column (column 4), when a value in another column (column 2) on that same row is greater than 20. I can color the cell in column 2 but am not able to color the cell in column 4. How can I accomplish this?
    This is what I have. Looks like val1 is losing it's value.
    CASE p_column_index.
        WHEN 2.
          ASSIGN p_row_data_ref->* TO <row>.
          ASSIGN COMPONENT 'ZTGT' OF STRUCTURE <row> TO <col>.
          VAL = <col>.
          IF VAL GT '20'.
            val1 = p_row_index.
            p_style = 'celldesign:CRITICALVALUE_DARK'.
          ENDIF.
        WHEN 4.
            if p_row_index = val1.
              p_style = 'celldesign:CRITICALVALUE_DARK'.
            endif.
        WHEN OTHERS.
    do nothing
      ENDCASE.

    The reason val1 is "loosing its' value" is presumably because you have defined it in the method as a local variable. So each time you call the RENDER_CELL_START method it is is newly initialised. So if you make this an instance attribute it will retain its' contents across method calls.
    Cheers
    Graham Robbo

  • How to validate an attribute in an entry from another data source

    Hi,
    i have a problem..
    the users in our system have an address field...now this address field has to be verified against the values of addresses stored in another database,lets call it AddDB...
    if the address entered in the entry does not match against the addresses in AddDB, the user entry should not be confirmed.
    Please help
    PuneetG

    Ideally these kind of checks should be done by the application (ldap client). Alternativerly this can be achived via a custom plugin. Most likely you'll have to write a pre-op mod/add plugin. Details about plugin programming etc are here
    http://docs.sun.com/app/docs/doc/817-7617
    Regards,
    -Wajih

  • Insert value into a column based on value of another column

    Hi,
    I am trying to insert a value into a record based on a column in
    the record, using a trigger. The complication arises because
    the new value is selected from the same table. For example:
    SELECT COL1, COL2, COL3, COL4 from TABLE1
    I want to set COL2 and COL3 based on the value of COL4. And to
    get the value of COL2 and COL3, I will go back to TABLE1 and set
    the condition to TABLE1.COL1 = :NEW.COL4
    I cannot seem to execute the trigger as I get the message "ORA-
    04091: table SYSTEM.TABLE1 is mutating, trigger/function may not
    see it" everytime.
    Is this the correct way to achieve what I wanted? Or is there
    another way?
    Appreciate your feedback. Thank you in advance.

    Hi,
    I am trying to insert a value into a record based on a column in
    the record, using a trigger. The complication arises because
    the new value is selected from the same table. For example:
    SELECT COL1, COL2, COL3, COL4 from TABLE1
    I want to set COL2 and COL3 based on the value of COL4. And to
    get the value of COL2 and COL3, I will go back to TABLE1 and set
    the condition to TABLE1.COL1 = :NEW.COL4
    I cannot seem to execute the trigger as I get the message "ORA-
    04091: table SYSTEM.TABLE1 is mutating, trigger/function may not
    see it" everytime.
    Is this the correct way to achieve what I wanted? Or is there
    another way?
    Appreciate your feedback. Thank you in advance. I'm not sure what you mean when you insert a value into a
    record, but if you are setting a value in a column of the same
    record using a trigger, then it's easy.
    :new.COL2 := ....:new.COL4...
    :new.COL3 := ....:new.COL4...
    The trigger must be 'INSERT or UPDATE' and 'FOR EACH RECORD'.
    If you are setting a different record in the same table, the
    solution is much more difficult.

  • How do I return a value from a column based on info from neighboring columns?

    I have a table of data that looks similar to this:
    Weight
    Name
    School
    Division
    106
    Name1
    School1
    1
    106
    Name2
    School2
    2
    106
    Name3
    School3
    3
    106
    Name4
    School4
    4
    113
    Name5
    School5
    1
    113
    Name6
    School6
    2
    113
    Name7
    School1
    3
    113
    Name8
    School3
    4
    It's a very large table, so there will be multiple matches for Schools, and occasionally a few matches for Names, but there will always be only one match for a given Weight and Division.
    In a separate table, how can I get the name of the person associated with the unique weight and division?
    In my head, the formula goes" "Look in the Weight column to find 106, then look in the Division column to find 4, then return the value from the Name column." But I can't figure out the formula that will do that.
    Any thoughts?

    Hi momogabi,
    This can be easily done with an index column.
    The formula I used in your original table for the index column is:
    =A2&"-"&D2. This was filled down. The column can be hidden.
    You can see the formula in the search table. If I wanted to eliminate the index column in that table the formula would look something like:
    =INDEX('Table 1-1'::B,MATCH(A2&"-"&B2,'Table 1-1'::E,0),1)
    Hope this helps.
    quinn

  • Select column by comparing data from another column

    I have a table of products by their price.
    Product
    Price
    bag
    1000
    gloves
    200
    socks
    400
    hat
    100
    need to select all products where price is greater than price of "gloves"...
    Dhananjay Rele

    Select * from Table1
    where Price > (Select Max(price) from Table1
    where Product = 'gloves');
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • How to display data from a recordset based on data from another recordset

    How to display data from a recordset based on data from
    another recordset.
    What I would like to do is as follows:
    I have a fantasy hockey league website. For each team I have
    a team page (clubhouse) which is generated using PHP/MySQL. The one
    area I would like to clean up is the displaying of the divisional
    standings on the right side. As of right now, I use a URL variable
    (division = id2) to grab the needed data, which works ok. What I
    want to do is clean up the url abit.
    So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
    I want is clubhouse.php?team=Wings.
    I have a separate table, that has the teams entire
    information (full team name, short team, abbreviation, conference,
    division, etc. so I was thinking if I could somehow do this:
    Recordset Team Info is filtered using URL variable team
    (short team). Based on what team equals, it would then insert this
    variable into the Divisional Standings recordset.
    So example: If I type in clubhouse.php?team=Wings, the Team
    Info recordset would bring up the Pacific division. Then 'Pacific'
    would be inserted into the Divisional Standings recordset to
    display the Pacific Division Standings.
    Basically I want this
    SELECT *
    FROM standings
    WHERE division = <teaminfo.division>
    ORDER BY pts DESC
    Could someone help me, thank you.

    Assuming two tables- teamtable and standings:
    teamtable - which has entire info about the team and has a
    field called
    "div" which has the division name say "pacific" and you want
    to use this
    name to get corresponding details from the other table.
    standings - which has a field called "division" which you
    want to use to
    give the standings
    SELECT * FROM standings AS st, teamtable AS t
    WHERE st.division = t.div
    ORDER BY pts DESC
    Instead of * you could be specific on what fields you want to
    select ..
    something like
    SELECT st.id AS id, st.position AS position, st.teamname AS
    team
    You cannot lose until you give up !!!
    "Leburn98" <[email protected]> wrote in
    message
    news:[email protected]...
    > How to display data from a recordset based on data from
    another recordset.
    >
    > What I would like to do is as follows:
    >
    > I have a fantasy hockey league website. For each team I
    have a team page
    > (clubhouse) which is generated using PHP/MySQL. The one
    area I would like
    > to
    > clean up is the displaying of the divisional standings
    on the right side.
    > As of
    > right now, I use a URL variable (division = id2) to grab
    the needed data,
    > which
    > works ok. What I want to do is clean up the url abit.
    >
    > So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
    > all
    > I want is clubhouse.php?team=Wings.
    >
    > I have a separate table, that has the teams entire
    information (full team
    > name, short team, abbreviation, conference, division,
    etc. so I was
    > thinking if
    > I could somehow do this:
    >
    > Recordset Team Info is filtered using URL variable team
    (short team).
    > Based on
    > what team equals, it would then insert this variable
    into the Divisional
    > Standings recordset.
    >
    > So example: If I type in clubhouse.php?team=Wings, the
    Team Info recordset
    > would bring up the Pacific division. Then 'Pacific'
    would be inserted into
    > the
    > Divisional Standings recordset to display the Pacific
    Division Standings.
    >
    > Basically I want this
    >
    > SELECT *
    > FROM standings
    > WHERE division = <teaminfo.division>
    > ORDER BY pts DESC
    >
    > Could someone help me, thank you.
    >

  • How to create a new row for a VO based on values from another VO?

    Hi, experts.
    in jdev 11.1.2.3,
    How to create a new row for VO1 based on values from another VO2 in the same page?
    and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
    Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
    How-to declaratively create new table rows based on existing row content (20-NOV-2008)
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
    I have tried:
    1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
    2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
    3.add: Create insertinside Createwithparams->Nameddata(amount),
    4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
    On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
    java.lang.NumberFormatException: For input string: "Amount"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    Can anyone give some suggestions?
    Thanks in advance.
    bao
    Edited by: user6715237 on 2013-4-19 下午9:29

    Hi,CM,
    I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
    My principal requirement is as follows:
    1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
    --so it's better to implement it in UI rather than in EO.
    2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
    --little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
    In order to get full information for the requirements of my use case, can take a check at:
    How to set default value for a VO query bind variable in a jspx page?
    (the end half of the thread: I have a more realworld requirement similar to the above requirement is:
    Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
    Regards
    bao
    Edited by: user6715237 on 2013-4-19 下午11:18
    JAVE->JAVA

  • Adding a blog entry from another computer

    Is it possible to add a blog entry from another computer? Say all my iWeb sites are on my desktop computer and I want to add a blog entry from my laptop.

    You can do this if you transfer your Domain File to the laptop. An easy way to do this is outlined in these notes.
    Mark

  • SQL update one column from another column

    I'm looking for a way to update a SQL column with a portion
    of info from another column in the same table.
    example of a sql command
    UPDATE table1
    SET table1.columnname1 = table1.columnname2
    FROM table
    WHERE blah blah blah
    Here's the thing... I only need a portion of the data found
    in the source column. I'm not sure how I would do this then.
    for example, the database has countries and states combined
    into one column like this 'US-DC', 'US-CA', US-FL', etc. I want to
    separate these into two columns, a country column and a state
    column.... and I dont want to go though all the results and do this
    line by line. How would I write the SQL command so that it puts
    just the country in the country column, and puts just the state in
    the state column, and it omits the dash all together.
    any ideas?

    It depends. Are you using PHP and mySQL or ASP and SQL?
    If you are using mysql and PHP you could use the following
    code to loop through all records in your datatbase.
    $sql="SELECT * FROM tablename"; //SET tablename to the name
    of your database table.
    $result=mysql_query($sql)or die(mysql_error(). " - $sql");
    for($x = 0; $row=mysql_fetch_assoc($result); $x++){
    //set up the variables from the table
    $ID=$row['ID']; //this is the primary key
    $var1=$row['contrystatecolumn']; //this is the name of the
    column which holds the country-state
    $var2=explode("-", $var1); //now we explode the string to get
    the country and the state seperated and place the results into an
    array
    $country=$var2[0]; //this is the first piece of the exploded
    string in the array
    $state=$var2[1]; //this is the second piece of the exploded
    string in the array
    //now we update the database record with the new information
    //remember to replace the tablename with your actual table
    name and the columns country and state with the acutal names of
    your columns in your table
    $sql2="UPDATE tablename SET country='$country'.
    state='$state' WHERE ID='$ID'";
    $result2=mysql_query($sql2)or die(mysql_error() . " -
    $sql2");
    This code will loop through every record in your table and do
    what you want very quickly.
    Hope this helps
    Stan Forrest
    Senior Web Developer
    ATG Internet

  • Calendar shows entries from another day

    Hi. My wife has an issue with her Z10 calendar after the last OS upgrade (now using the last official SW version 10.2.0.424). Her Z10 is configured with one Gmail account (with 2 calendars in it) and with one Facebook calendar. If she looks in the calendar (f.e. month view) and when switching between the days to look at the entries overview in this days, the calendar stars suddenly to show in a day entries from another day. Its very annoying. She has to close the calendar, start it again, than its correct again. But after a moment it starts again to do the same problem. We tried to restore the factory settings and restore the backup, but it didnt help. Do you have the same problem or do you know how to solve this issue, please?

    RobertP wrote:
    Hi. My wife has an issue with her Z10 calendar after the last OS upgrade (now using the last official SW version 10.2.0.424). Her Z10 is configured with one Gmail account (with 2 calendars in it) and with one Facebook calendar. If she looks in the calendar (f.e. month view) and when switching between the days to look at the entries overview in this days, the calendar stars suddenly to show in a day entries from another day. Its very annoying. She has to close the calendar, start it again, than its correct again. But after a moment it starts again to do the same problem. We tried to restore the factory settings and restore the backup, but it didnt help. Do you have the same problem or do you know how to solve this issue, please?
    I would to do the factory reset, but before restoring the backup, try the calendar(s) to see if the behaviour still there. It maybe some corruption in the setting that is the cause, and when you restored the settings it may have restores the corrupt one as well.
    Using the Playbook and the Z10 and the Z30 and loving them
    Martin

  • Is it possible to create a Column with Conditional Mandatory with another Column?

    Is it possible to create a Column with Conditional Mandatory with another Column?
    For example
    In a Table we have column A, B, C.
    A is Primary Column.
    B is Optional
    C is Conditional Mandatory.
    A B
    C
    12345 ABC
    OK
    12346 NULL
    NULL
    12347 ABC
    OK
    Only if the B Column has the value then only C column should be mandatory

    I guess you can't create a condtional mandatory column directly. However, you can use check constraint to on the column
    create table YourTable
      A int primary key,
      B char(3),
      C int,
      constraint ch_con check(
                                B
    is not null
    or C is null

  • Form Guide - Populating a drop down with entries from another field(s)

    Greetings all!
    Here is what I am trying to accomplish:
    1. Build a repeating panel that has a field for the entry of a Name. (I can do this)
    2. Build a drop down field on another panel that will be populated with the Name entries from one or more of the repeating panel Name fields in 1. above. I would like this to happen while the user is in the same render of the form guide.
    3. Setup:
         LC ES2
         Workbench 9.5
         Would utilize Workspace to complete the form guide
         Want to use a .fml data model
    Any help would be appreciated.
    Best Regards,
    Rick Kuhlmann

    pguerett,
    Many thanks for that lca. I have been able to move forward with development of a POC Form Guide.
    However, I have one other issue that if solved will push my POC to the point of demo status for the business.
    Here it is:
    The business needs to be able to add the names of children to a Children Info panel on the form guide. - No problems with that.
    Then they need to be able to go to another panel in the form guide and select a child name from a drop down to associate that child with the name of a father. - The previous post with the lca solved that.
    Now what I need to do is to be able to take the selected child in the father panel and place that value into the data model.
    Why? because the final part of this form guide is to populate a pdf form that is really a legal petition to the court. The child(ren) names form the Children Info panel are listed at the beginning of the petition. Then the selected child in the father panel is displayed in the father section.
    So what I am looking to do is to populate that selected child in the father panel to a property in the data model.
    However, based on the lca you sent it does not seem that when I add a Data Object to the Data Model in the Guide Builder that I am not able to push that data back into the original Data Model. I thought that using a Binding might work but I have struck out so far.
    Clear as mud? Any help you or anyone else can provide would be wonderful.
    Thanks a ton!
    Rick Kuhlmann

  • Specify Pop Up list options via info given from another pop up list.

    Needing to allow someon to select a category from a pop up list, then a field within that category from another pop up list. Hoping that based off the first selection, I can limit the options in the second pop up list to only those applicable so that the user doesn't select a field that belongs to another category.
    Anyone know a way to make pop up lists conditional?
    Also wondering if there is a way to submit a list of cells as the options in the pop down list rather than having to enter each individual field again.

    Hi K,
    One way to achieve a result similar to what you are looking for is to use a combination of pop-up menu for the initial choice and a slider or stepper to make the second choice. The example below uses a slider. The formula would be the same for a stepper cell in column B of Main.
    Column A contains a series of pop-up menu cells with for choices: -- (no choice yet made), Red, Blue and Green.
    Column B contains a series of slider cells, each with the same values: Minimum: 0, Maximum: 3, Interval: 1.
    Each cell in Column C contains the formula below, which uses OFFSET, MATCH and the value set by the slider to retrieve the correct value from the Lookup table.
    Main::C2, and filled down: =IF(A="--","--",OFFSET(Lookup :: $A$1,B,MATCH(A,Lookup :: $1:$1,0)-1,1))
    Results for various combinations of the pop-up and slider cells are shown.
    Regards,
    Barry
    PS: Constructed in Numbers 2.3 (Numbers '09)

Maybe you are looking for

  • Looking for a simple tutorial to building my first responsive web site in Dreamweaver CC.

    I am looking for a simple tutorial to building my first responsive web site in Dreamweaver CC. I have watched the tv.adobe video 3 times and I cam not able to do the actions the author shows. help. Ken Edwards

  • Need Help with Transporting Playlists Back to I-Tunes

    If anyone can help with this issue, I would really appreciate it. Here's my situation: After many long hours organizing my playlists on I-Tunes, my pc malfunctioned and I needed a complete software overhaul. Therefore, I have had to reinstall all sof

  • Recovery Manager has stopped working

    Hi, when trying to run the HP Recovery Manager on a HP Pavilion DV6-3180ea notebook, the error "Recover Manager has stopped working" occurs. Any ideas? Should I try reinstalling Recovery Manager?

  • Mulitple libraries vs. playlists

    Can somebody explain the differences between libraries and playlists? What should I do with Christmas songs or St. Patrick's songs - things I may not want to hear year round? Thanks.

  • Adobe Reader- higher version required?

    Hi All, We are workking on ECC 5.0, EP6.0. WHen I goto Personnel Change Request to open any form, i am getting an error message saying 'A higher version of Adobe Reader is required'. We are currently on Adobe reader 7.0 All this while, we were able t