how to differentiate Formula VS Formula R1C1 in Microsoft Excel?
Tags: formulavsformular1c1, vbamacros
Published: 2021-09-27 07:53:13

---
title: how to differentiate Formula VS Formula R1C1 in Microsoft Excel?
published: true
date: 2021-09-20 11:00:34 UTC
tags: FormulaVSFormulaR1C1,VBAMacros
canonical_url: https://geekexcel.com/how-to-differentiate-formula-vs-formula-r1c1-in-microsoft-excel/
---

In this tutorial, we will guide you on how to ** ** differentiate the **formula vs formula R1C1** in Microsoft Excel. Let’s get them below!! Get an official version of MS Excel from the following link: **[https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)**

## Example1

- Firstly, you need to  **create a sample data**  in Microsoft Excel.

![](https://geekexcel.com/wp-content/uploads/2021/09/Sample-data-27.png)<figcaption>Sample data</figcaption>

- In the Excel Worksheet, you have to go to the  **Developer Tab.**
- Then, you need to ** ** select the  **Visual Basic**  option under the  **Code**  section.

![Select Visual Basic](https://geekexcel.com/wp-content/uploads/2021/09/Select-Visual-Basic-9-1024x180.png)<figcaption>Select Visual Basic</figcaption>

- Now, you have to  **copy and paste the code**  given below.

```
Sub SUM()
Dim X As Integer
X = Application.WorksheetFunction.CountA(Range("A:A"))
Range("B" & X + 1).Value = "=SUM(R[-11]C:R[-1]C)"
End Sub

```

- You need to  **save the code**  by selecting it and then  **close the window**.

![](https://geekexcel.com/wp-content/uploads/2021/09/Save-the-Code-59.png)<figcaption>Save the Code</figcaption>

- Again, you have to go to the  **Excel Spreadsheet** , and click on the  **Developer Tab**.
- You need to choose the  **Macros option**  in the Code section.

![Choose Macro option](https://geekexcel.com/wp-content/uploads/2021/09/Choose-Macro-option-11-1024x184.png)<figcaption>Choose Macro option</figcaption>

- Now, you have to make sure that your  **macro name is selected**  and click the  **Run ** button.

![](https://geekexcel.com/wp-content/uploads/2021/09/Run-the-Code-34.png)<figcaption>Run the Code</figcaption>

- Finally, you will receive the  **output ** in the  **Microsoft Excel**.

![](https://geekexcel.com/wp-content/uploads/2021/09/Output-27.png)<figcaption>Output</figcaption>

## Example2

- Firstly, you need to  **create a sample data**  in Microsoft Excel.

![](https://geekexcel.com/wp-content/uploads/2021/09/Example-1.png)<figcaption>Sample date</figcaption>

- In the Excel Worksheet, you have to go to the  **Developer Tab.**
- Then, you need to ** ** select the  **Visual Basic**  option under the  **Code**  section.

![Select Visual Basic](https://geekexcel.com/wp-content/uploads/2021/09/Select-Visual-Basic-8-1024x180.png)<figcaption>Select Visual Basic</figcaption>

- Now, you have to  **copy and paste the code**  given below.

```
Sub SUM()
Dim X As Integer
X = Application.WorksheetFunction.CountA(Range("A:A"))
Range("B" & X + 1).Value = "=SUM(R[-11]C:R[-1]C)"
End Sub

```

- You need to  **save the code**  by selecting it and then  **close the window**.

![](https://geekexcel.com/wp-content/uploads/2021/09/Save-the-Code-1-2.png)<figcaption>Save the Code</figcaption>

- Again, you have to go to the  **Excel Spreadsheet** , and click on the  **Developer Tab**.
- You need to choose the  **Macros option**  in the Code section.

![Choose Macro option](https://geekexcel.com/wp-content/uploads/2021/09/Choose-Macro-option-11-1024x184.png)<figcaption>Choose Macro option</figcaption>

- Now, you have to make sure that your  **macro name is selected**  and click the  **Run ** button.

![](https://geekexcel.com/wp-content/uploads/2021/09/Run-the-Code-34.png)<figcaption>Run the code</figcaption>

- Finally, you will receive the  **output ** in the  **Microsoft Excel**.

![](https://geekexcel.com/wp-content/uploads/2021/09/Output1-3.png)<figcaption>Output</figcaption>

## Wrap-Up

We hope that this tutorial gives you guidelines on how to differentiate the **formula vs formula R1C1** in Microsoft Excel. Please leave a comment in case of any  **queries,**  and don’t forget to mention your valuable  **suggestions**  as well. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!! **Read more on [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

**Read Next:**

- **[Excel Formulas to Calculate Net Present Value (NPV) ~ Simple Guide!!](https://geekexcel.com/excel-formulas-to-calculate-net-present-value-npv/)**
- **[Calculate the Present Value of Annuity ~ Useful Tricks!!](https://geekexcel.com/excel-formulas-to-calculate-the-present-value-of-annuity/)**
- **[Excel Formulas to Get the Percentage Discount ~ Useful Tricks!!](https://geekexcel.com/excel-formulas-to-get-the-percentage-discount/)**
- **[use the MIRR function in Excel office 365? ~ {Quick Steps}](https://geekexcel.com/how-to-use-the-mirr-function-in-excel-office-365-quick-steps/)**
- **[Excel Formulas to Find Original Price from Percentage Discount!!](https://geekexcel.com/excel-formulas-to-find-original-price-from-percentage-discount/)**