Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
smoore
 
Posts: n/a
Default Possible index/match problem?

II have a list that contains col. A with dates in it. Cols. B, C, D, E,
and so on contains either a number or "Free" or "Vac". I need to
extract the dates that have Vac. beside them and have them listed on
another sheet, per the following example. Is index/match the way to go
about this? Thanks for any help you can give.

Date Tom Dick Harry
1/2 8 8
Vac.
1/3 8 Vac. 8
1/4 Vac. 8 Free
1/5 Vac. Vac. 8




Summary on next sheet:

Tom Dick Harry
1/4 1/3 1/2
1/5 1/5

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
smoore
 
Posts: n/a
Default Possible index/match problem?

My formatting got a little skewed in the posting. The Vac. that shows
up in A3 was originally in D2 un der Harry.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Possible index/match problem?

I was hoping that someone would post a solution to this as it represents a
common theme that I've seen that I as yet have not been able to solve (using
a function. I'm sure it could be done with VBA.) The formula that I came up
with, which obviously doesn't work is:
=INDEX(Sheet1!$A$2:$A$5,MATCH("Vac.",OFFSET($A$1,1 ,MATCH(B$7,$B$1:$D$1,0),5,1),0))

This appears to give the correct info for the first instance of Vac., but
what I have problems with is coming up with a way to have the formula
basically start the search over from the previously found instance. In other
words, it will always return the first occurrence.

I don't know if there is a formulaic solution to this. If there is, I would
love to know what it is.
--
Kevin Vaughn


"smoore" wrote:

My formatting got a little skewed in the posting. The Vac. that shows
up in A3 was originally in D2 un der Harry.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
smoore
 
Posts: n/a
Default Possible index/match problem?

Kevin, do a search in this group for "List date adjacent to
duplicates". Biff has come up with a solution for us that works
seamlessly. Good luck with yours.

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
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Only text values matching using index/match lookup - data type pro Stanton Excel Worksheet Functions 1 August 2nd 05 01:05 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


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