Run Out Times

rsgjr1970

New Member
Joined
Jan 8, 2008
Messages
28
Good Afternoon,
I am having trouble coming up with a formula and/or macro and/or array that will work for me. I have about 50 rows of part numbers with inventory and netted demand for the next 24 hours. I want to have a column that shows the run-out time (when the number goes negative), but can't figure it out.

Row 1: Column A (Part Number), Column G:AD (Hourly Intervals - in Military Time)
Row 2: Alpha-Numberic part number, Column G:AD (netted inventory levels, which at some point across the row goes negative)

When it goes negative, I want it to come back in Column D with the Military Time that it goes negative.

Any help would be tremendously appreciated.
Thank you.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
In cell D2:

=INDEX($G$1:$AD$1,1,MATCH(TRUE,$G2:$AD2<0,0))

entered with Ctrl+Shift+Enter, which puts in { and } around the formula to create an array formula. Then fill down column D for each row.
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,004
Members
449,203
Latest member
Daymo66

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