Obter seus dados de uma 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
Então, vamos conferi-los agora.
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.
Então, vamos agora conferir as fórmulas!
=ReferênciaDeCélula
Se você quiser obter dados de uma célula específica em uma planilha, pode usar uma fórmula de referência de célula direta para obter seu valor. Por exemplo, se você quiser obter dados de B3, você usará =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:
- Coloque o cursor na célula em sua planilha de destino de dados que já contém sua fórmula.
- Depois, arraste-o na direção que desejar para colocar seu intervalo.
- E é isso! Sua fórmula agora se ajustará automaticamente ao intervalo estendido.
=NomeDaFolha!ReferênciaDaCélula
O =nomedafolha!ReferênciaDaCélula formula is a Google Sheets function that imports a cell value from a cell in another sheet (tab) on the same document.
Por exemplo, se você quiser buscar nomes de alunos de outra folha dentro do mesmo documento, você usará =Alunos!B3. Isso significa que queremos o valor de célula B3 na a folha dos Alunos .
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
={IntervaloReferência}
If you need to import a specified range of Google Sheets data, you’ll use the ={IntervaloReferência} fórmula. Por exemplo, ={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 ={Students!A1:A4}.
Nota: Put the name of your sheet in single quotes if it has spaces or other special characters.
={NomeDaFolha!IntervaloColuna}
Quando você quer importar uma coluna inteira para sua planilha, pode usar a referência da coluna em vez da referência da célula com as fórmulas acima. Aqui está como você pode fazer isso: ={Students!A:A}. Esta fórmula irá importar a coluna inteira para sua planilha.
Você pode usá-la para duplicar uma coluna dentro de um workbook usando apenas esta fórmula com ={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 a função Filter para importar dados de uma planilha Google para outra com base em critérios
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 funcionalidade de Filter no Google Sheets não são iguais!
Sintaxe:
=FILTER(data_set, condição1, condição2,...)
Onde:
intervalo_de_dados é o intervalo de células a filtrar.
condição é um critério para o intervalo de células que retorna TRUE ou FALSE para a função Filter.
Por exemplo, para importar dados de outra folha usando a função FILTER, você fará assim:
=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, de C2 até a última célula, onde F2:F é maior que cinco. Este exemplo é simples, com uma condição de filtro que utiliza operadores de comparação simples como >, = e <.
Embora seja poderoso, você também pode aninhar condições e torná-las tão complexas quanto necessário. Você também pode usar o REGEXMATCH função para torná-la mais funcional.
Se você precisar de um exemplo detalhado do FILTER função, confira este artigo.
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 função. Se você tiver dados em planilhas separadas, a fórmula ImportRange pode ajudar você a importar seus dados em segundos.
So, to import your data from another Google Sheets data document, let’s follow along with an example.
Pronto? Vamos começar.
A sintaxe da fórmula ImportRange:
=IMPORTRANGE("URL", "NomeDaFolha!Intervalo")
Onde:
URL é o link para a planilha do Google Sheets de onde você vai obter seus dados.
NomeDaAba é o nome da sua aba se você tiver mais de uma em sua pasta de trabalho.
Intervalo é o intervalo de células que você deseja importar para o Google Sheets.
Por exemplo:
Para importar as células D2 até a última célula dessa coluna da primeira folha de outro documento do Google Sheets, usaremos a fórmula desta forma:
=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 as melhores práticas do ImportRange e suas limitações aqui.
Usando o 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:
- No Google Sheets, toque em Complementos na barra de menu, passe o cursor sobre Complementos, e clique em Obter Complementos.
- Por fim, clique no ícone de pesquisa e procure por Dataslayer.
- Na lista de pesquisa, selecione Dataslayer e clique em Instalar.
Guia para começar:
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 a configuração do Relatório campo e clique em Obter Dados para Tabela.
E é isso! Você pode personalizar seus dados importados com o campo de opções. Você também pode agendar atualizações automáticas para manter a frescura dos dados e receber atualizações por e-mail sempre que os dados forem atualizados!
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.
Conclusão
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.
Então, está pronto para experimentar Dataslayer today? Join hundreds of others who have already found value from this powerful Google Sheets data tool.