🔹 OFFSET function
🔸 Syntax
OFFSET(reference, rows, cols, [height], [width])
Reference Required
سلول مرجع
Rows Required
تعداد سطرها بالاتر یا پایین تر از سلول مرجع
Cols Required
تعداد ستونها بعد یا قبل از سلول مرجع
Height Optional
تعداد سطر محدوده مورد نظر
Width Optional
تعداد ستونهای محدوده مورد نظر
🔸 Remarks
If height or width is omitted, it is assumed to be the same height or width as reference.
OFFSET can be used with any function expecting a reference argument
For example, the formula SUM(OFFSET(C2,1,2,3,1)) calculates the total value of a 3-row by 1-column range that is 1 row below and 2 columns to the right of cell C2.
🔸 Examples
=OFFSET(D3,3,-2,1,1)
Displays the value in cell B6
=SUM(OFFSET(D3:F5,3,-2, 3, 3))
Sums the range B6:D8
=OFFSET(D3, -3, -3)
Returns an error, because the reference is to a non-existent range on the worksheet.
#REF!
#اکسل
eitaa.com/Electronic_Groups/224