Note: The other languages of the website are Google-translated. Back to English
Log in  \/ 
x
or
x
Inscreva-se  \/ 
x

or

Como aplicar rapidamente a fórmula a uma coluna ou linha inteira com / sem arrastar no Excel?

Às vezes, você pode precisar aplicar uma mesma fórmula a uma coluna ou linha inteira no Excel, como C1 = A1 * 2, C2 = A2 * 2..., Cn = An * 2. Será muito tedioso se você inserir a fórmula em cada célula, uma por uma. Existem algumas maneiras complicadas de aplicar rapidamente uma mesma fórmula a uma coluna ou linha de entrada.

Suponha que você precise aplicar a fórmula de = (A1 * 3 + 8) / 5 na coluna C e consulte os tutoriais a seguir para aplicar a mesma fórmula a toda a coluna C.


Aplicar a fórmula a uma coluna ou linha inteira arrastando a alça do Preenchimento automático

Arrastar a alça do Preenchimento automático é a forma mais comum de aplicar a mesma fórmula a uma coluna ou linha inteira no Excel.

Em primeiro lugar, digite a fórmula de = (A1 * 3 + 8) / 5 na célula C1 e, em seguida, arraste o identificador de preenchimento automático até o final da coluna C, então a fórmula de = (A1 * 3 + 8) / 5 é aplicado em toda a coluna C. Se você precisar aplicá-lo a toda a linha, você pode arrastar o identificador de preenchimento automático à extrema direita.
doc aplicar fórmula 02

Importante: Este método de controle de Preenchimento automático de arrasto requer cálculo de fórmula automaticamente. Você pode habilitá-lo clicando em Fórmulas> Opções de Cálculo > Automático. Veja a imagem abaixo:


Aplicar a fórmula a uma coluna ou linha inteira sem arrastar pelos teclados de atalho

Às vezes, a coluna à qual deseja aplicar a fórmula pode cobrir centenas de linhas e arrastar a alça de Preenchimento pode não ser conveniente. Na verdade, você e usa teclados de atalho para arquivá-lo facilmente no Excel.

Em primeiro lugar, selecione toda a coluna C, em segundo lugar, insira a fórmula = (A1 * 3 + 8) / 5, e depois pressione o botão Ctrl + entrar chaves juntas.

Se desejar aplicar a fórmula a uma linha inteira, você pode selecionar a linha inteira primeiro.

Copie fórmulas exatamente / estaticamente de uma coluna para outra sem alterar as referências de células no Excel

Kutools for Excel Cópia exata O utilitário pode ajudá-lo a copiar facilmente várias fórmulas exatamente sem alterar as referências de células no Excel, evitando que as referências de células relativas sejam atualizadas automaticamente. Avaliação gratuita de recursos completos por 30 dias!
fórmulas de cópia exata do anúncio 3

Kutools for Excel - Inclui mais de 300 ferramentas úteis para Excel. Teste gratuito completo por 30 dias, sem necessidade de cartão de crédito! Get It Now

Aplicar a fórmula a uma coluna ou linha inteira sem arrastar pelo recurso de preenchimento

Na verdade, há um Preencher na faixa de opções do Excel para ajudá-lo a aplicar a fórmula a uma coluna ou linha inteira rapidamente.

Em primeiro lugar, insira a fórmula = (A1 * 3 + 8) / 5 na Célula C1 (a primeira célula da coluna onde você inserirá a mesma fórmula), em segundo lugar, selecione a Coluna C inteira e clique em Página Inicial > Preencher > Para baixo.

Se você deseja aplicar a fórmula a toda a linha, basta inserir a fórmula na primeira célula de toda a linha, em seguida selecionar a linha inteira e clicar Home> Preencher > Certo.


Aplique a fórmula a uma coluna ou linha inteira sem arrastar pelo Kutools para Excel

Todos os métodos acima são para aplicar fórmulas a colunas ou linhas em branco. Às vezes, você pode precisar aplicar a mesma fórmula a uma coluna ou linha inteira com dados. Como processar? Você pode experimentar o Kutools para Excel Ferramentas de operação.

Kutools for Excel - Inclui mais de 300 ferramentas úteis para Excel. Teste gratuito completo por 30 dias, sem necessidade de cartão de crédito! Teste grátis agora!

1. Selecione a coluna ou linha com a qual você trabalhará (neste caso, selecione a Coluna A) e clique em Kutools > Mais > Operação.
doc aplicar fórmula kte 01

2. No Ferramentas de operação caixa de diálogo, selecione o personalizadas in Operação caixa, entre (? * 3 + 8) / 5 na caixa em branco no personalizadas seção e clique no OK botão. Veja a imagem:

E então toda a coluna é preenchida com a fórmula de = (? * 3 + 8) / 5, e o? refere-se ao valor na célula correspondente. Veja as imagens abaixo:
doc aplicar fórmula 11

notas:
(1) Se você marcar o Crie fórmulas opção, os resultados serão na forma de fórmulas para cada célula.
(2) Se o Pular células de fórmula opção estiver marcada, a operação irá pular e ignorar automaticamente as células da fórmula no intervalo selecionado.

A Ferramentas de operação pode realizar operações matemáticas comuns em várias células juntas, como adição, subtração, multiplicação e divisão, etc.
Mais informações

Kutools for Excel - Inclui mais de 300 ferramentas úteis para Excel. Teste gratuito completo por 30 dias, sem necessidade de cartão de crédito! Get It Now


Demonstração: aplique a fórmula a uma coluna ou linha inteira sem arrastar pelo Kutools para Excel


Kutools for Excel inclui mais de 300 ferramentas úteis para Excel, grátis para testar sem limitação em 30 dias. Baixe e teste grátis agora!

Adicione facilmente prefixo ou sufixo a todas as células em uma coluna ou linha inteira no Excel

É fácil preencher todas as células com o mesmo conteúdo em uma coluna com o recurso Autopreencher. Mas, como adicionar o mesmo prefixo ou sufixo a todas as células em uma coluna? Comparando a digitação do prefixo ou sufixo para cada célula separadamente, o Kutools para Excel Adicionar texto O utilitário fornece uma solução fácil para fazer isso com apenas alguns cliques. Avaliação gratuita de recursos completos por 30 dias!
anúncio adicionar sufixo de prefixo de texto

Kutools for Excel - Inclui mais de 300 ferramentas úteis para Excel. Teste gratuito completo por 30 dias, sem necessidade de cartão de crédito! Get It Now


Artigos relacionados:


As melhores ferramentas de produtividade para escritório

O Kutools for Excel resolve a maioria dos seus problemas e aumenta sua produtividade em 80%

  • armadilha para peixes: Insira rapidamente fórmulas complexas, gráficos e qualquer coisa que você tenha usado antes; Criptografar células com senha; Criar lista de discussão e enviar emails ...
  • Super Formula Bar (edite facilmente várias linhas de texto e fórmula); Layout de leitura (ler e editar facilmente um grande número de células); Colar na faixa filtrada...
  • Mesclar células / linhas / colunas sem perder dados; Dividir o conteúdo das células; Combinar linhas / colunas duplicadas... Evite células duplicadas; Comparar intervalos...
  • Selecione Duplicado ou Único Linhas; Selecione linhas em branco (todas as células estão vazias); Super Find e Fuzzy Find em muitos livros; Seleção aleatória ...
  • Cópia exata Várias células sem alterar a referência da fórmula; Criação automática de referências para várias folhas; Inserir marcadores, Caixas de seleção e mais ...
  • Extrair Texto, Adicionar texto, remover por posição, Remover Espaço; Criar e imprimir subtotais de paginação; Converter entre conteúdo de células e comentários...
  • Super Filtro (salvar e aplicar esquemas de filtro a outras planilhas); Classificação Avançada por mês / semana / dia, frequência e mais; Filtro Especial por negrito, itálico ...
  • Combine pastas de trabalho e planilhas; Mesclar tabelas com base em colunas-chave; Divida os dados em várias folhas; Conversão em lote de xls, xlsx e PDF...
  • Mais de 300 recursos poderosos. Suporta Office / Excel 2007-2019 e 365. Suporta todos os idiomas. Fácil implantação em sua empresa ou organização. Teste gratuito de 30 dias com recursos completos. Garantia de devolução do dinheiro em 60 dias.
guia kte 201905

Guia do Office traz interface com guias para o Office e torna seu trabalho muito mais fácil

  • Habilite a edição e leitura com guias em Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Abra e crie vários documentos em novas guias da mesma janela, em vez de em novas janelas.
  • Aumenta sua produtividade em 50% e reduz centenas de cliques do mouse para você todos os dias!
officetab bottom
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Cindy · 11 months ago
    When dragging function down a column I cant get formula to go past line 30. 31 and down shows #VALUE! any suggestions?
  • To post as a guest, your comment is unpublished.
    Tina · 1 years ago
    I need to combine 2 columns (last name first name) into 1 column (name) and then delete the 2 columns that I combined. How do I do that?
    • To post as a guest, your comment is unpublished.
      Cindy · 1 years ago
      Formula =A1&" "&B2
      make sure there's a space between the "
  • To post as a guest, your comment is unpublished.
    percikjernihriaktelaga@gmail.com · 1 years ago
    Hi, i wanted to ask something
    I want to count the total Shifts within the Shift column and put it in either Shift 1,Shift 2, or Shift 3 in column Q,R & S.
    As you can see in the picture, i already copy the formula from M2 (Circle 2) to below it.
    The thing is, i wanted to count the Shift per Each Day.
    But as you can see i had a little bit of problem. I had 2 problems :
    1. I want to copy the formula to the cell below BUT in a different day, NOT the same day, i searched on the internet and i still don't have a clue on how to do that.
    2.If there's no way to do that, is there any way that i can count the shift (i'm using COUNTIF here in Q2,R2 & S2 (Circle 3) ) from 23rd July - 30th July, without including the shift from the same day ? The point is i wanted to retrieve one shift per day, and as you can see if i retrieve the data, it counts as three/four shift per day (Circle 1).

    If there's any question about my problem, do feel free to ask !!
    Thank you.
  • To post as a guest, your comment is unpublished.
    Saif · 2 years ago
    hi, if the cell are not the same size in a column, then how can i copy the calculation of the top cell of column to the end (there are 200 rows in that column), as example if the first cell contains three rows merged but the second one is of two rows merged then dragging option does not work, what to do then ? pls advise.
    • To post as a guest, your comment is unpublished.
      kellytte · 2 years ago
      Hi Saif,
      Hotkeys may work.
      Select the target column or cells you will apply formulas, type the formula in the formula bar, and then press Ctrl + Enter keys simultaneously.
  • To post as a guest, your comment is unpublished.
    Albana · 3 years ago
    Pershendetje , si mund te funksionoje formula ne excel pa i dhene save , sepse nuk e shfaq veprimi e kryer pa dhe save. Faleminderit!
  • To post as a guest, your comment is unpublished.
    Ethan · 3 years ago
    can it be used for to varting values
  • To post as a guest, your comment is unpublished.
    Rakesh · 3 years ago
    How i can use them in VBA?
    • To post as a guest, your comment is unpublished.
      kelly.extendoffice@gmail.com · 3 years ago
      Hi Rakesh,
      All of methods introduced in the article are very easy. Is the VBA necessary?
  • To post as a guest, your comment is unpublished.
    sunny singh · 3 years ago
    How do i divide the one entire coloumn filled with number by 1000 or any number witout creating nother coloumn?
    • To post as a guest, your comment is unpublished.
      · 3 years ago
      Hi Sunny,

      Kutools for Excel’s Operation feature can help solve this problem.

      (1) Select the column you need to divided by a certain number;

      (2) Click Kutools > More > Operation;
      (3) In the Operation Tools dialog, specify Division, type in the divisor, and click OK.
  • To post as a guest, your comment is unpublished.
    Mansi · 4 years ago
    Hi,

    How can I do sum of two different column with formula?

    Like I want to sum of A1 and D1 and getting answer on F1 then which formula apply?
    • To post as a guest, your comment is unpublished.
      Santy Tanwar · 7 months ago
      you can use this formula,F1=A1+D1
  • To post as a guest, your comment is unpublished.
    Thao Le · 4 years ago
    This tip helps me to save a lot of time in work. I will share with my colleagues! Thank you a lot for sharing!
  • To post as a guest, your comment is unpublished.
    Thao Le · 4 years ago
    This instruction is very useful for me! I will share with my colleagues! It helps me to save a lot of time in work! Thank you a lot!
  • To post as a guest, your comment is unpublished.
    Lawrence J Gosling · 4 years ago
    Hi, I am trying to do a similar thing, but with letters. I am researching and trying to complete the civil aircraft register for the UK. I therefore need to have column A as G-AAAA to G-AZZZ on one work sheet and then G-BAAA to G-BZZZ on the next worksheet, etc. all the way to G-ZAAA to G-ZZZZ on the 25th worksheet. Is there an easy way of drag filling letters rather than numbers? As I have to manually fill each cell at the moment, which is very laborious. Thanks in advance, Lawrence
  • To post as a guest, your comment is unpublished.
    adam · 4 years ago
    I want to show a certain row with a specific word in it, in a specific sheet by the help of a drop down. like i creat a drop down with some specific category in it and all category have a sheet for it own data, I want to seprate all the data with that specfice word, in different sheets always as i update the sheet every time.Please let me know if any one knows the answer ASAP!!!!
  • To post as a guest, your comment is unpublished.
    Greifus · 4 years ago
    You can achieve the same thing by double clicking on the little square on the bottom right of the selected cell.
  • To post as a guest, your comment is unpublished.
    Tammy · 4 years ago
    Please i need help. How do i hide my formulas in my workbook. I don't want the formulas or the result to show in my workbook until i entered the required values in the linked column/cells. Presently, the cells either show the formula, zero or #NA. I don't want any of those to show until i have values for linked cells or columns.

    Thanks
  • To post as a guest, your comment is unpublished.
    Arjun Gupta · 4 years ago
    Working OK, Thanks...... : )
  • To post as a guest, your comment is unpublished.
    Julie Heyer · 5 years ago
    For the questions on getting rid of #Div/0. I'm guessing you have divided by 0 or something and want those cells to be blank.

    Select the whole column with the #Div/0 you don't want.
    Go to Home > Find & Select > Go to Special
    Toggle off Comments and Toggle On Formulas; Remove all checkmarks except the one in front of Errors.
    Click OK.
    You are now back to your column. You have "Found" all the "Div/0" cells.
    Click the delete key and they are now blank.
  • To post as a guest, your comment is unpublished.
    ikrar khan · 5 years ago
    i am write in a one colum month and pur in one colum but don`t write.sir plz help me.
  • To post as a guest, your comment is unpublished.
    mehjabin · 5 years ago
    i can add 45 days with a date, for that i use date+45,it is success.But i want the total the below colum with out dragging when i enter the date..any way to do that plz help me
  • To post as a guest, your comment is unpublished.
    victor S · 5 years ago
    In your above direction as how to 'Apply formula to an entire column or row without dragging by Fill feature', you state:
    If you want to apply the formula to entire row, just enter the formula into the first cell of your entire row, next select the entire row, and then click Home > Fill > Right.

    [b]this appears to work only only if the formula is in the first cell; is there any way to use the Fill feature (for rows) starting in a cell other than the first one?[/b]
  • To post as a guest, your comment is unpublished.
    rishi atrey · 5 years ago
    excel all formulas short cut key please toking
  • To post as a guest, your comment is unpublished.
    V · 5 years ago
    [quote name="K"]Dragging down doesn't work. It just repeats the values, not the formula. I have to manually type in the formula in each cell. Please tell me the correct way of repeating a formula down a column.[/quote]same issue as of K. plz help
  • To post as a guest, your comment is unpublished.
    BA10 · 5 years ago
    This is helpful, HOWEVER, when you copy down formulas through the whole column, it makes the spreadsheet have thousands and thousands of rows.
    • To post as a guest, your comment is unpublished.
      Haggstrom · 5 years ago
      Delete all the rows below your active range, e.g., if you expanded column A, there are 1048756 filled rows there but you're only using 100 rows, then in the Name box at the left side of the Formula Bar, type
      A101:A1048756
      Then press Enter and then Delete
      This worked for me, and I got it from at:
      http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macexcel/how-do-i-delete-extra-rows-in-excel/5a4e26b2-39fb-47dd-a8c8-b0a5c4d1b9b4
  • To post as a guest, your comment is unpublished.
    snehal belhekar · 5 years ago
    hi,
    I want to copy formula, if rate 152,458,496 and Quantity 1,2,3 in first line then second line quntity 4,5,3 then third line 8,7,9 then forth line 7,9,6 so i want to calculate rate * every quntity. for example 152*1+152*2+152*3=2280.i want this formula past in every column so how do i do ?
  • To post as a guest, your comment is unpublished.
    Anna · 5 years ago
    I am copying formulas down a column of rows. The column cells do not change automatically. e.g. dx35,dy35,dz35. I have to manually change dx to dy etc. How do I do that?
  • To post as a guest, your comment is unpublished.
    AJ · 5 years ago
    if I have 1 column already with data inputted - and I wanted to add a percentage on top of each value inputted - can I formulate a single column?
  • To post as a guest, your comment is unpublished.
    Shelby · 6 years ago
    Hey,

    I am trying to create a spreadsheet, I want the numbers to go kind of like back to front? so when I press control N the first number for example will go on the line below, so basically the numbers start from small to big not big to small.

    I have got another spreadsheet that does do this however I cant remember how it was done and cant find out how to do it anywhere.

    I know I didn't explain that very well but does anyone know what I mean?
  • To post as a guest, your comment is unpublished.
    sajid · 6 years ago
    i am not getting my desired result i want to put formula of minus to entire row and have put c4-d5 and then dragging the line till end but the answer is not coming help me please
  • To post as a guest, your comment is unpublished.
    Mind · 6 years ago
    I have a totally off topic question... How did you get the cool 16-bit looking color depth in the office graphic? Is that just a byproduct of the png rendering? It looks really cool, and I kind of wish just running office in 16 bit color depth would do that, but I feel like it would just break..
  • To post as a guest, your comment is unpublished.
    Vinayak · 6 years ago
    Dear Sir/Madam
    I want to add formula in a xls sheet as i have dat like
    =Sheet1!A1,=Sheet1!A2,=Sheet1!A3........
    =Sheet2!A1,=Sheet2!A2,=Sheet2!A3........
    =Sheet3!A1,=Sheet3!A2,=Sheet3!A3........
    .
    .
    .
    i want to devide complete data by 1000
    ex =Sheet2!A1/1000,=Sheet2!A2/1000,=Sheet2!A3/1000........
    .
    .
    .
    .
    .
    .
  • To post as a guest, your comment is unpublished.
    sude69 · 6 years ago
    Thanks a lot!! :D
    :D :lol:
    rEALLY helped
  • To post as a guest, your comment is unpublished.
    Jane · 6 years ago
    Hi,

    Please can you tell me how to do a forumula to work out the number of days using dates eg 09/06/12 - 08/05/12 - when i put in the forumulation it brings up a date instead of number of days.
  • To post as a guest, your comment is unpublished.
    M · 6 years ago
    This was easy and so helpful ~Thanks~
  • To post as a guest, your comment is unpublished.
    Nancy · 6 years ago
    very helpful and easy to follow!
  • To post as a guest, your comment is unpublished.
    barcad · 6 years ago
    I have the same problem as Harris above. How do I go about it?
  • To post as a guest, your comment is unpublished.
    Janine · 7 years ago
    This may be a simple question for you guys/gals, but I'm clueless. after I've applied my formulas how do I get rid of the #DIV/0???
    • To post as a guest, your comment is unpublished.
      Julie · 4 years ago
      [quote name="Janine"]This may be a simple question for you guys/gals, but I'm clueless. after I've applied my formulas how do I get rid of the #DIV/0???[/quote]
      Select the whole area that includes all the #DIV/0
      Go to "Find & Select" -
      Go to SPECIAL.
      Click the radio button in front of Formulas.
      Unclick Numbers, Text, Logicals - which leaves only "Errors" Checked.
      Click OK
      Now all the Div/0 will be highlighted and nothing else.
      Use you delete key and they will disappear.
    • To post as a guest, your comment is unpublished.
      DJ · 7 years ago
      Your cell is to small? Widen the cell by dragging to the right.
  • To post as a guest, your comment is unpublished.
    Harish · 7 years ago
    hii

    I am not be able to drag below mentioned formula
    =E15*E11/E63
    I want E11 and E63 to remain same only E15 to be change as cell wise



    pls help

    regards
    Harish Balam
    • To post as a guest, your comment is unpublished.
      Donna · 6 years ago
      To copy the formula and change it automatically, do the following:
      Select cell D2
      Click on the Copy button in the Home ribbon (or press Control+C on the keyboard) to copy the cell formula
      Mark cells D3 through D11 (put the mouse on cell D3, click the left mouse button and leave it pressed, then move the mouse to cell D11 and release the mouse button)
      Click on the Paste button in the Home ribbon (or press Control+V on the keyboard) to paste the formula to the cells you selected
      And the formula is automatically applied to all the selected cells.
      http://www.excel-formulas.com/mathematical-excel-formulas/apply-formula-to-row.php
      Worked for me, it should for you too.
  • To post as a guest, your comment is unpublished.
    J · 7 years ago
    I want to add column c to column D for each row and put the result in column E...How do I do that?
    • To post as a guest, your comment is unpublished.
      JDA · 7 years ago
      Here is the formula I wrote to accomplish that task:
      =CONCATENATE(INDIRECT("D"&ROW())," ",INDIRECT("E"&ROW()))
      I wanted the system to take the text from columns D and E in the current row and put them in the column with the formula. I was working with text. You may need to incorporate the SUM function if you want to combine numbers. Row() tells it to use the current row number. Good luck!
      • To post as a guest, your comment is unpublished.
        yen · 5 years ago
        Thank for this,

        But what will do when row D have not continuously series i.e. if any blank cell available there and i want print above cell value in blank cell and then concatenate the both cell
  • To post as a guest, your comment is unpublished.
    waddah · 7 years ago
    thanks a lot, really very helpful
  • To post as a guest, your comment is unpublished.
    kipling · 7 years ago
    How does one apply an equation for a different row? For example,I used =COUNTIF(C8:C19,"
  • To post as a guest, your comment is unpublished.
    Doru · 7 years ago
    "=IF(B24=N5:N18,N4,IF(B24=O5:O19,O4,IF(B24=P5:P13,P4,L4)))"

    I have this formula for comparing text cells. But it works only for row 5 if i introduce values for above it shows me L4 value.
    Can you help me with this?
  • To post as a guest, your comment is unpublished.
    Ramachandran · 7 years ago
    if 5 column and 5 Row given with some sales and Clents and Fixed Percentage So HOw to put it in excel cal
  • To post as a guest, your comment is unpublished.
    Ericfinaly · 7 years ago
    very helpful thank you!
  • To post as a guest, your comment is unpublished.
    Bubbalo · 7 years ago
    I have the same issue as K above. What is the solution? It did not appear in the string of comments. Thanks
    • To post as a guest, your comment is unpublished.
      $$$$ · 5 years ago
      it helped but ohhh noooo
  • To post as a guest, your comment is unpublished.
    K · 7 years ago
    Dragging down doesn't work. It just repeats the values, not the formula. I have to manually type in the formula in each cell. Please tell me the correct way of repeating a formula down a column.
    • To post as a guest, your comment is unpublished.
      Bubbalo · 7 years ago
      Go into Formulas>Calculation Options and change the option to automatic if its in manual. Then highlight the cells where you want the formula to go and click Fill>Down.
      • To post as a guest, your comment is unpublished.
        senthil · 6 years ago
        Thanks ... u saved my time :eek:
  • To post as a guest, your comment is unpublished.
    paolo · 7 years ago
    thanks a lot man....!!!!!!!!!!!


    .
  • To post as a guest, your comment is unpublished.
    Roshan Bhandari · 7 years ago
    This formula is very useful for my daily office work.
  • To post as a guest, your comment is unpublished.
    Sarvesh · 7 years ago
    :-) Wow its very Usefull!!!