Monday 11 August 2014

Excel - Cell References


Excel - Cell References

In excel, Cell references are really significant. Be careful while copying your formula there are  three types of cell references Relative, Absolute and Mixed cell reference. Let’s look at details of each type.
 Relative cell reference:
  
This is most widely practiced type of cell reference. By default excel uses Relative cell reference (cell reference that adjust and switch when you copy or Autofill formula)
 

Select D2 cell and use autofill function (move cursor to the lower right corner and double click on + sign) or copy same formula till D7 it will automatically change cell references as indicated in below table and estimate amount of each product by multiplying quantity and Unite price.
  
  
 Absolute Cell Reference:
In this type references will remain the same when a formula is copied to a new location. No matter where the formula or the values in the original cell are moved, the formula will continue to refer to the same cell.
Look at below example for Absolute cell reference.
To calculate the discount amount write a formula in E2 “=D2*$B$10”, $ sign will indicate that cell will remain same even if we copy that formula wherever in a worksheet.


Now copy formula till E7 it will calculate the discount amount for each product by using single value that is 4% (B10).


Mixed Cell Reference:
Sometimes we require a combination of relative and absolute reference (mixed reference).
Example, if you have to calculate the amount after discount for two different months at different rate of discount. In below example, select H3 and write a formula “=D3-(D3*B$12)” if you have noticed that we used only one $ sign before the numeral. Which indicates you have fixed the row not a column.
Now copy H3 formula and paste in H3:I8 range and see how excel refereeing discount rate for each product by month.
 
Summary of Cell reference:
I hope this post has made these cell reference types clear! 
 

4 comments:

  1. Thanks for sharing this useful information. Can you please let me know how use different datasets in a pivot?

    ReplyDelete
    Replies
    1. hey checkout this link hope it will help you :)
      http://sulemanmulani.blogspot.in/2014/08/combining-multiple-tables-in-pivottable_28.html

      Delete
  2. Hi Suleman,

    Can you please share information about all SUM functions?

    ReplyDelete
    Replies
    1. sure but there are so many sum functions like (SUM, SUMIF, SUMIFS, SUMPRODUCT, SUMSQ, SUMX2MY2, ....)

      if you could let me know for what or which calculation you looking help then i can specifically give you the same

      Delete