Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Index or Offset at specific intervals???

Hi, I'm struggling here.

Here is my Layout:

Period 1 Period 2
Period 3 ...
Cost Unit Hours Cost Unit Hours Cost
Unit Hours
Worker 1
Worker 2
Worker 3
....

On a cover sheet, I have a VBA combo box that lists all the Period #'s I've
entered.
I also have a "Cost", "Unit" and "Hours" columns on that cover sheet.

Depending on which Period # is selected on the drop down, I want to populate
the cover sheet with that specific period # data.

I need to use a reference function that can skip columns at regular
intervals, perhaps by using the reference cell tied to the VBA combo box?

To make things trickier, I'm continually adding more data. So every 2
weeks, 3 columns will be tacked on, or all existing data will be shifted over
3 columns (I'd prefer to do it this way), and 1 more Period # will be added
to the drop down list.

I'm sure someone's had to deal with this before.

-Beric
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Index or Offset at specific intervals???

I figured it out myself...

=INDEX(Sheet1!$F$2:$JW$300,3,MATCH($B$4,Sheet1!$F$ 2:$JW$2,0)+1)

the MATCH function gives the column location for the INDEX to find the
value. The "+1" Shifts one column to the right.

"Beric Dondarrion" wrote:

Hi, I'm struggling here.

Here is my Layout:

Period 1 Period 2
Period 3 ...
Cost Unit Hours Cost Unit Hours Cost
Unit Hours
Worker 1
Worker 2
Worker 3
...

On a cover sheet, I have a VBA combo box that lists all the Period #'s I've
entered.
I also have a "Cost", "Unit" and "Hours" columns on that cover sheet.

Depending on which Period # is selected on the drop down, I want to populate
the cover sheet with that specific period # data.

I need to use a reference function that can skip columns at regular
intervals, perhaps by using the reference cell tied to the VBA combo box?

To make things trickier, I'm continually adding more data. So every 2
weeks, 3 columns will be tacked on, or all existing data will be shifted over
3 columns (I'd prefer to do it this way), and 1 more Period # will be added
to the drop down list.

I'm sure someone's had to deal with this before.

-Beric

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
OFFSET, INDEX, MOD.. ?? Nastech Excel Discussion (Misc queries) 0 October 13th 08 11:58 AM
using OFFSET(INDEX(MATCH))) Dave F[_2_] Excel Discussion (Misc queries) 3 September 25th 07 06:44 PM
INDEX, MAX, OFFSET, MATCH Joe Gieder Excel Worksheet Functions 2 June 15th 07 01:34 PM
Index, Vlookup, Offset Slider Excel Worksheet Functions 3 May 2nd 07 09:59 PM
Looking in one col, counting in another. OFFSET?INDEX? Help!! Justin Excel Worksheet Functions 6 May 5th 06 12:12 AM


All times are GMT +1. The time now is 04:50 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"