Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
Mountain View desk4 min

How to Add or Remove Rows and Columns in Google Sheets Without Breaking Formulas

Insert or delete Google Sheets rows and columns from their headers, then verify references, totals, and lookups. See when table references can help.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can insert or delete rows and columns in Google Sheets without automatically losing every formula, but the result depends on what each formula references and where the change occurs. Use the row or column headers to make the edit, then check important formulas and totals—especially after deleting cells they reference.

Insert or delete rows and columns on a computer

These steps cover the desktop version of Google Sheets. You can use the header context menu or the Insert menu; Google documents both approaches in its instructions for adding or moving columns and cells.

As an Amazon Associate I earn from qualifying purchases.

  1. Select the row or column. Click its row number or column letter. To insert multiple rows or columns at once, select the same number of adjacent headers as the number you want to add.
  2. Insert at the intended position. Right-click the selected header and choose the insertion command for the position you need, such as inserting above or below a row, or left or right of a column. You can also use the Insert menu. The exact menu choices depend on whether you selected a row or a column.
  3. Delete only when you mean to remove the whole dimension. Select the row number or column letter, right-click, then choose the option to delete that row or column. Deleting removes its cells and contents and changes the sheet’s structure.

If you need to remove visible values but want to keep the row or column in place, clear the cell contents instead of deleting the entire row or column. Those are different edits; choose based on whether the surrounding layout should shift.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why a formula can change—or break—after an edit

Formulas refer to cells or ranges, and inserting or deleting rows or columns changes the sheet structure around those references. Google documents how to add and edit formulas, but that does not mean every formula will continue to express the calculation you intended after every structural edit.

#1 Best Overall
Sale
Amazon Basics Wired QWERTY Keyboard, Works with Windows, Plug and Play, Easy to Use with Media Control, Full-Sized, Black
  • KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
  • EASY SETUP: Experience simple installation with the USB wired connection
  • VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
  • SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
  • FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.

For example, a range formula such as =SUM(A1:A100) may behave differently from a direct expression such as =A1+A10 when rows in or around the referenced cells are changed. A Google Sheets Community Product Expert has described cases where deleting a referenced row can make a direct expression return #REF!, and where adding a row at the edge of a range may leave new data outside the calculation. This is community guidance, not an official guarantee; the community page also warns that its content may not be verified or up to date. See the discussion on adding or removing rows and columns without breaking formulas.

  • Insertion location matters: a new row within a data range may be treated differently from one added just outside its boundary. Check that totals and lookups include the new record.
  • Deletion location matters: removing cells a formula depends on can cause a broken reference or alter the calculation. Search important formulas for #REF! and compare their results with what the sheet should calculate.
  • Other sheets matter too: formulas on different tabs may depend on the area you changed, so check those as well as formulas beside the edited rows or columns.

Check formulas after the change

Sheets recalculates dependent cells when edits occur, but recalculation only updates results based on the formula that remains. It cannot tell whether that formula still matches your intent. Google’s guidance on improving Sheets performance discusses recalculation; use these checks to catch structural mistakes:

Rank #2
Sale
Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black
  • Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
  • Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
  • Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
  • Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
  • Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
  • Review formulas that refer to the edited rows or columns, including formulas on other sheets.
  • After inserting a record, verify that totals, lookups, and charts cover the new data.
  • After deleting a row or column, look for #REF! and confirm key results still use the intended cells.
  • For a consequential edit, compare key totals or results with the expected calculation before relying on the sheet.

Use table references for recurring structured data

If your data has headers and records that you regularly add or remove, a Google Sheets table may be a better fit than repeatedly maintaining hard-coded ranges. Google says table references use table and column names, and that those references update when data is added to or removed from the table. Its Google Sheets tables guide also describes tables as a way to apply structure and reduce repetitive formatting and data updates.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Approach Works well when What to check
Ordinary cell or range references Your existing formulas already use cell addresses or ranges, or the data does not fit a table structure. Confirm the references still cover the intended cells after each structural edit.
Table references Your data is organized as a table with headers and you frequently add or remove records within it. Table references update with data added to or removed from the table; review existing formulas rather than assuming they convert automatically.

Table references address changes to data within a table; they are not a blanket guarantee for every sheet-wide row or column operation. Continue to inspect important formulas after structural edits.

Rank #3
Sale
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
  • All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
  • Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
  • Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
  • Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
  • Plastic parts in K120 include 51% certified post-consumer recycled plastic*
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Should you use a keyboard shortcut?

Google’s Google Sheets keyboard shortcut list includes commands for inserting and deleting rows and columns, but the key sequences vary by operating system and, in some cases, browser. For instance, the documented Windows/Chrome menu sequence for inserting rows below is Alt + I, then R, then B. Check Google’s current list for your own platform before relying on a sequence; the header context menu is the more portable workflow.

Quick Recap

SaleBestseller No. 1
SaleBestseller No. 3
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Plastic parts in K120 include 51% certified post-consumer recycled plastic*; Product carbon footprint: 4.02 kg CO2e
$12.39
SaleBestseller No. 5
Logitech K270 Full Size Wireless Keyboard for Windows - Black
Logitech K270 Full Size Wireless Keyboard for Windows - Black
Plastic parts in K270 include 38% certified post-consumer recycled plastic; Eight hot keys: For instant access to the Internet, e-mail, music volume and more
$21.48
Best Value
Sale
Logitech K270 Full Size Wireless Keyboard for Windows - Black
  • All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
  • Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
  • Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
  • Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
  • Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
Rank #4
Sale
Redragon K521 Upgrade Rainbow LED Gaming Keyboard, 104 Keys Wired Mechanical Feeling Keyboard with Multimedia Keys, One-Touch Backlit, Anti-Ghosting, Compatible with PC, Mac, PS4/5, Xbox
  • 【Dreamy Rainbow Gaming Keyboard】K521 Gaming Keyboard Adopts a Different LED Backlight Design, Upgraded on the Traditional LED Backlight Effect, Making the Light More Penetrating, Giving You a More Dazzling Visual Effect, Making Your Gaming Process More Enjoyable
  • 【One Touch Opens & Visual Feast】The K521 Red Dragon Keyboard has a One-Touch on/off Lighting Button for Added Convenience. It also has a Three-Position Adjustable Breathing Mode and a Four-Position Adjustable Brightness Lighting Mode
  • 【Mechanical Feeling & Fast Tapping】The PC Keyboard Keys are Designed for Mechanical Feeling, Giving You a Better Feel During Use and the Ability to Trigger Keys Quickly, Allowing You to Win All Your Games
  • 【19 Keys Anti-Ghosting Keyboard】Anti-Ghosting Ensures Every Button Can Be Triggered. This Allows You to Trigger Key Combinations In The Game Accurately, And Each Skill Can Be Accurately Released to Increase Your Winning Rate. Redragon K521 Will Be Your Perfect Partner
  • 【12 Multimedia Combination Keys】The K521 Wired Gaming Keyboard is Equipped with 12 Multimedia Keys That Can Greatly Enhance Your Gaming/Office Efficiency and Make It More Convenient to Use

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.