#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpc bpc is offline
external usenet poster
 
Posts: 13
Default If then request

Start times in column A and finish times in column B (formatted as text not
time, although I could change that.) Column C consists of one hour time
periods for all 24 hours of the day. In column D, E, F... I am looking for a
function (probably if/then) to place an X if the time range of A through B
includes the corresponding one hour time periods of column C.


ColumnA Column B Column C Column D Column E Column F
Start Time FinishTime Labels Case#1 Case #2 Case #3
#1. 1234 126 1200 €“ 100 X
#2. 147 312 100 €“ 200 X X
#3. 256 527 200 €“ 300 X
X
300 €“ 400 X
X
400 €“ 500 X
ETC

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If then request

In your example, does 1200 - 100 mean from midday to 1:00 pm? If so,
shouldn't it be 1200 - 1300 ?

Are your finish times (126, 312 etc) in the morning or afternoon? Are
you using a 24-hour clock notation?

Pete

On Sep 22, 5:01*pm, bpc wrote:
Start times in column A and finish times in column B (formatted as text not
time, although I could change that.) Column C consists of one hour time
periods for all 24 hours of the day. *In column D, E, F... I am looking for a
function (probably if/then) to place an X if the time range of A through B
includes the corresponding one hour time periods of column C.

ColumnA * * *Column B * *Column C * Column D *Column E *Column F * * * * * * * *
Start Time * *FinishTime * *Labels * * * Case#1 * * *Case #2 * * Case #3
#1. 1234 * * * * * * 126 * * * * * * *1200 – 100 * * *X
#2. 147 * * * * * * * 312 * * * 100 – 200 * * * X * * * * * * *X
#3. 256 * * * * * * * 527 * * * *200 – 300 * * * * * * * * * * *X * * * * * *
* *X
* * * * * * * * * * * * * * * * * * * *300 – 400 * * * * * * * * * * * X * * * * *
* * * * *X
* * * * * * * * * * * *400 – 500 * * * * * * * * * * * * * * * * * * * *X
* * * * * * * * * * * * * * * * * * * * * *ETC


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
Request Woodi2 Excel Discussion (Misc queries) 0 March 14th 08 03:37 PM
SQL.REQUEST SQL.REQUEST Excel Discussion (Misc queries) 0 November 12th 07 02:34 AM
Request chsjk Excel Worksheet Functions 1 January 31st 06 07:40 PM
sql.request teepee Excel Discussion (Misc queries) 2 December 30th 05 01:34 PM
CHR( ) request Bony Pony Excel Worksheet Functions 3 March 7th 05 09:29 PM


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