reading values each column 2

Hi all

I went through the directory of formulas and functions to solve my problem, but I couldn't write the thing properly using the functions of references.

I have about 20 rooms (and more to come), and each room has different water meters.

For the moment, I have read only a meter of each room. In the future I might have to read several in each room.

What I have is:

  • each column is a room; name of the room in the head line
  • Under the name of each room are 2 columns: 1 for the global counter of the room, one for the specific counter
  • months, the lines are

What I want to do is:

read the value of a specific counter in each room and work it thoroughly the cost price unit in the fee table.

In my case, this means:

-go and read the value in the column-specific counter and insert it using calculation in the table of costs.

-do it again in the next room (C + 2 column) and put it in the C + 1 table of costs.

I tried to use the ADDRESS SEARCH function, ODD, etc, but I couldn't find my way to extract value all 2 columns in a table and insert it in every column in a table.

If anyone is familiar with this, I'm all ears...

Thank you very much for taking the time to read.

Lopez

PS: Since 1 room can contain several meters and therefore columns, it would be smarter to rooms in the lines and the months in columns...?

Hey Lopez,

Your merged cells as column headings are probably complicate things. The numbers does not do well with merged cells.

If your counters are marked Global1, Meter1, bad2 metre2 it would be easy to find. You may need to Meter1.1, Meter1.2, if multiple counters in a room.

I like to use INDEX MATCHES for my search needs. If you have specific questions Asur applying this to your table from the report itself, just give more details about what you need.

Quinn

Tags: iWork

Similar Questions

  • read the max and min of each column value

    Dear qudoe

    I'm doing a program in labview that challenge me to fight with a time.

    Here, I enclose my labview code in which I have a data file, which includes 500 columns that I need to find the values min and max of each column.

    I tried my best, but it takes 30 seconds to find the min and max value of each column.

    I want to do this in less than a second.

    so can anyone suggest me any necessary correction that can stimulate my program.

    You don't have to open and close the file in a loop all the time and also you don't really need some time for this. Check the related code.

    Of course, you can still optimize it for best performance, I just did a quick project to show how simple it is.

  • Max and Min value for each column

    Hello!

    Can someone help me to change my. VI? I want to get the Min and Max value for each column in the table in the appendices. Then I need to create two tables 1 d - the first with the min and the second with the max value.

    I've already solved the problem the solution is below

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • How to find the value duplicate of each column.

    I have it here are four columns,
    How can I find the duplicate of each columns value.

    with All_files like)
    Select ' 1000 'like BILL, "2000" AS DELIVERYNOTE, CANDELINVOICE ' 3000', '4000' CANDELIVERYNOTE of all union double
    Select ' 5000 ', ' 6000', ' 7000 ', ' 8000' Union double all the
    Select '9000 ', '1000', '1100',' 1200' from dual union all
    Select ' 1200 ', ' 3400', ' 6700 ', ' 8790' Union double all the
    Select ' 1000 ', ' 2000', ' 3000 ', ' 9000' Union double all the
    Select '1230', '2340', ' 3450 ', ' 4560' double
    )
    SELECT * from All_files


    Output should be as shown below.

    1000 2000 3000 4000
    9000 1000 1100 1200
    1200 3400 6700 8790
    1000 2000 3000 9000

    Required to check uniqueness columns.

    Thank you.

    Hello

    If you are not too concerned about performance, this should give you the desired result:

    SELECT distinct INVOICE, DELIVERYNOTE, CANDELINVOICE, CANDELIVERYNOTE
    FROM (
      SELECT a.*,
             count(*) over(partition by t.column_value) cnt
      FROM All_files a,
           table(
             sys.odcivarchar2list( a.INVOICE
                                 , a.DELIVERYNOTE
                                 , a.CANDELINVOICE
                                 , a.CANDELIVERYNOTE ) ) t
    )
    WHERE cnt > 1
    ;
    
  • Count values not null for each column in a database

    Hello

    I need to write a routine that counts how many values a not null for each column in a database.
    The first idea would be to loop on all_tables / all_tab_cols and write a select statement as
    EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM '||table_name||' WHERE '||column_name||' IS NOT NULL' INTO v_count;
    However, this would mean a complete table for all columns not indexed scan. It's about when I have a maximum of 59 columns for a table with millions of rows.

    A better idea? I don't have the exact number. For example, for the number of rows in a table, I just use all_tables.num_rows.

    Concerning
    Marcus

    Ask the NUM_NULLS of the ALL_TAB_COLS column (and subtracting the total of the lines).

  • read only one column in a table

    There is a column not null (i.e. SEQ) in a tabular form that becomes an automatic value of other processes. 2 columns need more user on each line input. I need to do this (SEQ) column read-only.
    If I do this column (SEQ) as a standard report column, then when I submit the newly added line, I still get the error ORA-20001 - can not insert NULL f... Although I can see there is a value y. column of the island switch to the text field, the insert went very well.

    How do you solve this read only number column?



    Thanks a lot for your help.



    Tai

    Put just the following in the attributes of the item in your column:

    readonly="readonly"
    

    and make the column readonly.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • extracting columns of string array 2D according to the first item of each column

    Hello

    I have an array of strings 2D and I want to extract the columns according to the string value to items in each column to formulate a new 2D array. for example:

    in the joint excel table sheet a 2D. I need to extract all contain columns "CA/S -" string and "MS/s" to formulat + another array of strings 2D form columns that contain only 2 string values.

    Thank you very much and I would reaally any input apperciiate

    See you soon,.

    Mostafa

    Something like that?  I had to convert your Excel file into a CSV file.

  • change the color of line based on the value of column 5 Apex in the classic report

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Hello

    I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.

    I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.

    I am new to jscript and css, so appreciate if someone can tell me the solution with steps.

    I have already checked this link that changes the value of the column, need to do something similar to the whole line.

    https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/

    Hi coolmaddy007-Oracle,.

    Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Here is how it is done:

    Create a dynamic action with the following specifications:

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $('td[headers="JOB"]').each(function() {
      if ( $(this).text() === 'MANAGER' ) {
        $(this).closest('tr').find('td').css({"color":"red"});
      }
      if ( $(this).text() === 'SALESMAN' ) {
        $(this).closest('tr').find('td').css({"color":"green"});
      }
      if ( $(this).text() === 'CLERK' ) {
        $(this).closest('tr').find('td').css({"color":"blue"});
      }
    });
    

    NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.

    Items concerned: leave blank.

    PS: Changed the example to change the color of text instead of the background color.

    I hope this helps!

    Kind regards

    Kiran

  • Divide the values of a single column into multiple values of columns

    I want that the values of the "col_val" column to divide into several values in the column

    Table1:

    Col_val Col1, Col2

    Code1 POINT 45

    L2 AB 45

    L1 POINT 45 OF

    Code2 CAB 61

    ABC 51 LABORATORY

    SSS LAB 45

    QQQ BED 123

    BBV COT 100

    FFF COT 444

    Output as expected:

    OUT1 out2 out3-out4, out5

    Code1 AB SSS

    L1

    Code2

    ABC

    QQQ

    BBV

    FFF

    Each line must contain the values corresponding to the Col2 values and each column must have the values in Col1, as illustrated above.

    SQL> with t
      2  as
      3  (
      4  select 'Code1' col_val, 'ITEM' col1, 45 col2
      5    from dual
      6  union all
      7  select 'L2' col_val, 'AB' col1, 45 col2
      8    from dual
      9  union all
     10  select 'L1' col_val, 'ITEM' col1, 45 col2
     11    from dual
     12  union all
     13  select 'Code2' col_val, 'CAB' col1, 61 col2
     14    from dual
     15  union all
     16  select 'ABC' col_val, 'LAB' col1, 51 col2
     17    from dual
     18  union all
     19  select 'SSS' col_val, 'LAB' col1, 45 col2
     20    from dual
     21  union all
     22  select 'QQQ' col_val, 'COT' col1, 123 col2
     23    from dual
     24  union all
     25  select 'BBV' col_val, 'COT' col1, 100 col2
     26    from dual
     27  union all
     28  select 'FFF' col_val, 'COT' col1, 444 col2
     29    from dual
     30  )
     31  select max(col1)
     32       , max(col2)
     33       , max(col3)
     34       , max(col4)
     35       , max(col5)
     36    from (
     37            select decode(col1, 'ITEM', col_val) col1
     38                 , decode(col1, 'AB'  , col_val) col2
     39                 , decode(col1, 'LAB' , col_val) col3
     40                 , decode(col1, 'CAB' , col_val) col4
     41                 , decode(col1, 'COT' , col_val) col5
     42                 , t.col2 col_2
     43                 , row_number() over(partition by col2, col1 order by 1) rno
     44              from t
     45         )
     46   group
     47      by col_2, rno
     48   order
     49      by col_2;
    
    MAX(C MAX(C MAX(C MAX(C MAX(C
    ----- ----- ----- ----- -----
    Code1 L2    SSS
    L1
                ABC
                      Code2
                            BBV
                            QQQ
                            FFF
    
    7 rows selected.
    
    SQL>
    
  • How to add the action button for each column in the interactive report

    Hi all

    I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:

    1. to execute some stored procedure in need of that particular line item values

    2. returns a (id)

    3. go in another page in the application by passing the value out of the procedure (id).

    and I'm not find the way to do it. I tried now means:

    1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need

    2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...

    and I'm stuck...

    I just forms and global report and probably still think the "wrong" way .

    Any help would be appreciated!

    Thank you!!!


    user3253917 wrote:

    Please update your forum profile with a real handle instead of 'user3253917 '.

    I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).

    So, in order to give him:

    1. the user must be able to choose the order in which I would copy (at page 4), select it,

    2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)

    3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.

    Any solution will be highly appreciated! Thank you very much!!!

    In simple terms:

    1. Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
    2. On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
  • It should have read values in an openscript by reading csv

    Hello

    I'm working on OATS. I am a beginner.

    I have a csv file that contains data to select an openscript dynamically.

    for example:

    Col1 col2 col3 col4

    A               D             E                F

    B               C             G

    H                               I

    The data must be like that. Any number of values and any value in each cell for any column,

    The user should be able to change the number of values, and the values in each column before you reproduce openscript files.

    How to change the script to take the values dynamically from the csv file.

    I know data can be iterated using databases. This should not be iterated. All values must be selected at the same time, and the script should be run.

    Please explain in detail what changes to code that I have to do here.

    datatable.importExcel("C:/OracleATS/OFT/Advance Planning Data.xlsx", true);
    
             String colName = "bbb";
    
            String cellValue1 = datatable.getValue(0, colName).toString();
    
              int count=0;
    
                do{
    
                    info(cellValue1);
              count++;
              if(datatable.getValue(count, colName) == null){
                  break;
              }
              cellValue1 = datatable.getValue(count, colName).toString();
    
              }while(cellValue1!="");
    

    Try again with this...

    used according to the table, 1st rank in the header

    A B C D
    1 AAA BBB CCC
    2 A1 B1 C1
    3 A2 B2 C2
    4 A3 B3 C3
    5 A4 C4
    6 A5 C5
    7 A6 C6
    8 C7
    9 C8
    10

    Kind regards

    Dembélé M

  • DDL generation gets the CHECK constraint on each column in each table

    I'm exporting to the DDL and get:
    CHECK (phone_type ('FAX', 'HOTLINE', 'CONSUMPTION', 'PRIMARY', 'TTY_TDD')
    On EACH column of EACH table.
    Even in PHONE_TYPE column in the FACILITY_TELEPHONE_NUMBERS table, I deleted the list of values - I think I'll create a lookup table instead.

    Anyone have this happen to them? What do you have on this?

    You must edit the defaultdomains.xml file in the datamodeler\datamodeler\types directory.

    You should look for something similar in the definition of 'unknown ': domain

     
                
                
                
       
    

    remove it.

    Philippe

  • Multiple values per column in the stacked bar chart

    I want to use a bar chart stacked in a dashboard of the process, but I am wondering how I can add multiple values per column, because through the available methods, you can only add one value per column. I add some values to hardcode and I get the chart but, for example, I want to add series anocher in the table named 'Closed' and values for this in each column (January, February, etc.)

    Data source for filling
    result as a Fuego.Chart.DefaultXYDataSource
    result = Fuego.Chart.DefaultXYDataSource ("Opened");

    addValue result
    using
    value = 5,
    columnHeader = "January".

    addValue result
    using
    value = 10,
    columnHeader = "February".

    addValue result
    using
    value = 15,
    columnHeader = "March".

    addValue result
    using
    value = 7,
    columnHeader = "April".


    I enjoyed your collaboration if you have worked with graphics stacked bar.

    Hello

    You were very close.

    Try to use the Fuego.Chart.XYZDataSourceImpl object. This will give you the third dimension that your stacked bar chart needs and these attributes in the addValue method:

  • value
  • rowHeader (maybe that's where you set your month name)
  • columnHeader (maybe it's where set it to 'Open' or 'Closed' in your example)

    Dan

  • How to find the Maxima and Minima for each column of a 2D array?

    Hello

    I have a 2D chart and I would find the maxima and minima of each column of the 2-D table. Even though I know how to get maxima and minima for the whole picture but don't know how columnwise? Any ideas please?

    Thank you

    Rohit

    Hello

    @Smercurio-What you said is true, I should have shown using automatic indexing enabled which is really excellent choice. I just tried to show in a very simple way.

    Anyway, here's the best way

Maybe you are looking for