garretttpe
New Member
- Joined
- Feb 15, 2015
- Messages
- 26
Hi All
Attached is a spread sheet and I want to be able to add or subtract numbers in a row if there is a I (Install) or R (removed) in the 1st cell. hard to explain and I hope seeing the spread sheet you get what I am trying to do. As of now the "weight" of the item I have to put a negative number for the row calculations to work and that is not right but the only way I know how.
thank you all very much for any help
Attached is a spread sheet and I want to be able to add or subtract numbers in a row if there is a I (Install) or R (removed) in the 1st cell. hard to explain and I hope seeing the spread sheet you get what I am trying to do. As of now the "weight" of the item I have to put a negative number for the row calculations to work and that is not right but the only way I know how.
thank you all very much for any help
test.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
8 | 8/26/2021 | Data Transferred From Previous Chart C | 10,282.0 | 231.47 | 2,380,020.41 | ||||||
9 | 8/26/2021 | Life Raft & Vests | I | 99.8 | 120.20 | 11,995.96 | 10,381.8 | 230.40 | 2,392,016.37 | ||
10 | 8/31/2021 | Life Raft & Vests | R | -99.8 | 120.20 | -11,995.96 | 10,282.0 | 231.47 | 2,380,020.41 | ||
11 | 9/12/2021 | Martin Baker Seat Right 6 | I | 15.0 | 231.91 | 3,478.65 | 10,297.0 | 231.48 | 2,383,499.06 | ||
12 | 9/12/2021 | Martin Baker Seat Right 7 | I | 15.0 | 242.00 | 3,630.00 | 10,312.0 | 231.49 | 2,387,129.06 | ||
13 | 9/12/2021 | Martin Baker Seat Right 8 | I | 15.0 | 252.09 | 3,781.35 | 10,327.0 | 231.52 | 2,390,910.41 | ||
14 | 9/12/2021 | Martin Baker Seat Right 9 | I | 15.0 | 262.18 | 3,932.70 | 10,342.0 | 231.56 | 2,394,843.11 | ||
15 | 9/12/2021 | Martin Baker Seat Right 10 | I | 15.0 | 272.27 | 4,084.05 | 10,357.0 | 231.62 | 2,398,927.16 | ||
16 | 9/12/2021 | Martin Baker Seat Right 11 | I | 15.0 | 282.36 | 4,235.40 | 10,372.0 | 231.70 | 2,403,162.56 | ||
17 | 9/12/2021 | Martin Baker Seat left 16 | I | 15.0 | 246.78 | 3,701.70 | 10,387.0 | 231.72 | 2,406,864.26 | ||
18 | 9/12/2021 | Martin Baker Seat left 17 | I | 15.0 | 266.87 | 4,003.05 | 10,402.0 | 231.77 | 2,410,867.31 | ||
19 | 9/12/2021 | Martin Baker Seat left 18 | I | 15.0 | 286.96 | 4,304.40 | 10,417.0 | 231.85 | 2,415,171.71 | ||
20 | 9/12/2021 | Martin Baker Seat left 19 | I | 15.0 | 307.05 | 4,605.75 | 10,432.0 | 231.96 | 2,419,777.46 | ||
21 | Martin Baker Seat left 17 | R | -15.0 | 266.87 | -4,003.05 | 10,417.0 | 231.91 | 2,415,774.41 | |||
22 | Martin Baker Seat left 18 | R | -15.0 | 286.96 | -4,304.40 | 10,402.0 | 231.83 | 2,411,470.01 | |||
23 | Martin Baker Seat left 19 | R | -15.0 | 307.05 | -4,605.75 | 10,387.0 | 231.72 | 2,406,864.26 | |||
24 | As you can see I have to make the "weight" a negative nuymber for the rest of the row to calculate and that is not correct, If there is a R in "C" then "F" should be subtracted from the previous entry "I" and opposite if there is an "I" in "C" | ||||||||||
25 | |||||||||||
26 | |||||||||||
27 | |||||||||||
New Form C |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F9:F23 | F9 | =D9*E9 |
G9:G23 | G9 | =IF(D9=""," ",G8+D9) |
H9:H23 | H9 | =IF(D9="","",I9/G9) |
I9:I23 | I9 | =IF(D9="","",I8+(D9*E9)) |