#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default lookup multiple data

HI,
i have a table that looks like this:

Name step 1 step 2 step 3 step 4 step 5 step 6
A 9-Sep-06 9-Aug-06 10-Oct-06 1-Nov-06 10-Oct-06 1-Dec-06
B 10-Oct-06 1-Dec-06 6-Aug-06 10-Oct-06 1-Jan-07 10-Oct-06


On another sheet, i would like to show what steps will be completed in
October, Nov, etc for each item without havign to renter the information

Name Oct-06 Nov-06 Dec-06
a Step 3 Step 4 Step 6
Step 5 -

b step 1 step 2
step 4
Step 6

Unfortunately, the steps are not sequential, they can happen in any order.
Additionally, there are about 40 steps so a series of IF statements is not
possible.

Thanks Emma
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default lookup multiple data

I reduced the step labels to just numbers.
Name the rows (Steps, ADate, BDate, YearS) with
Insert Name Create Left Column
Use 'Bottom Row' for the column name NameA.
Arrange your input/output data like this:

Steps 1 2 3 4 5 6
ADate 09/09/06 08/09/06 10/10/06 11/01/06 10/10/06 12/01/06
Bdate 10/10/06 12/01/06 08/06/06 10/10/06 01/01/07 10/10/06

YearS 07/01/06 08/01/06 09/01/06 10/01/06 11/01/06 12/01/06 01/01/07
ADate 0 2 1 5 4 6 0
0 0 0 3 0 0 0
0 0 0 0 0 0 0

Bdate 0 3 0 6 0 2 5
0 0 0 4 0 0 0
0 0 0 1 0 0 0
NameA

Use R1C1 to enter formulas. Uncheck R1C1 thereafter.
Enter the starting date in the first cell of YearS.
The next cells in YearS have the formula
=EDATE(YearS C[-1],1)
Below the first cell of YearS, select as many cells as you need,
(in this example only 3 are needed), and enter this array formula:
=LARGE(Steps*(INDIRECT(NameA R)=YearS C)*
(INDIRECT(NameA R)<EDATE(YearS C,1)),TRANSPOSE(Steps))
Copy across the 3 cells for each NameA to cover calendar.

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 Data Brian Excel Discussion (Misc queries) 14 January 25th 07 01:20 AM
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Sorting Data From One Column into Multiple Columns Justin Hoffmann Excel Worksheet Functions 2 July 12th 06 04:15 PM
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Macro that will add data from multiple workbooks to the 1st open r jbsand1001 Excel Discussion (Misc queries) 0 April 23rd 05 07:52 PM


All times are GMT +1. The time now is 05:19 PM.

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

About Us

"It's about Microsoft Excel"