Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think that you have two years of information where the schema is identical (column C has the same type of information on both sheets). Also, I'm assuming that column B tracks the year.</p> <p>If so, consider holding all of your information on one sheet and and use the spreadsheet function "QUERY" to create views.</p> <p>For instance, this formula returns all the cells between A1:E from a sheet named "DataSheet" where the values in column B = 2010. </p> <p>=QUERY(DataSheet!A1:E; "SELECT * WHERE B = 2010";1)</p> <p>Sometimes there is a really good reason to have the data stored on two sheets. If so, use one of the vMerge functions in the script gallery to assemble a working sheet. Then create views and reports from the working sheet. </p> <pre><code>function VMerge() { var maxw=l=0; var minw=Number.MAX_VALUE; var al=arguments.length ; for( i=0 ; i&lt;al ; i++){ if( arguments[i].constructor == Array )l =arguments[i][0].length ; else if (arguments[i].length!=0) l = 1 ; // literal values count as array with a width of one cell, empty cells are ignored! maxw=l&gt;maxw?l:maxw; minw=l&lt;minw?l:minw; } if( maxw==minw) { /* when largest width equals smallest width all are equal */ var s = new Array(); for( i=0 ; i&lt;al ; i++){ if( arguments[i].constructor == Array ) s = s.concat( arguments[i].slice() ) else if (arguments[i].length!=0) s = s.concat( [[arguments[i]]] ) } if ( s.length == 0 ) return null ; else return s //s } else return "#N/A: All data ranges must be of equal width!" } </code></pre> <p>Hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload