Return Column where number drops Below zero

BellaxPalus

New Member
Joined
Apr 26, 2013
Messages
6
:oops:I have been trying to figure out how to get the excel to return the column that causes the value of a cell to drop below 0. :oops:Ie A1=3 B1=5 C1=5 so A1-B1-C1=-7 but Column B is where the 0 value is passed. Must not have VBA for the environment that I work in. The Total TDY of 65 is listed in B2 and I use
Code:
=$B$2-SUMIF($C3:$AA3,"<>",$C$2:$AA$2)
to calculate the numbers of days remaining in the travel year for each individual. The number of days that are subtracted for each trip are listed in Row 2. I need to be able to list which trip causes each person to go beyond their maximum in another cell on the page. Below is a sanitized excerpt of my sheet. Thank you for your assistance.

NamesTotal TDYTripTrip 2Trip 3Trip 4Trip 5Trip 6Trip 7Trip 8Trip 9Trip 10Trip 11Trip12Trip 13
6515161320122019122020131719
Person 1-13x
Person 2-29xxx
Person 3-21xx
Person 4-30xxx
Person 5-24xxx
Person 6-32xx
Person 7-3xx
Person 830xx
Person 97x
Person 1021xx
Person 1145
Person 1265
Person 1365

<tbody>
</tbody>


Over TDY Use during:
Person 1
Person 2
Person 3
Person 4
Person 5
Person 6
Person 7
Person 8
Person 9
Person 10
Person 11
Person 12
Person 13

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Watch MrExcel Video

Forum statistics

Threads
1,123,271
Messages
5,600,651
Members
414,399
Latest member
Ninjee

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
Top