Obtener tus datos de uno Google Sheet from one sheet to another can seem confusing at first. But while it might appear complex, it’s actually easy to learn with the right examples. That’s why we created this article to help you learn how you can import all or part of your Google Sheets data from one sheet to another.
We have gathered formulas from the simplest to advanced, including a way to pull all your data without getting lost in the rants of Google Sheet data formulas. We focused on three ways to help you, which will tackle how to pull your Google Sheets data from three different areas of your Sheets. These areas include:
- Importing data from specific cells within the same worksheet
- Pulling data from other tabs (sheets) within the same document
- Importing Google Sheets data from a completely different spreadsheet
Así que, revisémoslas ahora.
Table of Contents
Simple Formulas for Easy Imports
These are the most basic formulas that are still helpful when you want to source some of your data from your worksheets. While they are so simple, they form the basis of other core functions in Google Sheets data. So, skip to the other sections if you don’t need a refresher.
The best thing about them is that you can replicate them to other cells without doing the manual process of copying, pasting, and modifying your formulas into every cell that you want to reference from.
¡Así que ahora revisemos las fórmulas!
=ReferenciaDeCelda
Si deseas obtener datos de una celda específica en una hoja de trabajo, puedes usar una fórmula de referencia de celda directa para obtener su valor. Por ejemplo, si deseas obtener datos de B3, usarás =B3 in the cell where you need the data. Once you hit enter, your cell value will be imported.
Don’t know how you will replicate a formula into a range of cells in your Google Sheets data? Follow this procedure:
- Coloca el cursor en la celda de tu hoja de destino de datos que ya contiene tu fórmula.
- Luego, arrástralo en la dirección que desees para colocar tu rango.
- ¡Y eso es todo! Tu fórmula ahora se ajustará automáticamente al rango extendido.
=NombreDeLaHoja!ReferenciaDeCelda
El =nombredelahoja!referenciadecelda formula is a Google Sheets function that imports a cell value from a cell in another sheet (tab) on the same document.
Por ejemplo, si deseas obtener los nombres de los estudiantes de otra hoja dentro del mismo documento, utilizarás =Estudiantes!B3. Eso significa que queremos el valor de la celda B3 en la hoja de los Estudiantes hoja.
Nota: Put the name of the sheet in single quotes if it has spaces or other special characters, like “!”, “:”, “;”, “&”, “*”, etc., i.e., =’Student List’!B3
={RangoDeReferencia}
If you need to import a specified range of Google Sheets data, you’ll use the ={RangoDeReferencia} fórmula. Por ejemplo, ={A1:A4} will take data from A1 to A4 and map it out to your sheet.
You can also use this formula to import data from another sheet in your workbook. For the above example, if the Google Sheets data were in the Students sheet, we would use ={Estudiantes!A1:A4}.
Nota: Put the name of your sheet in single quotes if it has spaces or other special characters.
={NombreHoja!RangoColumna}
Cuando quieras importar toda una columna a tu libro de trabajo, puedes usar la referencia de columna en lugar de la referencia de celda con las fórmulas anteriores. Así es como puedes hacerlo: ={Estudiantes!A:A}. Esta fórmula importará toda la columna a tu hoja.
Puedes usarlo para duplicar una columna dentro de un libro de trabajo simplemente usando esta fórmula con ={A:A}.
Advanced Formulas to Import Your Google Sheets Data
Let’s now explore more dynamic ways to import Google Sheets data, especially useful when working with filters or different documents.
Usando la función Filter para importar datos de una hoja de Google a otra basada en criterios
The Google Sheets FILTER function is one of the most frequently used functions in data operations. How it works is simple: it filters out subsets of data from a specified range using the criteria provided. But how can you use it to import data from other sheets? Let’s find out:
Note: The FILTER function and the funcionalidad de filtro en Google Sheets no son lo mismo!
Sintaxis:
=FILTER(data_set,condición1, condición2,...)
Dónde:
rango_de_datos es el rango de celdas a filtrar.
condición es un criterio para el rango de celdas que devuelve TRUE o FALSE para la función Filter.
Por ejemplo, para importar datos de otra hoja utilizando la función FILTER, lo harás de esta manera:
=filter(
'Dataset from Google Analytics'!C2:C,
'Dataset from Google Analytics'!F2:F>5)
This formula will return all the fields from a Google Sheets data tab with the name ‘Dataset from Google Analytics.’ The data to be loaded is in column C, desde C2 hasta la última celda, donde F2:F es mayor que cincoEste ejemplo es simple con una condición de filtro que utiliza operadores de comparación simples como >, =, y <.
Aunque es poderoso, también puedes anidar condiciones y hacerlo tan complejo como sea necesario. También puedes usar el REGEXMATCH función para hacerlo más funcional.
Si necesitas un ejemplo detallado de la FILTER función, consulta esto artículo.
Importing data from external spreadsheets with ImportRange in Google Sheets
The easiest way to import data from one Google Sheet to another is to use the IMPORTRANGE función. Si tienes datos en hojas separadas, la fórmula ImportRange puede ayudarte a importar tus datos en cuestión de segundos.
So, to import your data from another Google Sheets data document, let’s follow along with an example.
¿Listo? Comencemos.
La sintaxis para la fórmula ImportRange:
=IMPORTRANGE("URL", "NombreDeLaHoja!Rango")
URL es el enlace a la hoja de cálculo de Google para obtener tus datos
NombreDeLaHoja es el nombre de tu hoja si tienes más de una en tu libro de trabajo.
Rango es el rango de celdas que deseas importar a Google Sheets.
Por ejemplo:
Para importar las celdas D2 hasta la última celda en esa columna desde la primera hoja de otro documento de Google Sheet, utilizaremos la fórmula de esta manera:
=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1Epmja02CeyXMiyBEuvGg8J_LAqjgaZWiGjEL3gqjCZw/edit#gid=1264662665","!D2:D")
Nota: The ImportRange formula has too many drawbacks with serious issues like reduced performance and usage limits that you should note when handling large datasets. Learn more about las mejores prácticas de ImportRange y sus limitaciones aquí.
Usando Dataslayer para Google Sheets
As we have checked the Google Sheets functions above, they are great and can help you solve most of your data imports and calculations. However, sometimes, these processes become repetitive or confusing, so you would want a tool to make it a breeze.
Maybe you want to use advanced functionality that you could not achieve with Google Sheets formulas alone. Perhaps you also want to pull all your data to Google Sheets from different sources for reporting, and Google Sheets functions couldn’t be that efficient or effective for your needs.
So, you need a robust tool to help you where the functions cannot be surpassed. Using a tool like Dataslayer for Google Sheets to import all your Google Sheets data and across 40+ other data sources is perhaps the easiest and most effective solution for you.
And the most effective way to import your Google Sheets data into another sheet is to use Dataslayer for Google Sheets. If you have not yet set it up, here’s the process:
- En Google Sheets, haz clic en Extensiones en la barra de menú, pasa el ratón sobre Complementos, y haz clic en Obtener complementos.
- Finalmente, toca el ícono de búsqueda y busca Dataslayer.
- En la lista de búsqueda, selecciona Dataslayer y haz clic en Instalar.
Guía para empezar:
Once you have set it up, you will see Dataslayer is now added to your list of extensions. Click on it to launch it on the sidebar. Then select Google Sheets data as the source.
After selecting Google Sheets, you’ll be prompted to enter the URL for the sheet you want to import your data from. So, paste the link under la configuración del informe campo y haz clic en Obtener datos a la tabla.
¡Y eso es todo! Puedes personalizar tus datos importados con el campo de opciones. También puedes programar una actualización automática para mantener la frescura de los datos y recibir un correo electrónico para obtener tus actualizaciones cada vez que los datos se actualicen.
FAQs: Google Sheets Data Imports
1. Can I import only certain columns from another tab?
Yes, use {SheetName!A:A, SheetName!C:C} to combine multiple specific columns.
2. How often does IMPORTRANGE update?
Roughly every 30 minutes. This frequency may vary slightly depending on Google’s internal caching and activity levels within the source spreadsheet.
3. Why is my IMPORTRANGE not working?
You may need to allow access to the source spreadsheet. Make sure both sheets are accessible.
4. Can I import filtered data from another sheet?
Yes, using FILTER() or Apps Script, you can bring in filtered Google Sheets data.
5. How do I import data from multiple sheets at once?
Use multiple IMPORTRANGE() functions or consolidate with Dataslayer.
Conclusión
Importing your Google Sheets data to another sheet can be straightforward for simple references. However, complexity can arise when you need to do it for multiple sheets with large rows of data.
We have discussed enough options for you to accomplish your Google Sheets data imports for all your data, large or small.
If you are a regular Google Sheets data user, a tool that will help you interconnect your sheets is indispensable for any data operation. No wonder, many Google Sheets users will choose Dataslayer to make their data analysis faster and more efficient.
Entonces, ¿estás listo para probar Dataslayer today? Join hundreds of others who have already found value from this powerful Google Sheets data tool.