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

or

Hur applicerar jag snabbt formel i en hel kolumn eller rad med / utan att dra i Excel?

Ibland kan du behöva tillämpa samma formel på en hel kolumn eller rad i Excel, till exempel C1 = A1 * 2, C2 = A2 * 2, ..., Cn = An * 2. Det blir ganska tråkigt om du anger formeln i varje cell en efter en. Det finns några knepiga sätt att snabbt tillämpa samma formel i en kolumn eller rad.

Om du antar att du måste tillämpa formeln = (A1 * 3 + 8) / 5 i kolumn C och se följande handledning för att tillämpa samma formel på hela kolumn C.


Tillämpa formeln på en hel kolumn eller rad med dra AutoFill-handtaget

Att dra AutoFill-handtaget är det vanligaste sättet att tillämpa samma formel på en hel kolumn eller rad i Excel.

Skriv först formeln för = (A1 * 3 + 8) / 5 i Cell C1 och dra sedan handtaget AutoFill ner till botten i kolumn C, sedan formeln för = (A1 * 3 + 8) / 5 tillämpas i hela kolumn C. Om du behöver använda den på hela raden kan du dra handtaget för autofyllning längst till höger.
doc tillämpa formel 02

Anmärkningar: Denna dragningsmetod för automatisk fyllning kräver formelberäkning automatiskt. Du kan aktivera det genom att klicka Formels> Beräkningsalternativ > Automat. Se skärmdump nedan:


Tillämpa formeln på en hel kolumn eller rad utan att dra genom genvägstangentbord

Ibland kan kolumnen du vill använda formeln täcka hundratals rader, och att dra Fill-handtaget kanske inte är bekvämt. Egentligen du och använda genvägtangentbord för att arkivera det enkelt i Excel.

Välj först hela kolumn C, ange sedan formeln = (A1 * 3 + 8) / 5, och tryck sedan på ctrl + ange nycklar tillsammans.

Om du vill tillämpa formeln på en hel rad kan du välja hela raden först.

Kopiera formler exakt / statiskt från en kolumn till en annan utan att ändra cellreferenser i Excel

Kutools för Excel Exakt kopia verktyget kan hjälpa dig att enkelt kopiera flera formler exakt utan att ändra cellreferenser i Excel, vilket förhindrar att relativa cellreferenser uppdateras automatiskt. Gratis testversion i 30 dagar!
annonsens exakta kopieringsformler 3

Kutools för Excel - Innehåller mer än 300 praktiska verktyg för Excel. Fullversion gratis provperiod 30 dagar, inget kreditkort krävs! Hämta den nu

Tillämpa formeln på en hel kolumn eller rad utan att dra efter fyllningsfunktionen

Egentligen finns det en Fyll kommando på Excel Ribbon för att hjälpa dig att tillämpa formel i en hel kolumn eller rad snabbt.

Ange först formeln = (A1 * 3 + 8) / 5 i Cell C1 (den första cellen i kolumnen där du kommer att ange samma formel), välj för det andra hela kolumn C och klicka sedan Hem > Fyll > Ner.

Om du vill tillämpa formeln på hela raden anger du bara formeln i den första cellen på hela raden, väljer sedan hela raden och klickar sedan på Hem> Fyll > Höger.


Tillämpa formeln på en hel kolumn eller rad utan att dra av Kutools för Excel

Alla ovanstående metoder är att tillämpa formler på tom kolumn eller rad. Ibland kan du behöva använda samma formel på en hel kolumn eller rad med data. Hur bearbetar man? Du kan prova Kutools för Excel Driftverktyg.

Kutools för Excel - Innehåller mer än 300 praktiska verktyg för Excel. Fullversion gratis provperiod 30 dagar, inget kreditkort krävs! Gratis testversion nu!

1. Välj den kolumn eller rad som du ska arbeta med (välj i detta fall kolumn A) och klicka Kutools > Mer > Drift.
doc tillämpa formel kte 01

2. I Driftverktyg dialogrutan väljer du anpassad in Drift rutan, skriv in (? * 3 + 8) / 5 i den tomma rutan i anpassad avsnittet och klicka på OK knapp. Se skärmdump:

Och sedan fylls hela kolumnen med formeln = (? * 3 + 8) / 5, och? refererar till värdet i motsvarande cell. Se nedan skärmdumpar:
doc tillämpa formel 11

Anmärkningar:
(1) Om du markerar Skapa formler alternativet blir resultaten i form av formler för varje cell.
(2) Om Hoppa över formelceller om alternativet är markerat kommer operationen att hoppa över och automatiskt ignorera formelcellerna i det valda intervallet.

Du har nu möjlighet Driftverktyg kan utföra vanliga matematiska operationer i flera celler tillsammans, såsom addition, subtraktion, multiplikation och delning etc.
Läs mer

Kutools för Excel - Innehåller mer än 300 praktiska verktyg för Excel. Fullversion gratis provperiod 30 dagar, inget kreditkort krävs! Hämta den nu


Demo: Använd formel på en hel kolumn eller rad utan att dra av Kutools för Excel


Kutools för Excel innehåller mer än 300 praktiska verktyg för Excel, gratis att prova utan begränsning på 30 dagar. Ladda ner och gratis testversion nu!

Lägg enkelt till prefix eller suffix till alla celler i en hel kolumn eller rad i Excel

Det är enkelt att fylla alla celler med samma innehåll i en kolumn med funktionen Autofyll. Men hur lägger man till samma prefix eller suffix till alla celler i en kolumn? Jämförelse med att skriva prefixet eller suffixet för varje cell separat, Kutools för Excel lägga till text verktyget ger en enkel lösning för att bara göra det med flera klick. Gratis testversion i 30 dagar!
ad lägga till textprefix suffix

Kutools för Excel - Innehåller mer än 300 praktiska verktyg för Excel. Fullversion gratis provperiod 30 dagar, inget kreditkort krävs! Hämta den nu


Relaterade artiklar:


De bästa Office-produktivitetsverktygen

Kutools för Excel löser de flesta av dina problem och ökar din produktivitet med 80%

  • återanvändning: Sätt snabbt i komplexa formler, diagram och allt som du har använt tidigare; Kryptera celler med lösenord; Skapa e-postlista och skicka e-post ...
  • Super Formula Bar (enkelt redigera flera rader med text och formel); Läslayout (enkelt läsa och redigera ett stort antal celler); Klistra in i filtrerat intervall...
  • Sammanfoga celler / rader / kolumner utan att förlora data; Delat cellinnehåll; Kombinera duplicerade rader / kolumner... Förhindra duplicerade celler; Jämför intervall...
  • Välj Duplicera eller Unikt Rader; Välj tomma rader (alla celler är tomma); Super Find och Fuzzy Find i många arbetsböcker; Slumpmässigt val ...
  • Exakt kopia Flera celler utan att ändra formelreferens; Skapa referenser automatiskt till flera ark; Sätt in kulor, Kryssrutor och mer ...
  • Extrahera text, Lägg till text, ta bort efter position, Ta bort mellanslag; Skapa och skriva ut personsökningstalsatser; Konvertera mellan celler innehåll och kommentarer...
  • Superfilter (spara och tillämpa filterscheman på andra ark); Avancerad sortering efter månad / vecka / dag, frekvens och mer; Specialfilter av fet, kursiv ...
  • Kombinera arbetsböcker och arbetsblad; Sammanfoga tabeller baserat på nyckelkolumner; Dela data i flera ark; Batchkonvertera xls, xlsx och PDF...
  • Mer än 300 kraftfulla funktioner. Stöder Office / Excel 2007-2019 och 365. Stöder alla språk. Enkel distribution i ditt företag eller organisation. Fullständiga funktioner 30-dagars gratis provperiod. 60-dagars pengarna tillbaka-garanti.
kte-flik 201905

Fliken Office ger ett flikgränssnitt till Office och gör ditt arbete mycket enklare

  • Aktivera flikredigering och läsning i Word, Excel, PowerPoint, Publisher, Access, Visio och Project.
  • Öppna och skapa flera dokument i nya flikar i samma fönster, snarare än i nya fönster.
  • Ökar din produktivitet med 50%och minskar hundratals musklick för dig varje dag!
officetab botten
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 · 1 years 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 · 2 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 · 3 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 · 4 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.
      · 4 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 · 8 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 · 5 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 · 5 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 · 5 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 · 6 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 · 6 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 · 6 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 · 7 years ago
    very helpful and easy to follow!
  • To post as a guest, your comment is unpublished.
    barcad · 7 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 · 7 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!!!