Note: The other languages of the website are Google-translated. Back to English
Войти  \/ 
x
or
x
Регистрация  \/ 
x

or

Как быстро применить формулу ко всему столбцу или строке с / без перетаскивания в Excel?

Иногда вам может потребоваться применить одну и ту же формулу ко всему столбцу или строке в Excel, например C1 = A1 * 2, C2 = A2 * 2, ..., Сп = An * 2. Будет довольно утомительно, если вы будете вводить формулы в каждую ячейку по очереди. Есть несколько хитрых способов быстро применить одну и ту же формулу к столбцу или строке ввода.

Предположим, вам нужно применить формулу = (A1 * 3 + 8) / 5 в столбце C и см. Следующие руководства, чтобы применить ту же формулу ко всему столбцу C.


Применение формулы ко всему столбцу или строке с помощью перетаскивания маркера автозаполнения

Перетаскивание маркера автозаполнения - наиболее распространенный способ применения одной формулы ко всему столбцу или строке в Excel.

Сначала введите формулу = (A1 * 3 + 8) / 5 в ячейке C1, а затем перетащите маркер автозаполнения вниз в столбце C, затем формула = (A1 * 3 + 8) / 5 применяется ко всему столбцу C. Если вам нужно применить его ко всей строке, вы можете перетащить маркер автозаполнения в крайнем правом углу.
док применить формулу 02

Внимание: Этот метод перетаскивания маркера автозаполнения требует автоматического вычисления формулы. Вы можете включить его, нажав Формулаs> Варианты расчета > Автоматически. См. Снимок экрана ниже:


Применение формулы ко всему столбцу или строке без перетаскивания с помощью сочетаний клавиш

Иногда столбец, к которому вы хотите применить формулу, может занимать сотни строк, и перетаскивание маркера заполнения может быть неудобным. На самом деле вы и используете сочетания клавиш, чтобы легко заархивировать его в Excel.

Во-первых, выберите весь столбец C, во-вторых, введите формулу = (A1 * 3 + 8) / 5, а затем нажмите Ctrl + Enter ключи вместе.

Если вы хотите применить формулу ко всей строке, вы можете сначала выбрать всю строку.

Копируйте формулы точно / статически из одного столбца в другой, не меняя ссылки на ячейки в Excel

Kutools for Excel Точная копия Утилита может помочь вам легко скопировать несколько формул без изменения ссылок на ячейки в Excel, предотвращая автоматическое обновление относительных ссылок на ячейки. Полнофункциональная бесплатная 30-дневная пробная версия!
формулы точной копии объявления 3

Kutools for Excel - Включает более 300 удобных инструментов для Excel. Полнофункциональная бесплатная 30-дневная пробная версия, кредитная карта не требуется! Get It Now

Применить формулу ко всему столбцу или строке без перетаскивания функцией заполнения

На самом деле есть Заполнять на ленте Excel, чтобы быстро применить формулу ко всему столбцу или строке.

Сначала введите формулу = (A1 * 3 + 8) / 5 в ячейку C1 (первая ячейка столбца, в которую вы введете ту же формулу), во-вторых, выберите весь столбец C, а затем нажмите Главная > Заполнять > вниз.

Если вы хотите применить формулу ко всей строке, просто введите формулу в первую ячейку всей строки, затем выберите всю строку и нажмите Главная> Заполнить > Правильно.


Применить формулу ко всему столбцу или строке без перетаскивания с помощью Kutools for Excel

Все вышеперечисленные методы предназначены для применения формул к пустому столбцу или строке. Иногда вам может потребоваться применить одну и ту же формулу ко всему столбцу или строке с данными. Как обрабатывать? Вы можете попробовать Kutools for Excel's Инструменты для работы.

Kutools for Excel - Включает более 300 удобных инструментов для Excel. Полнофункциональная бесплатная 30-дневная пробная версия, кредитная карта не требуется! Бесплатная пробная версия сейчас!

1. Выберите столбец или строку, с которой вы будете работать (в этом случае выберите столбец A), и нажмите Kutools > Еще > Эксплуатация.
док применить формулу kte 01

2. в Инструменты для работы в диалоговом окне выберите На заказ in Эксплуатация введите, введите (? * 3 + 8) / 5 в пустом поле в На заказ и нажмите OK кнопка. Смотрите скриншот:

И тогда весь столбец заполняется формулой = (? * 3 + 8) / 5, а? относится к значению в соответствующей ячейке. См. Скриншоты ниже:
док применить формулу 11

Ноты:
(1) Если вы проверите Создавать формулы вариант, результаты будут в виде формул для каждой ячейки.
(2) Если Пропустить ячейки формулы установлен флажок, операция будет пропущена и автоматически проигнорирует ячейки формулы в выбранном диапазоне.

Инструменты для работы может выполнять общие математические операции в нескольких ячейках вместе, такие как сложение, вычитание, умножение и деление и т. д.
Подробнее

Kutools for Excel - Включает более 300 удобных инструментов для Excel. Полнофункциональная бесплатная 30-дневная пробная версия, кредитная карта не требуется! Get It Now


Демо: применение формулы ко всему столбцу или строке без перетаскивания с помощью Kutools for Excel


Kutools for Excel включает более 300 удобных инструментов для Excel, которые можно бесплатно попробовать без ограничений в течение 30 дней. Скачать и бесплатную пробную версию сейчас!

Легко добавлять префикс или суффикс ко всем ячейкам всего столбца или строки в Excel

С помощью функции автозаполнения легко заполнить все ячейки одним и тем же содержимым в столбце. Но как добавить один и тот же префикс или суффикс ко всем ячейкам в столбце? Сравнивая ввод префикса или суффикса для каждой ячейки отдельно, Kutools for Excel's Добавить текст Утилита предоставляет простой обходной путь, позволяющий сделать это всего за несколько кликов. Полнофункциональная бесплатная 30-дневная пробная версия!
объявление добавить суффикс префикса текста

Kutools for Excel - Включает более 300 удобных инструментов для Excel. Полнофункциональная бесплатная 30-дневная пробная версия, кредитная карта не требуется! Get It Now


Статьи по теме:


Лучшие инструменты для работы в офисе

Kutools for Excel решает большинство ваших проблем и увеличивает вашу производительность на 80%

  • Снова использовать: Быстро вставить сложные формулы, диаграммы и все, что вы использовали раньше; Зашифровать ячейки с паролем; Создать список рассылки и отправлять электронные письма ...
  • Бар Супер Формулы (легко редактировать несколько строк текста и формул); Макет для чтения (легко читать и редактировать большое количество ячеек); Вставить в отфильтрованный диапазон...
  • Объединить ячейки / строки / столбцы без потери данных; Разделить содержимое ячеек; Объединить повторяющиеся строки / столбцы... Предотвращение дублирования ячеек; Сравнить диапазоны...
  • Выберите Дубликат или Уникальный Ряды; Выбрать пустые строки (все ячейки пустые); Супер находка и нечеткая находка во многих рабочих тетрадях; Случайный выбор ...
  • Точная копия Несколько ячеек без изменения ссылки на формулу; Автоматическое создание ссылок на несколько листов; Вставить пули, Флажки и многое другое ...
  • Извлечь текст, Добавить текст, Удалить по позиции, Удалить пробел; Создание и печать промежуточных итогов по страницам; Преобразование содержимого ячеек в комментарии...
  • Суперфильтр (сохранять и применять схемы фильтров к другим листам); Расширенная сортировка по месяцам / неделям / дням, периодичности и др .; Специальный фильтр жирным, курсивом ...
  • Комбинируйте книги и рабочие листы; Объединить таблицы на основе ключевых столбцов; Разделить данные на несколько листов; Пакетное преобразование xls, xlsx и PDF...
  • Более 300 мощных функций. Поддерживает Office / Excel 2007-2019 и 365. Поддерживает все языки. Простое развертывание на вашем предприятии или в организации. Полнофункциональная 30-дневная бесплатная пробная версия. 60-дневная гарантия возврата денег.
вкладка kte 201905

Вкладка Office: интерфейс с вкладками в Office и упрощение работы

  • Включение редактирования и чтения с вкладками в Word, Excel, PowerPoint, Издатель, доступ, Visio и проект.
  • Открывайте и создавайте несколько документов на новых вкладках одного окна, а не в новых окнах.
  • Повышает вашу продуктивность на 50% и сокращает количество щелчков мышью на сотни каждый день!
офисный дно
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 · 4 years ago
    How i can use them in VBA?
    • To post as a guest, your comment is unpublished.
      kelly.extendoffice@gmail.com · 4 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 · 11 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 · 5 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 · 5 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 · 6 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 · 6 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 · 7 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 · 7 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 · 8 years ago
    This formula is very useful for my daily office work.
  • To post as a guest, your comment is unpublished.
    Sarvesh · 8 years ago
    :-) Wow its very Usefull!!!