Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bam Bam is offline
external usenet poster
 
Posts: 48
Default LookUp (Date) Value from Forecast Data - From 2nd Sheet

Previously... I had in issue which was resolved by using the following.

Dates in the range D1:J1
Usage amounts in the range D2:J2
Stock on hand in C2

Entered as an array** :

=INDEX(D1:J1,MATCH(TRUE,SUBTOTAL(9,OFFSET(D2:J2,,, ,COLUMN(D2:J2)-MIN(COLUMN(D2:J2))+1))=C2,0))

Format as date

A result of #N/A means you will not run out of stock.

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Thankyou (Biff)


My new problem is similar except that my forecast is on a seperate sheet
and I need to use a match/vlookup? formula to get the row numbers of where
the usage amounts are.

Sheetname = Data.

Dates in the range - Data!$G$1:$AA$1 (Constant)

Usage amounts in the range Data!$G$x:$AA$x
(where "x" = the row(s) number.)

I don't know the row number unless I use Match.
Eg: =MATCH(VALUE(A4),Data!A:A,0) - Which Returns "16" - Which is the
correct row number.

Is there a way of incorporating the Match formula into thearray??

Note: The Usage amount are spread over 2 rows.
Eg: Data!$G$2:$AA$3

Any help would be much appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default LookUp (Date) Value from Forecast Data - From 2nd Sheet

Yes, use INDIRECT.

INDIRECT("Data!$G$"&MATCH(VALUE(A4),Data!A:A,0)&": $AA
$"&MATCH(VALUE(A4),Data!A:A,0))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 272
Default LookUp (Date) Value from Forecast Data - From 2nd Sheet

Try inserting x-2 into the row offset part of Biff's formula where x is the
result of your match formula.

To make it non-volatile, you could try replacing subtotal(...) by:
prob(D1:J1*{1;-1},index(D:J,x,)*{1;-1}+(D1:J1=D1)*{0;1},,D1:J1)

"Bam" wrote:

Previously... I had in issue which was resolved by using the following.

Dates in the range D1:J1
Usage amounts in the range D2:J2
Stock on hand in C2

Entered as an array** :

=INDEX(D1:J1,MATCH(TRUE,SUBTOTAL(9,OFFSET(D2:J2,,, ,COLUMN(D2:J2)-MIN(COLUMN(D2:J2))+1))=C2,0))

Format as date

A result of #N/A means you will not run out of stock.

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Thankyou (Biff)


My new problem is similar except that my forecast is on a seperate sheet
and I need to use a match/vlookup? formula to get the row numbers of where
the usage amounts are.

Sheetname = Data.

Dates in the range - Data!$G$1:$AA$1 (Constant)

Usage amounts in the range Data!$G$x:$AA$x
(where "x" = the row(s) number.)

I don't know the row number unless I use Match.
Eg: =MATCH(VALUE(A4),Data!A:A,0) - Which Returns "16" - Which is the
correct row number.

Is there a way of incorporating the Match formula into thearray??

Note: The Usage amount are spread over 2 rows.
Eg: Data!$G$2:$AA$3

Any help would be much appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bam Bam is offline
external usenet poster
 
Posts: 48
Default LookUp (Date) Value from Forecast Data - From 2nd Sheet

Lori, I'm not to sure what you mean?

Can you put it into the formula for me to test?

Thanks for your help.

"Lori" wrote:

Try inserting x-2 into the row offset part of Biff's formula where x is the
result of your match formula.

To make it non-volatile, you could try replacing subtotal(...) by:
prob(D1:J1*{1;-1},index(D:J,x,)*{1;-1}+(D1:J1=D1)*{0;1},,D1:J1)

"Bam" wrote:

Previously... I had in issue which was resolved by using the following.

Dates in the range D1:J1
Usage amounts in the range D2:J2
Stock on hand in C2

Entered as an array** :

=INDEX(D1:J1,MATCH(TRUE,SUBTOTAL(9,OFFSET(D2:J2,,, ,COLUMN(D2:J2)-MIN(COLUMN(D2:J2))+1))=C2,0))

Format as date

A result of #N/A means you will not run out of stock.

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Thankyou (Biff)


My new problem is similar except that my forecast is on a seperate sheet
and I need to use a match/vlookup? formula to get the row numbers of where
the usage amounts are.

Sheetname = Data.

Dates in the range - Data!$G$1:$AA$1 (Constant)

Usage amounts in the range Data!$G$x:$AA$x
(where "x" = the row(s) number.)

I don't know the row number unless I use Match.
Eg: =MATCH(VALUE(A4),Data!A:A,0) - Which Returns "16" - Which is the
correct row number.

Is there a way of incorporating the Match formula into thearray??

Note: The Usage amount are spread over 2 rows.
Eg: Data!$G$2:$AA$3

Any help would be much appreciated.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LookUp (Date) Value from Forecast Data Bam Excel Worksheet Functions 8 September 14th 08 02:29 AM
Forecast a date from data given Jelewis72076 Excel Discussion (Misc queries) 4 April 4th 08 12:45 AM
how do I fix a forecast date that has passed for a zero value? chicken Excel Discussion (Misc queries) 0 November 29th 06 06:05 AM
How can I Lookup and sum payments for cash flow forecast? Aaron Excel Worksheet Functions 4 October 28th 05 06:51 PM
how to use lookup a value by date for criteria in Excel sheet dom Excel Worksheet Functions 5 January 11th 05 04:22 AM


All times are GMT +1. The time now is 06:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"