Confused and OFFSET

izzy

Board Regular
Joined
Jun 12, 2003
Messages
165
I have a row of values going across maybe 24 columns and the last 5 or 12 columns are zero. Depending on a criteria range. I want to find the first cell address with zero then pull a date with an offset(-1,0) see below.

Mar..Apr..Jun..Jul
..3.....4....0.....0.
=Jun


Can anyone help?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
the below assumes no breaks in data, and data begins in month-1
Book2
ABCDEFGHI
1JanFebMarprJunJulAugSep
2121311105
3Jul
Sheet1
 
Upvote 0
I was reading the help file about index but wasn't really grasping it. But now I see the light. Thanks peeps :)
 
Upvote 0
Here's what i'm doing.
Book1.xls
ABCDEFGHIJ
3Projectedsales
4
5PINNameINVJan-04Feb-04Mar-04Apr-04May-04Jun-04Jul-04
6000APLApples25252525283440
7957045200000
8000ORGOranges881015152226
9423426161---
10
11
12InventoryZeroDate
13000APLApr-04
14000ORGMay-04
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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