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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

just_jon

Legend
Joined
Sep 3, 2002
Messages
10,473
the below assumes no breaks in data, and data begins in month-1
Book2
ABCDEFGHI
1JanFebMarprJunJulAugSep
2121311105
3Jul
Sheet1
 
Upvote 0

izzy

Board Regular
Joined
Jun 12, 2003
Messages
165
I was reading the help file about index but wasn't really grasping it. But now I see the light. Thanks peeps :)
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
izzy said:
I was reading the help file about index but wasn't really grasping it. But now I see the light. Thanks peeps :)

Are these 0 entries real or just placeholders?
 
Upvote 0

izzy

Board Regular
Joined
Jun 12, 2003
Messages
165
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,187,172
Messages
5,962,031
Members
438,576
Latest member
Cstewart29

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
Top