Ideas on how to do a calculation

Ethvia

Board Regular
Joined
Mar 10, 2009
Messages
63
Thanks for reading this.

I have a task that requires me to calculate what level of alert our business is at each hour. The data is stored as follows:

Time Alert Level
1/1/11 5:00pm 3
1/1/11 8:00pm 4
1/7/11 7:00am 3

What I want to get out of this is:

Alert Level Hour
3 1/1/11 5pm
3 1/1/11 6pm
3 1/1/11 7pm
4 1/1/11 8pm
4 1/1/11 9pm
... .... (this would continue by hour until it hits the next change)
3 1/7/11 7am

Does anyone have any idea on how to accomplish this?

thanks!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Well, to me the obvious solution is to use VLOOKUP() in Excel.

Just use 'True' as the last parameter and it will match the highest date that doesn't exceed the date that you're after.
 
Upvote 0
Thanks Chris, but I'm trying to do this completely in Access so it can run when I'm not at work. I appreciate you taking the time to answer.
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,487
Members
452,917
Latest member
MrsMSalt

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