# Example of OFFSET when data is stored in rows not columns

#### tewellt

##### New Member
I have been trying to find an example of the OFFSET formula for a dynamic range for data stored in rows and not columns. For example Date is stored in row A (A3:Z3) and Score stored in row B (B3:Z3). All I can find is examples of data in columns. What I am trying to accomplish is to create a dynamic chart that the user can manipulate to show the range of dates they are interested in viewing.

I had an example of the Offset where it took into account the fact that the data row will contuniune to grow as time goes by.

Any examples and/or quidance would be extremely helpful.

### Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

#### JLGWhiz

##### Well-known Member
I have been trying to find an example of the OFFSET formula for a dynamic range for data stored in rows and not columns. For example Date is stored in row A (A3:Z3) and Score stored in row B (B3:Z3). All I can find is examples of data in columns. What I am trying to accomplish is to create a dynamic chart that the user can manipulate to show the range of dates they are interested in viewing.

I had an example of the Offset where it took into account the fact that the data row will contuniune to grow as time goes by.

Any examples and/or quidance would be extremely helpful.

Is something like this what you are looking for?

Code:
``=OFFSET(B3,0,0,1,COUNTA(B3:Z3))``

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,028
Messages
5,835,032
Members
430,333
Latest member
jaypatel1298

### 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.

### Which adblocker are you using?

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

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