LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Matching times and classes

Try this...

Daily Sch

A2 = 7:30
A3 = 7:35
A4 = 7:40
etc
etc

Class refes to Others!A$2:A$5
Start refers to Others!B$2:B$5
End refers to Others!C$2:C$5

Enter this array formula** in Daily Sch B2:

=IF(ISNA(MATCH(1,(Start<=A2)*(End=A2),0)),"",INDE X(Class,MATCH(1,(Start<=A2)*(End=A2),0)))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Copy down as needed.

--
Biff
Microsoft Excel MVP


"LS" wrote in message
...
I have two sheets one named Daily Sch and Others. I am using Excel 2003.

Daily Sch
Others
A B A
B C
Time Class Class
Start End
7:30 (formula) Literacy
8:15 10:10
7:35 (formula) Math
11:00 11:55
7:40 (formula) Lunch
10:15 10:40
7:45 (formula) Science
7:30 8:10

Times continue on down on Daily Sch A. The formula should be placed in
Daily Sch B. Lookup the time in Others B and if it finds it should place
the
name of the class in Daily Sch B. If time not found leave Daily Sch B
blank.
Formula will have to look between start and end times.

If the times on Others is also a formula from another sheet will that also
make a difference? Is this impossible?
--
LS Teacher



 
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
charting # Training classes babs Charts and Charting in Excel 0 November 4th 07 03:33 PM
Excel Classes alish Excel Discussion (Misc queries) 3 October 30th 07 01:03 PM
Matching a value that appears multiple times BKGT Excel Worksheet Functions 11 April 27th 06 04:35 PM
data classes Huidekoper Excel Discussion (Misc queries) 1 April 21st 06 04:22 PM
Counting Classes MillerK Excel Discussion (Misc queries) 0 March 10th 06 03:32 PM


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