Understanding Formula

spectraflame

Well-known Member
Joined
Dec 18, 2002
Messages
829
Office Version
  1. 365
Platform
  1. Windows
Can anyone explain this formula and what it is doing? The OFFSET is confusing me.

=IF(OR(ISBLANK(M67),ISBLANK(C67)),"",IF(OR(ISBLANK(N67),Q67=0,Q67=-1),(L67-M67)*100/D67,((L67-M67)-(AVERAGE(OFFSET(O67,(Q67+1),0)/300*N67,OFFSET(O67,(Q67+(IF(OFFSET(A67,Q67,0)="SEED",0,1))),0)/300*N67)))*100/D67))
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
OFFSET is basically "defining a range".
A range can be many cells, or even one cell.
The benefit to using it is that it can easily be dynamic.
For example: use a count formula to tell it how many rows to go down.
So to define the range it has a starting point. (I like to use $A$1)
The next part after the comma will be how many rows down or up from that starting point.
Then how many columns over do you want to actually start your range at.
Then you say the height, which again could be a formula.
Then the width.
If you omit any of the parts it will basically use zero.

Look through your formula to visualize what range it is referencing.
At times you have to use an OFFSET inside an OFFSET.

I hope this helps, at least in the OFFSET part of the formula.
 
Upvote 0

Forum statistics

Threads
1,215,856
Messages
6,127,365
Members
449,381
Latest member
Aircuart

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top