Empty cell until value entered in different cell

I am trying to create a formula that will leave a certain cell empty until the first cell is populated. The problem is that the cell that first needs to be populated will not have the same value in it. 
Basically, I am creating a daily chart where I will have to populate numbers in column A, which will then populate all the other columns. Until the cells in column A are populated I want all the other cells empty. The cells in column A will be populated
with different numbers every day, which is my problem. 
Additionally, if the cell is then populated, the other cells will have to do calculations. It should be something like "Once the cell in column A is populated with a number, column B will have to calculate A1-C1. Until that point column B will have
to stay empty.
I'd be grateful for any help. 

Enter the following formula in B1:
=IF(A1="","",A1-C1)
This formula can be filled down.
Regards, Hans Vogelaar (http://www.eileenslounge.com)

Similar Messages

  • Replace different values in different cells

    Hi,
    I am new to LabVIEW and work with an instrument that gets it's settings from an Excel file. I need to change those settings in Excel with LabVIEW. The Excel file is formated in .xls (97-2003 version). The PC has Microsoft Office 2013 installed.
    I am using LabVIEW 2014 (64-bit).
    Task:
    I want to change the values in 3 different cells in an Excel spreadsheet and save the workbook (not SaveAs).
    The main vi is saved in the library in the zip file, it is called 'change 3 values in excel.vi'.
    The excel file is attached separately.
    I don't think it matters where those cells are in the Excel worksheet, the Excel memory seems to keep the cell selection of all cells in mind but replaces the value with the last one mentioned in the last sub vi.
    Problem:
    1) All cells change to the same value that I define in the third sub vi.
    2) Excel asks me for SaveAs and doesn't just save over the existing file.
    3) The Excel application doesn't close but I can't seem to figure out why.
    Please advice. Help on any of those issues is highly appreciated.
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    change the 3 cells.xls ‏26 KB
    change 3 values in excel.zip ‏103 KB

    Here is how I would do this.  I would use the Report Generation Toolkit (which is included in LabVIEW 2014).  This Example is a simplified version of your task -- you are given the name of an existing Excel Workbook to modify, the index of the Worksheet to use, the Excel Cell address (in Excel format, i.e. A1, for purposes of illustration), and the Cell Value that you want to insert there.
    The first function is New Report, which is a slight misnomer, as we are using it as "Replace Report" by wiring in the name of the existing Report, and specifying that we mean an Excel Report (it will open Excel -- if you don't want the Workbook to be visible, open it Minimized).  We next call Excel Get Worksheet (which isn't necessary if we are using the first Worksheet ...).  We use Excel Easy Table to put the Cell Value into the chosedn Excel Cell.  To do this, we first use Excel Get Excel Location to convert, say, B3, to row/column indices (B3 = 1, 2) and bundle this into a Cluster.  We also need to convert the Cell Value into a 2D Table which we do by passing it through two Build Array functions.  Next we Save Report to File using the original Excel Workbook path, and finally we Dispose Report to turn off Excel.
    If you had multiple cells you wanted to update, I would bundle Excel Cell and Cell Value into a cluster, build an array of clusters, then put the Excel Easy Table function into a For loop and do the updates one at a time.
    This should work extremely quickly -- the entire process should take a fraction of a second.
    Bob Schor

  • Formatting cells using values in different cells

    Hi,
    Thanks in advance for your help.
    I'm a teacher and am making a spreadsheet to keep track of students scores. I've done everything I need but am stuck on 1 thing. Here is a picture of my numbers file so far:
    http://www.flickr.com/photos/app02drm/3424796516/
    My problem comes to the last column. I want the cell to go red if the student doesn't hit their target, yellow if they hit it or green if they exceed it. At the moment, the cell does a vlookup to convert the percentage in the previous column to the grade. I've then had to go through and look at each students grade and say, if they get a E, go red, if they get a D, go red, if they get a C, go yellow etc. This is OK for 15 students but when I have 150, I don't want to do it like that.
    Is there anyway I can compare the data in other cells and use that to change the colour of the cell containing the grade?
    Thanks for your help,
    Dean

    Hi Jerry,
    Thanks for your answer. I think I maybe didn't make myself clear with what I'm asking!
    What I'd like to do is compare the value in the final column, which is either a U, E, D, C, B or A with that in the target column, again either a U, E, D, C, B or A. If the grade they get is below the target, I'd like the cell to go red, if they get the same value in the 2 cells, I'd like the final cell to go yellow. If they beat their target (so they get an A when their target is a B), I'd like the cell to go green.
    As I said in my original post, I've done the conditional formatting for each student, so If their target is an E, I've a rule that says if they get an U, the cell goes red, another rule that says if they get an E, the cell goes yellow, a third rule that says if they get a D, the cell goes green etc.
    This is OK for 15 students, but to do this for 150 students would take a huge amount of time. What I'd like is to have a rule which compares the value in the final cell with that in the target column and then formats the cell depending on the answer.
    In other words, 1 rule that says if their grade in the final column is less than that in their target column- make the final cell red. Another rule that says if the grade in the final column equals that in their target column, the cell goes yellow and if the grade in the final column is higher than that in the target column, the final cell goes green. That way I don't have to sort the rule out for each student but because it is comparing 2 values the same rule can be used for all students.
    Does my question now make sense? I hope so!
    Thanks again,
    Dean

  • Is it possible to populate cell A with the formula in cell B as opposed to the value of the formula in cell B dynamically?

    Hello,
    I am wondering if the following scenario is possible:
    Cell B contains a formula which refers to a number of other cells.
    Cell A refers to Cell B such that the formula in Cell B is applied in Cell A.
    I am aware that I can copy and paste, but I am wanting to do this dynamically, for the following reason.
    In order to avoid constructing a very complicated formula which involves lots of tricky IF functions, I use a formula with a chain of simpler IF functions, such as follows:
    =IF(A1=1,B1,IF(A1=2,B2,IF(A1=3,B3,IF(A1=4,B4,IF(A1=5,B5,IF(A1=6,B6,IF(A1=7,B7,"" )))))))
    Then in B1-B7 I include the complicated formulas, and depending on which value is actually in cell A1 that particular formula is applied in the cell (i.e the cell is populated with the respective formula).
    Is it possible to use Numbers in this way, or if not, is there another way of achieving my goal (i.e. to avoid having to construct one very long and complicated formula)?
    Thanks,
    Nick.

    It depend of what you want to achieve.
    Here, in standard cells of column B the formula is :
    =IF($A=1,C,IF($A=2,D,IF($A=3,E,IF($A=4,F,IF($A=5,G,"")))))
    Here, in standard cells of column C the formula is :
    =$A*10
    Here, in standard cells of column D the formula is :
    =$A^2
    Here, in standard cells of column E the formula is :
    =$A*12345
    Here, in standard cells of column F the formula is :
    =$A+10000
    Here, in standard cells of column G the formula is :
    =20000-$A
    Here, in standard cells of column H the formula is :
    =OFFSET($A$1,ROW()-1,A+1)
    Here, in standard cells of column I the formula is :
    =CHOOSE($A,C,D,E,F,G)
    Here, in standard cells of column J the formula is :
    =IF($A=1,$A*10,IF($A=2,$A^2,IF($A=3,$A*12345,IF($A=4,$A+10000,IF($A=5,20000-$A," ")))))
    As you see, the formulas used in column B,H, I, require the use of the columns C, D, E, F, G
    The one used in column I doesn't require these columns.
    When a task requires a complex formula, I often used the columna A thru G
    then when I'm sure that the formula in column B return behave exactly what I want, I replace in the formula of column B the references to columns C thru G by the formula embedde in the pointed columns minus the equal symbol.
    It's what I did to build the formula of column J.
    If you build the sample table, you will see that the formula in column I isn't perfect because it return a red triangle when the cell in column A is empty.
    I decided to leave it as is and created an enhanced synthetic formula for column K:
    =IFERROR(CHOOSE(A,$A*10,$A^2,$A*12345,$A+10000,20000-$A),"")
    As you see a single problem may receive different answers.
    Sometimes, one is clearly the best, sometimes it's matter of taste.
    Here my best choice would be the very last one which I added for column K.
    Yvan KOENIG (VALLAURIS, France) mardi 23 août 2011 16:44:11
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Check multiple cells for value and use if found

    Is it possible to check a range of cells to find one that is non-empty and then use that value to populate a different cell?
    Forumla would check the columns, "Day1", "Day2" and "Day3" and if any of them are non-empty, pick one of the non-empty cells and copy that value to the cell in column "HELPER".
    The formual would be in column "HELPER" and the result would look like:
    Day1
    Day2
    Day3
    HELPER
    Fred
    Fred
    Fred
    Mary
    Mary
    Cindy
    Cindy
    Cindy
    Thank you.

    Ha!
    Talking it thru here and in my head a few more times I figured it out.
    =IF ( NOT (ISBLANK(a2)), a2, IF ( NOT (ISBLANK(b2)), b2, IF ( NOT (ISBLANK(c2)), c2, "")))

  • How can I change the value in a stepper cell

    In Numbers 2.3 I was able to change the value in a stepper cell by highlighting the value and using the arrow keys to increase or decrease the value. This was a very easy way to input data. Numbers 3.0 when I do this is moves to another cell
    Is there a way to get the use of the arrow keys to change the values in 3.0?
    Thanks

    I use number to keep a running daily tally of the productivity of the members of my group. As each member performs certain tasks, all I had to do was click the up arrow and add to it. IE Jim made 4 widgets yesterday and then made 4 today, I would just hit the up 4 times total 8.
    I guess the good news is when I upgraded to Numbers 3.0, It did not delete Numbers 2.3
    I will continue to use 2.3 until it no longer works, I guess
    Thanks for the replies

  • How to fill column value of a matrix with specific color when there is no value in that specific cell?

    Hi All,
    I need to create a 5/5  matrix in SSRS report. The data will be :
    Col_Side   Col_Header   Col_data
    1                  1                1
    1                  1                 1
    1                  2                1
    1                  5                1
    1                  5                1
    1                  5                1
    2                  3                1
    2                  5                1
    3                  1                2
    3                  1                2
    3                  1                2
    4                   2               1
    4                   4               1
    5                   1               1
    5                   1               1
    5                   5               1
    So, the matrix column will be Col_Header and matrix row will be Col_Side and count(Col_data) will be on the data.
    Finally, it will create a 5 by 5 matrix with Count(Col_data) as its data for each combinations. If there is no combination (for ex: in the above data we do not have no combination of (1,3) , (1,4) , (2,1) etc..) then the matrix will be filling that corresponding
    cell with zero.
    Here I need to fill the cells with some colors based on some criteria.
    I need to fill (5,3), (5,4), (5,5) combination with "Red" color.  Like this , I need to give different colors in each of the cells. Here, (5,5) combination will be having 1 in its cell.  (5,4) and (5,3) will be having zero in its corresponding
    cells. I 'm trying to fill all the 3 cells with "Red" color. But, I am able to fill only (5,5) with "Red" color. Since the other 2 cells (5,3) and (5,4), has zero in their cells, it will not fill the cells with "Red" color. 
    How can I fill those two cells (5,3) and (5,4) with red color?
    I know this is very vague. I have no option to give the picture here..
    Please suggest

    Hi Julie,
    According to your description, there is a 5/5 matrix with three fields: Col_Side, Col_Header, Col_data. You drag Col_Side field to Rows, Col_Header to Columns and Col_data to Data, then filling blank cells with zero using expression. Now you want to fill 
    (5,3), (5,4), (5,5) cells with red color using expression, but it has no effect on cells (5,3) and (5,4).
    According to my test, the expression has on effect on cells (5,3) and (5,4) since there is no corresponding data and the cells are blank. As a workaround, we can insert data for cells (5,3) and (5,4) in dataset, then use expression by following steps:
    In the dataset, insert two sets of data (5,3,0), (5,4,0).
    Right-click the cell of data, click Text Box Properties.
    Click Fill in left pane, click (fx) button, then type the expression like below, then click OK.
    =iif(Fields!Col_Side.Value=5 and Fields!Col_Header.Value >=3 ,"red","white" )
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Different JComboBox in different Cells in a JTable

    Hi:
    I would like to make a JTable whose content would be several JBox with different values each one. That is to say, a double-column table with the value name in the first column and a range of possible values in the second column,
    Despite my efforts I was not able to do that. Every example that I found in the Web does not let different JComboBox per cell. They run with the same cell and values for each column.
    Can anybody help me?
    Thanks in advance.
    Carlos

    Here is an example that is based on camickr´s example:
    import javax.swing.DefaultCellEditor;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.*;
    import java.util.*;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.table.*;
    import javax.swing.JTable;
    import java.util.ArrayList;
    import javax.swing.DefaultCellEditor;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    public class TableCell extends JFrame
         JComboBox comboBox1 = new JComboBox();
         JComboBox comboBox2 = new JComboBox();
         JTable table;
         ArrayList<DefaultCellEditor> editors = new ArrayList<DefaultCellEditor>();
         TableCell()
              comboBox1.addItem("Tennis");
              comboBox1.addItem("Fotboll");
              comboBox1.addItem("Baseball");
              comboBox1.addItem("Handboll");
              comboBox2.addItem("USA");
              comboBox2.addItem("Brazil");
              comboBox2.addItem("Australia");
              comboBox2.addItem("China");
              comboBox2.addItem("Egypt");
              DefaultCellEditor dce1 = new DefaultCellEditor(comboBox1);
              DefaultCellEditor dce2 = new DefaultCellEditor(comboBox2);
              editors.add(dce1);
              editors.add(dce2);
              final JTable table = new JTable()
              { // anonym innerklass
                   private Class editingClass;
                   public TableCellRenderer getCellRenderer(int row, int column)
                        editingClass = null;
                        int modelColumn = convertColumnIndexToModel(column);
                        int modelRow = convertRowIndexToModel(row);
                        if (modelColumn == 1)
                             Class rowClass = getModel().getValueAt(row, modelColumn).getClass();
                             return getDefaultRenderer( rowClass );
                        else
                             return super.getCellRenderer(row, column);
                   public TableCellEditor getCellEditor(int row, int column)
                        editingClass = null;
                        int modelColumn = convertColumnIndexToModel(column);
                        int modelRow = convertRowIndexToModel(row);
                        if (modelColumn == 1)
                             if (modelRow == 5)     // cell number 5 in column 1 which is going to show the combobox
                                  return (DefaultCellEditor) editors.get(0);
                             if (modelRow == 6)     // cell number 6 in column 1 which is going to show the combobox
                                  return (DefaultCellEditor) editors.get(1);
                             else
                                  editingClass = getModel().getValueAt(modelRow, modelColumn).getClass();
                                  return getDefaultEditor( editingClass );
                        else
                             return super.getCellEditor(row, column);
              table.setModel(new javax.swing.table.DefaultTableModel
                   new Object [][]
                          {"String", "I'm a string"},
                        {"Date", new Date()},
                        {"Integer", new Integer(123)},
                        {"Double", new Double(123.45)},
                        {"Boolean", Boolean.TRUE},
                        {"Combobox 1", "COMBOBOX 1"},
                        {"Combobox 2", "COMBOBOX 2"}
                   new String [] { "Attribute", "Data" }
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
         public static void main(String[] args)
              TableCell frame = new TableCell();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • Edit JTable Date Cell, press Enter, the Time Cell changes to GMT time!

    Has anyone seen this strange behavior? I try to edit a Date Cell in JTable (orig. value 10/02/2000) and change it to (10/03/2000), I press Enter. But, the value of my Time Cell in the next column, same row which I never edited (orig. value 00:05:00) changes to approximately my system time in GMT (16:28:48).
    This is an excerpt from my TableModel which get called from setValueAt():1734 javax.swing.JTable, JTable.java. In the code below, the debug statement prints out:
    row, col = 0,0
    Value in SubTableModel = 10-02-2000 16:28:48
    Value should be "10-02-2000" since I did not edit the time cell at all. And why is row and col both zero?
    public void setValueAt(Object value, int row, int col) {
    try {
    ((ITableCellAdapter)adapters.get(col)).setData(getRow(row),col);
    System.out.println("row, col = " + row + col);
    System.out.println("Value in SubTableModel = " + value.toString());
    ((ITableCellAdapter)adapters.get(col)).setValue(value);
    catch (PropertyVetoException badSet) {
    System.out.println("could not set value");
    fireTableCellUpdated(row,col);
    How can I force it to set the date cell's new value only and leave the time cell alone?
    I've also seen that sometimes my date entry gets lost, the old value still showing, what am I doing wrong? I've seen a bunch of bug parade listings about terminating edits within a JTable being buggy, is this related?
    Any help on this is most appreciated!

    Did you find the solution to yuor problem?
    Has anyone seen this strange behavior? I try to edit
    a Date Cell in JTable (orig. value 10/02/2000) and
    change it to (10/03/2000), I press Enter. But, the
    value of my Time Cell in the next column, same row
    which I never edited (orig. value 00:05:00) changes to
    approximately my system time in GMT (16:28:48).
    This is an excerpt from my TableModel which get called
    from setValueAt():1734 javax.swing.JTable,
    JTable.java. In the code below, the debug statement
    prints out:
    row, col = 0,0
    Value in SubTableModel = 10-02-2000 16:28:48
    Value should be "10-02-2000" since I did not edit the
    time cell at all. And why is row and col both zero?
    public void setValueAt(Object value, int row, int
    nt col) {
    try {
    ((ITableCellAdapter)adapters.get(col)).setData(getRow(
    ow),col);
    System.out.println("row, col = " + row +
    + row + col);
    System.out.println("Value in SubTableModel = "
    del = " + value.toString());
    ((ITableCellAdapter)adapters.get(col)).setValue(value)
    catch (PropertyVetoException badSet) {
    System.out.println("could not set value");
    fireTableCellUpdated(row,col);
    How can I force it to set the date cell's new value
    only and leave the time cell alone?
    I've also seen that sometimes my date entry gets lost,
    the old value still showing, what am I doing wrong?
    I've seen a bunch of bug parade listings about
    terminating edits within a JTable being buggy, is
    this related?
    Any help on this is most appreciated!

  • Saving table cell editor value when switch to other cell

    Hello,
    I have the code below to allow user entering integer values in a table cell. What I want is that if the user switch to an other cell than I want to save the editor value. It works fine if the user press the Enter button, but how can I do this when user clicks or press tab, arrow to switch to an other cell?
    public class IntegerEditor extends AbstractCellEditor implements TableCellEditor, ActionListener{
         JFormattedTextField component = new JFormattedTextField(NumberFormat.getIntegerInstance());
         public IntegerEditor(){
              component.addActionListener(this);
                                              component.setBorder(null);             
         public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
                          if (value != null)  component.setValue(value);
                          return component;
         public Object getCellEditorValue() {
              return Integer.valueOf(component.getValue().toString());
         public void actionPerformed(ActionEvent e) {
              fireEditingStopped();
    }

    Hello camickr,
    I add a column to the table with the function see below.
    With this sollution I the cell value saving is working fine, but it accept string vales for me :(
    If I use the JFormattedTextField than it accepts only integers but I have the original problem. I'm using fireEditingStopped(); in the focusLost method but it has no effect.
    What do I wrong?
    public TableColumn addNewIntegerColumn(java.lang.String caption, int width, boolean fix) {
          //Switch off AutoCreate
          this.setAutoCreateColumnsFromModel(false);
          //Create a new Column
          TableColumn col = new TableColumn(dataSheet.getColumnCount(),width,new LabelRenderer(),this.getDefaultEditor(Integer.class) );
          //Set column header
          col.setHeaderRenderer(new HeaderRenderer());
          col.setHeaderValue(caption);
         if (fix) col.setResizable(false);
          col.setPreferredWidth(width);
          //Add column to the table
          this.addColumn(col);
          //Add column to the model
          dataSheet.addColumn(caption);
          return col;
    }

  • A different cell renderer for the root node ??

    Is it possible to use one cell renderer for the root and a different cell renderer for the other nodes ?
    Thanks.

    Well I tried that and it didn't work.I do it without any problems so what how did you do it?
    Hint - in the renderer compare tree.getModel().getRoot() with the value using == .
    >
    Basically I have a checkbox at each node. So, I tried
    setting the checkbox invisible for the root. Hard work! Since you are just wanting to change the rendering rule for the root you should change the renderer.
    >
    But then all the nodes have an invisible
    checkbox.............................

  • How 2 assgin a character value to the auxillary cell

    Hi,
         I'm assigning a character value to the auxiliary cell in the macro. But it gives me a dump. So do let me know can I assign a character value to the auxiliary cell ( I need to display this value for the alert text).
    Thanks,
    Siva.

    Why are you trying to use a character in the planning book - why not a representative value in numbers
    but if you HAVE to use characteristic then you can also try to use the notes functionality (right click on a cell and go to notes if you have not seen this )
    These notes are usually anchored to a cell. These notes are stored in a table (check in se 16 with wildcard on notes ) and is associated to the value of a cell
    So if you can reference a cell value and put in the conditons to the values on it you might be able to manipulate the values in the table for notes and this will cause the notes in the interactive planning boo to change accoring to the value of the cell

  • Multiple values in a single cell in report !!

    Hello,
    I want to display multiple values in a single cell, each value separated by comma.
    Ex: I have Employee and Department.
    If a employee works for many departments, all the Department names should be displayed in the same cell in the report.
    Please help !

    Thanks for your replies !
    Is there any other way to achieve this ?
    There is 1 InfoObject which has 2 fields Employee and Department.
    Employee     Department
    001                A
    001                B
    001                C
    In the report there should be 1 row for Employee 001 with all the Departments displayed in the same cell separated by commas.
    Can this be done in the backend through a ABAP code?

  • A problem to get the value of a selected cell

    Hi all,
    I am trying to get the value of a cell in JTable. The problem that I have is ListSelectionListener only listens if the selection changes(valueChanged method).
    It means that if I select apple then rum, only rowSelectionModel is triggered, which means I do not get the index of the column from selectionModel of ColumnModel.
    apple orange plum
    rum sky blue
    This is a piece of code from JTable tutorial that I modified by adding
    selRow and selCol variables to keep track of the location so that I can get the value of the selected cell.
    Thank you.
    if (ALLOW_ROW_SELECTION) { // true by default
    ListSelectionModel rowSM = table.getSelectionModel();
    rowSM.addListSelectionListener(new ListSelectionListener() {
    public void valueChanged(ListSelectionEvent e) {
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    System.out.println("No rows are selected.");
    } else {
    int selectedRow = lsm.getMinSelectionIndex();
    selRow = selectedRow;
    System.out.println("Row " + selectedRow + " is now selected.");
    else {
    table.setRowSelectionAllowed(false);
    if (ALLOW_COLUMN_SELECTION) { // false by default
    if (ALLOW_ROW_SELECTION) {
    table.setCellSelectionEnabled(true);
    table.setColumnSelectionAllowed(true);
    ListSelectionModel colSM = table.getColumnModel().getSelectionModel();
    colSM.addListSelectionListener(new ListSelectionListener() {
    public void valueChanged(ListSelectionEvent e) {
    //Ignore extra messages.
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    System.out.println("No columns are selected.");
    } else {
    int selectedCol = lsm.getMinSelectionIndex();
    selCol = selectedCol;
    System.out.println("Column " + selCol + " is now selected.");
    System.out.println("Row " + selRow + " is now selected.");
    javax.swing.table.TableModel model = table.getModel();
    // I get the value here
    System.out.println("Value: "+model.getValueAt(selRow,selCol));
    }

    maybe you can try with :
    table.getSelectedColumn()
    table.getSelectedRow()
    :)

  • Value of the previous cell when I double click a cell in ALV Grid.

    Hi !
    Suppose I have an internal table GT_ITAB and I use ALV Grid to print it on the screen. The colums are as below:
    Invoice No       Invoice Data        Customer No     Amount
      90001231        15.01.2009            100024             5
    Customer No Fields is Hot Spot and when I click it uses Call Transaction 'FD10N' and Skip First Screen.
    But the Problem is that :
    Callback subroutine that is defined for  "i_callback_user_command" receives the input and
    p_selfield type slis_selfield structure has the value by means of  p_selfield-value.
    Problem : How can I get also the value of Invoice Data Cell. I need "15.01.2009" to set the Year field of FD10n.
    I know that it is possible because SAP has examples of it.
    Please advice.
    Erkan VAROL.

    Hi ,
      In teh structure slis_selfield  there is a field tabindex , you can get the index of the record selected from this field and use this to read the internal table being displayed in the alv to get the entrired row.
    Regards
    Arun

Maybe you are looking for

  • Strange error while scheduling but can see the scheduled report

    Hi,   When I schedule a Deski Report from my Favorite folder to my repository folder the instance fails and has this error message destination DLL disabled. []: [CrystalEnterprise.Smtp] . But when I see inbox I can see the report scheduled in require

  • I keep getting error messages: "Untrusted Connection" when tying to open MOOLA, Gamesvile, & Netflix. How do I remedy this?

    For 3= weeks now, I have trie to open up MOOLA, and keep getting an error message stating that it is an untrusted. Today I tried to open Gamesville & Netflix, and am getting the same error message on those two sites.

  • PowerPivot for SharePoint 2013 Configuration not starting

    Dear, I have Windows 2008 R2 SP1 (up to date version) SQL Server 2012 SP1  PowerPivot For SharePoint (11.1.3000.0 -> the number is from the control Panel) But I try to run the command PowerPivot for SharePoint 2013 Configuration, the wizard is not st

  • Re-linking songs to moved files

    Because my laptop was running out of space I had to move many of my music files to an external drive. Obviously I can't play those files which featured in my iTunes playlists unless I reconnect them. Is there any automatic way that iTunes can relocat

  • Bc4j delete operation persistes

    Hi I'm using JDeveloper 10g to make an application that uses bc4j. I have table with records from a database table and when i pressed the delete button for the desired record it deletes the record indeed, but when the browser is redirected to the tab