# How to remove columns from a spreadsheet

Here are some results from the 2012 London Marathon. Lets say we are just interested in the first few columns; that means we want to remove all other columns from Beyond Compare.&#x20;

(Don't worry -- your original table will be unaltered: Beyond Compare works with a read-only copy extracted from your spreadsheet file.)

<br>

![In Excel: the original spreadsheet](/files/-LYnGjthDDZpWpSpfLpZ)

First, a wider view may make things easier to see. Menu: `View->OverUnder`  Now eliminate the unwanted columns. Menu: `Session->SessionSetting->Columns` The view is twisted: each **row** here in the screenshot below, describes a **column**(!) in the table. (It's only disorienting the first time you do this.) Select the unwanted rows. Rightclick and **remove** them.

![In Beyond Compare: Removing the unwanted columns.](/files/-LYnGuW3mraUE_sdZELZ)

![In Beyond Compare: the final result, with the unwanted columns removed](/files/-LYnH0055T6MGqcnH7E4)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://beyondcompare.gitbook.io/project/table-compare/how-to-remove-columns-from-a-spreadsheet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
