Excel Help

jassa

New Member
Joined
Feb 7, 2014
Messages
37
Office Version
  1. 365
Hi All,

Hopefully i wont confuse this matter.

I have for example a bus timetable.

2345
260708090
370809090
480909010
590100110120

<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>

The top row and left column are the bus stops. The double and triple numbers are how long it takes for the bus to make it across as a maximum so should always be within this time.

Is their a formulae i can use to find out if i have the time the bus leave and arrives using the terminals as a reference to how long it should take and if it made it within that time.

Any help would be helpful.

Many thanks.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Excel 2016 (Windows) 32 bit
ABCDEFGH
12345Depart Terminal5
2260708090Depart Time17:00
3370809090Arrive Terminal5
44809090100Arrive Time18:30
5590100110120Target Met?Yes
Sheet1
Cell Formulas
RangeFormula
H5=IF($H$4<=($H$2+TIME(0,INDEX($A$1:$E$5,MATCH($H$1,$A$1:$A$5,0),MATCH($H$3,$A$1:$E$1,0)),0)),"Yes","No")


WBD
 
Upvote 0

Excel 2016 (Windows) 32 bit
ABCDEFGH
12345Depart Terminal5
2260708090Depart Time17:00
3370809090Arrive Terminal5
44809090100Arrive Time18:30
5590100110120Target Met?Yes
Sheet1
Cell Formulas
RangeFormula
H5=IF($H$4<=($H$2+TIME(0,INDEX($A$1:$E$5,MATCH($H$1,$A$1:$A$5,0),MATCH($H$3,$A$1:$E$1,0)),0)),"Yes","No")


WBD
 
Upvote 0
Hi Dixon,

This worked perfectly. Many Thanks :) :) :) :)


Excel 2016 (Windows) 32 bit
ABCDEFGH
12345Depart Terminal5
2260708090Depart Time17:00
3370809090Arrive Terminal5
44809090100Arrive Time18:30
5590100110120Target Met?Yes

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
H5=IF($H$4<=($H$2+TIME(0,INDEX($A$1:$E$5,MATCH($H$1,$A$1:$A$5,0),MATCH($H$3,$A$1:$E$1,0)),0)),"Yes","No")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



WBD
 
Upvote 0
@jassa,

In the future, please at least make an attempt at a meaningful title. "Excel help" covers every question in this section of the forum!
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,702
Members
449,048
Latest member
81jamesacct

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top