{"id":12111,"date":"2011-12-19T19:17:56","date_gmt":"2011-12-19T19:17:56","guid":{"rendered":"http:\/\/www.learnexcelmacro.com\/?p=1107"},"modified":"2011-12-19T19:17:56","modified_gmt":"2011-12-19T19:17:56","slug":"relative-and-absolute-reference","status":"publish","type":"post","link":"https:\/\/vmlogger.com\/excel\/2011\/12\/relative-and-absolute-reference\/","title":{"rendered":"References In Excel Formulas – Absolute and Relative"},"content":{"rendered":"
This article is not about Excel Macro but this is about Absolute and Relative References<\/strong> in Excel formula. In Excel Formulas, as you have seen, for referring any cell, we use the Address (Reference) of that Cell like A1, B2 etc. This is called Cell Reference in Excel. In other words you can call it as Cell Address. <\/strong> This Cell reference is categorized in two category called : Absolute Reference<\/strong> and Relative Reference<\/strong><\/p>\n While referring any Cell in Excel if you give the reference as A1, B50 etc<\/strong>. This is called Relative Reference. In this case suppose you have used formula as =A1 somewhere and drag down in the same column then “1”<\/strong> of the formula =A1<\/strong> will be incrementing automatically and for example at 50th Row the Formula will turn to “=A50”. Similarly if you drag the same in same row then A<\/strong> of the formula =A1<\/strong> will be changing as per the Column name like B, C, D etc. For example formula =A1 will be turned to =E1 in the E column.<\/p>\n If you refer the same Formula =A1 as =$A$1. This is called Absolute Reference. while dragging in the Column or row Cell Reference remains same before which $ sign is placed. You can also refer a cell like =A$1 or =$A1<\/strong> In Excel Formula just by pressing “F4” key you can toggle between all the above style of References. So if you want to Change the formula in a specific Style then keep pressing F4 and stop when it is as per your expected style.<\/p>\n Even with Absolute Referencing, if you delete any row or column then formula gets changed. If you want to overcome that also, then you can use INDIRECT<\/strong> function. For example: =INDIRECT(“A1”)<\/strong>.<\/p>\n This function does not consider the reference as “Address”. It accepts it as a normal Text rather than Address. and that is the reason it never change the Value “A1”. So if you want a Truly Absolute formula then use this INDIRECT<\/strong> function.<\/p>\n<\/span>","protected":false},"excerpt":{"rendered":" This article is not about Excel Macro but this is about Absolute and Relative References in Excel formula. In Excel Formulas, as you have seen, for referring any cell, we use the Address (Reference) of that Cell like A1, B2 etc. This is called Cell Reference in Excel. In other words you can call it […]<\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1672],"tags":[],"class_list":["post-12111","post","type-post","status-publish","format-standard","hentry","category-excel-formula"],"yoast_head":"\n1. Relative Reference:<\/h3>\n
2. Absolute Reference:<\/h3>\n
\nIn below example we will see what is the difference between all the above mentioned 3 ways of referring a cell A1.
\n <\/p>\n\n
\n\n
\n Reference<\/strong><\/td>\n Explanation<\/strong><\/td>\n<\/tr>\n \n =A1<\/strong><\/td>\n Both Column Name and Row Number are changeable. On dragging in same column Number will increase and on dragging in same row, column Name will be increasing as explained Above. This is called Relative Reference<\/strong><\/td>\n<\/tr>\n \n =$A$1<\/strong><\/td>\n Both Column Name and Row Number are fixed. On dragging formula anywhere Column Name and Row number, none of them will vary. It will remain fixed. Note:This gets changed only when you delete any row or column. At the end of this Article, we have discussed how to handle this as well.<\/strong><\/td>\n<\/tr>\n \n =$A1<\/strong><\/td>\n Column Name will remain always fixed but Row Number will be changing. Here Column Name is Absolute but Row Number is Relative.<\/td>\n<\/tr>\n \n =A$1<\/strong><\/td>\n Row Number will remain always FIXED but Column Name will be changing. Here Row Number is Absolute but Column Name is Relative.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/blockquote>\n How to Toggle between all these above References:<\/h3>\n
What is =INDIRECT():<\/h3>\n