# finding a value in a row

#### boris2004

##### New Member
Hello

i can find a value of AG in any row by using;
Row = sum row number
Worksheets("Sheet1").Cells(Row, 33).Value

But if i was to use;

Worksheets("Sheet1").Range("A6:B6").Offset(2, 0).Value

'.Offset(2, 0) = row 8

how would i then find the value of the 'offset row' (8) in cell AG??

Cheers guys,
Boris

### Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

#### Greg Truby

##### MrExcel MVP
Worksheets("Sheet1").Range("A6:B6").Offset(2, 32).Resize(1,1).Value

#### DRJ

##### MrExcel MVP
x = Range("AG" & Range("B6").Offset(2, 0).Row)

#### boris2004

##### New Member
Cheers guys it worked!!!

Cheers,
Boris

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,167,817
Messages
5,855,806
Members
431,765
Latest member
RedleoUK

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

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