Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AG AG is offline
external usenet poster
 
Posts: 54
Default vlookup in the row below the target row

I have the following table.
part start mid end
ABCD plan 01-Jan 01-Feb 01-Mar
actual/projected 01-Jan 05-Feb 05-Mar
EFGH plan 01-Feb 01-Mar 01-Apr
actual/projected 10-Feb 10-Mar 10-Apr

With this vlookup formula, I can lookup the plan date -
=VLOOKUP("ABCD plan",A2:D5,2,FALSE)
but I really want to capture the actual/projected date in the row below the
plan row. How do I do this?
--
Alan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default vlookup in the row below the target row

Try this:

=INDEX(B2:B5,MATCH("ABCD plan",A2:A5,0)+1)

To get the other dates change B2:B5 to C2:C5 or D2:D5.

Hope this helps.

Pete

On May 10, 1:14*am, AG wrote:
I have the following table.
part * * * * * * * * * * * * * * * * * *start * mid * * end
ABCD plan * * * * * * * * * * * * * * * * * * * 01-Jan *01-Feb *01-Mar
* * * * *actual/projected * * * 01-Jan *05-Feb *05-Mar
EFGH plan * * * * * * * * * * * * * * * * * * * 01-Feb *01-Mar *01-Apr
* * * * *actual/projected * * * 10-Feb *10-Mar *10-Apr

With this vlookup formula, I can lookup the plan date -
* * *=VLOOKUP("ABCD plan",A2:D5,2,FALSE)
but I really want to capture the actual/projected date in the row below the
plan row. How do I do this?
--
Alan


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AG AG is offline
external usenet poster
 
Posts: 54
Default vlookup in the row below the target row

This worked.

I have another question: Is there a way to capture the text color as well?

Alan
--
Alan


"Pete_UK" wrote:

Try this:

=INDEX(B2:B5,MATCH("ABCD plan",A2:A5,0)+1)

To get the other dates change B2:B5 to C2:C5 or D2:D5.

Hope this helps.

Pete

On May 10, 1:14 am, AG wrote:
I have the following table.
part start mid end
ABCD plan 01-Jan 01-Feb 01-Mar
actual/projected 01-Jan 05-Feb 05-Mar
EFGH plan 01-Feb 01-Mar 01-Apr
actual/projected 10-Feb 10-Mar 10-Apr

With this vlookup formula, I can lookup the plan date -
=VLOOKUP("ABCD plan",A2:D5,2,FALSE)
but I really want to capture the actual/projected date in the row below the
plan row. How do I do this?
--
Alan



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
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
Use Vlookup or similiar function to find the row of the target cel J@Y Excel Discussion (Misc queries) 3 February 9th 07 08:37 PM
Variable VLOOKUP source and target Vindaloo Excel Worksheet Functions 4 April 11th 06 03:56 PM
Target Param Excel Worksheet Functions 1 March 16th 06 08:13 PM
Can VLOOKUP deliver the second occurence when target column entri. IdeaRat Excel Worksheet Functions 3 April 1st 05 07:08 PM


All times are GMT +1. The time now is 06:42 PM.

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"