Comparing values within a named range

Status
Not open for further replies.

JamesMac

New Member
Joined
Mar 23, 2018
Messages
7
Hi,

I am learning about named ranges.

I have a set of records that provides information about when an event starts and ends.
There are multiple events that occur within a day.
I need to determine what the delay was between each event.
See the table below for an example.
The named ranges are: "Start Time", "End Time" and "Delay between events".
Without Named ranges, I simply used standard row/column references.
How do I write a formula that subtracts a named range in one event, from a named range in another event?

[TABLE="width: 502"]
<colgroup><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD] [/TD]
[TD]Start Time[/TD]
[TD] [/TD]
[TD]End Time[/TD]
[TD] [/TD]
[TD]Delay between events[/TD]
[/TR]
[TR]
[TD]Event 1[/TD]
[TD] [/TD]
[TD]STEvent1[/TD]
[TD] [/TD]
[TD]EtEvent1[/TD]
[TD] [/TD]
[TD]N/A[/TD]
[/TR]
[TR]
[TD]Event 2[/TD]
[TD] [/TD]
[TD]StEvent2[/TD]
[TD] [/TD]
[TD]EtEvent2[/TD]
[TD] [/TD]
[TD]=EtEvent1-StEvent2[/TD]
[/TR]
[TR]
[TD]Event 3[/TD]
[TD] [/TD]
[TD]STEvent3[/TD]
[TD] [/TD]
[TD]EtEvent3[/TD]
[TD] [/TD]
[TD]=EtEvent2-StEvent3[/TD]
[/TR]
</tbody>[/TABLE]


Any insights would be much appreciated.
Thank you,
Jim
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Status
Not open for further replies.

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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