victoria2207
New Member
- Joined
- Mar 9, 2018
- Messages
- 17
Good Afternoon, Please excuse me if something similar has already been posted. I am looking for a simple but robust way to deplete the value of a cell based on a common reference on another sheet. To clarify, Sheet 1 contains hundreds of rows of items in Column A with the current available value in Column B.
Sheet 2 to 34 have various different actions, each of which if carried out will deplete the available resources on Sheet 1, so:
Sheet 1:
<tbody>
</tbody>
Sheet 2:
<tbody>
</tbody>
Essentially I want to reduce the 26 available of AA100 by 5 and AA103 by 6, AA104 by 4 etc. possibly using a button press?
I'm hoping there is already some VBA written or another simple way to achieve this.
TIA
Vic2207
Sheet 2 to 34 have various different actions, each of which if carried out will deplete the available resources on Sheet 1, so:
Sheet 1:
Reference | Value available |
AA100 | 26 |
AA101 | 27 |
AA102 | 23 |
AA103 | 24 |
AA104 | 25 |
AA105 | 26 |
AA106 | 27 |
AA107 | 23 |
AA108 | 24 |
AA109 | 25 |
AA110 | 26 |
AA111 | 27 |
AA112 | 23 |
<tbody>
</tbody>
Sheet 2:
Ref | Item1 |
AA100 | 5 |
AA103 | 6 |
AA106 | 4 |
AA109 | 3 |
AA112 | 5 |
<tbody>
</tbody>
Essentially I want to reduce the 26 available of AA100 by 5 and AA103 by 6, AA104 by 4 etc. possibly using a button press?
I'm hoping there is already some VBA written or another simple way to achieve this.
TIA
Vic2207