Formula to highlight times + or - 15 mins from a set time in a column

Mark24931816

New Member
Joined
Jan 12, 2017
Messages
7

<tbody>
[TD="class: votecell"]

[/TD]
[TD="class: answercell"]Hello Ladies and Gents


I have been tasked to do the below but have no idea where to start, very grateful for any help in solving this issue

I have populated the spreed sheet as below with the timings



  • Column A = Time car should have arrived
  • Column B = Time car actually arrived
  • Column C = needs to highlight cars that arrived either early (Orange) or late (Red) by 15 min's or over either early or late from
Column A time

is this possible? And can anyone help me please

thank you in advance

[/TD]

</tbody>
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi, welcome to the board.

It's certainly possible, how do you want to highlight it exactly ?

Simplest would be a formula to write in the word "EARLY" or "LATE" or similar, but there are other ways, including conditional formating to apply colours.
 
Upvote 0
Hello Gerald

Many thanks for the swift response, basically i need to split a ton of time data into the ones that arrived either over or under 15 mins from the fixed time in column A, if i can display it in one column via a highlighted colour to differentiate between what was early and what was late.
or early in one column and late in another on the spread sheet so i can split them from the on time arrivals

i hope this makes some kind of sense

Mark
 
Upvote 0
OK, let's keep it simple to start with.

Let's assume you want to insert the word "EARLY" in one column, if the car arrived more than 15 minutes early.

Let's also assume that your times are proper Excel time values, not text strings.

=if(B2< (A2-(15/60/24)),"EARLY","")

This should insert EARLY into the cell if the car arrived more than 15 minutes early, and show a blank if it arrived less than 15 min early, or on time, or late.

Is this OK so far ?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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