Home » » Relative Vs. Absolute Referencing in Google Sheets

Relative Vs. Absolute Referencing in Google Sheets

Relative Vs. Absolute Referencing in Google Sheets

Google Sheets is a powerful tool for working with data and performing calculations. However, to make the most of it, you need to understand how to use cell references in your formulas. Cell references are the way you refer to the values or formulas in other cells. For example, if you want to add the numbers in cells A1 and B1, you can write a formula like this: =A1+B1.

But what happens if you copy this formula to another cell, or fill it across a range of cells? Will the formula still work as intended, or will it produce incorrect results? The answer depends on the type of cell references you use: relative or absolute.

Relative References

Relative references are the default type of cell references in Google Sheets. They are called relative because they change relative to the position of the cell where they are copied or filled. For example, if you copy the formula =A1+B1 from cell C1 to cell D1, it will change to =B1+C1. This is because the column references (A and B) are relative to the column of the destination cell (D).

Relative references are useful when you want to apply the same formula to different sets of data. For example, if you have a table of sales data for different products and regions, and you want to calculate the total sales for each product, you can use a relative reference like this: =B2+C2+D2+E2. Then you can copy this formula down to the other rows, and it will automatically adjust to the corresponding cells.

![Sales Data Table]

However, relative references can also cause problems when you want to keep some parts of your formula constant. For example, if you want to calculate the sales tax for each product, you might use a formula like this: =F2*0.07, where 0.07 is the tax rate. But if you copy this formula down to the other rows, it will change to =F3*0.08, =F4*0.09, and so on, assuming that the tax rate is different for each product.

![Sales Tax Problem]

This is obviously not what you want. To fix this, you need to use absolute references.

Absolute References

Absolute references are cell references that do not change when they are copied or filled to other cells. They are indicated by a dollar sign ($) before the column and/or row reference. For example, $A$1 is an absolute reference that always refers to cell A1, no matter where it is copied or filled.

Absolute references are useful when you want to lock in a specific value or formula in your calculations. For example, if you want to calculate the sales tax for each product using a fixed tax rate of 0.07, you can use an absolute reference like this: =F2*$G$1, where G1 is the cell that contains the tax rate. Then you can copy this formula down to the other rows, and it will always use the same tax rate.

![Sales Tax Solution]

You can also use mixed references, which are cell references that have only one part absolute and one part relative. For example, $A1 is a mixed reference that has an absolute column reference (A) and a relative row reference (1). This means that it will always refer to column A, but it will change its row reference depending on where it is copied or filled.

Mixed references are useful when you want to lock in one dimension of your data, but not the other. For example, if you want to calculate the percentage of total sales for each product, you can use a mixed reference like this: =F2/$F$9, where F9 is the cell that contains the grand total of sales. Then you can copy this formula across and down to the other cells, and it will always divide by the grand total in row 9, but it will adjust its numerator according to the product and region.

![Percentage of Total Sales]

How to Use Relative and Absolute References in Google Sheets

To use relative and absolute references in Google Sheets, you need to know how to enter them in your formulas. You can type them manually using your keyboard, or you can use your mouse or touchpad to select the cells you want to refer to.

When you type a cell reference manually, you can use the F4 key on your keyboard to toggle between different types of references. For example, if you type =A1 and then press F4, it will change to =$A$1. If you press F4 again, it will change to =A$1. If you press F4 once more, it will change to =$A1. And if you press F4 one last time, it will go back to =A1.

When you use your mouse or touchpad to select a cell reference, you can see a small blue box around the cell you are referring to. You can also see the cell reference in the formula bar. To change the type of reference, you can click on the cell reference in the formula bar and then press F4 to toggle between different types.

Alternatively, you can use the formula menu to insert cell references in your formulas. To do this, click on the fx icon next to the formula bar, and then select the function you want to use. A dialog box will appear, where you can enter the arguments for the function. To enter a cell reference as an argument, you can either type it manually, or click on the cell picker icon next to the argument box and then select the cell you want to refer to. You can also change the type of reference by clicking on the arrow next to the cell picker icon and choosing from the options.

![Formula Menu]

Conclusion

Relative and absolute references are two types of cell references that behave differently when copied and filled to other cells. Relative references change according to the position of the destination cell, while absolute references remain constant. You can use relative and absolute references in Google Sheets to control how your formulas work with different sets of data. You can also use mixed references, which have one part relative and one part absolute. To enter and change cell references in your formulas, you can use your keyboard, mouse, touchpad, or formula menu.

Relative and absolute references are essential skills for working with data and calculations in Google Sheets. By mastering them, you can create more dynamic and accurate spreadsheets that suit your needs.

1: Google Sheets Relative and Absolute References - W3Schools 2: Absolute and Relative Cell References in Google Sheets Explained 3: Google Sheets: Types of Cell References - GCFGlobal.org : [Sales Data Table] : [Sales Tax Problem] : [Sales Tax Solution] : [Percentage of Total Sales] : [Formula Menu]

0 মন্তব্য(গুলি):

একটি মন্তব্য পোস্ট করুন

Comment below if you have any questions

অফিস/বেসিক কম্পিউটার কোর্স

এম.এস. ওয়ার্ড
এম.এস. এক্সেল
এম.এস. পাওয়ার পয়েন্ট
বাংলা টাইপিং, ইংরেজি টাইপিং
ই-মেইল ও ইন্টারনেট

মেয়াদ: ২ মাস (সপ্তাহে ৪দিন)
রবি+সোম+মঙ্গল+বুধবার

কোর্স ফি: ৪,০০০/-

গ্রাফিক ডিজাইন কোর্স

এডোব ফটোশপ
এডোব ইলাস্ট্রেটর

মেয়াদ: ৩ মাস (সপ্তাহে ২দিন)
শুক্র+শনিবার

কোর্স ফি: ৮,৫০০/-

ওয়েব ডিজাইন কোর্স

এইচটিএমএল ৫
সিএসএস ৩

মেয়াদ: ৩ মাস (সপ্তাহে ২দিন)
শুক্র+শনিবার

কোর্স ফি: ৮,৫০০/-

ভিডিও এডিটিং কোর্স

এডোব প্রিমিয়ার প্রো

মেয়াদ: ৩ মাস (সপ্তাহে ২দিন)
শুক্র+শনিবার

কোর্স ফি: ৯,৫০০/-

ডিজিটাল মার্কেটিং কোর্স

ফেসবুক, ইউটিউব, ইনস্টাগ্রাম, এসইও, গুগল এডস, ইমেইল মার্কেটিং

মেয়াদ: ৩ মাস (সপ্তাহে ২দিন)
শুক্র+শনিবার

কোর্স ফি: ১২,৫০০/-

অ্যাডভান্সড এক্সেল

ভি-লুকআপ, এইচ-লুকআপ, অ্যাডভান্সড ফাংশনসহ অনেক কিছু...

মেয়াদ: ২ মাস (সপ্তাহে ২দিন)
শুক্র+শনিবার

কোর্স ফি: ৬,৫০০/-

ক্লাস টাইম

সকাল থেকে দুপুর

১ম ব্যাচ: সকাল ০৮:০০-০৯:৩০

২য় ব্যাচ: সকাল ০৯:৩০-১১:০০

৩য় ব্যাচ: সকাল ১১:০০-১২:৩০

৪র্থ ব্যাচ: দুপুর ১২:৩০-০২:০০

বিকাল থেকে রাত

৫ম ব্যাচ: বিকাল ০৪:০০-০৫:৩০

৬ষ্ঠ ব্যাচ: বিকাল ০৫:৩০-০৭:০০

৭ম ব্যাচ: সন্ধ্যা ০৭:০০-০৮:৩০

৮ম ব্যাচ: রাত ০৮:৩০-১০:০০

যোগাযোগ:

আলআমিন কম্পিউটার প্রশিক্ষণ কেন্দ্র

৭৯৬, পশ্চিম কাজীপাড়া বাসস্ট্যান্ড,

[মেট্রোরেলের ২৮৮ নং পিলারের পশ্চিম পাশে]

কাজীপাড়া, মিরপুর, ঢাকা-১২১৬

মোবাইল: 01785 474 006

ইমেইল: alamincomputer1216@gmail.com

ফেসবুক: facebook.com/ac01785474006

ব্লগ: alamincomputertc.blogspot.com

Contact form

নাম

ইমেল *

বার্তা *