Hello,
I apologize if the title is a bit confusing but hopefully I can clear it up. Essentially what I'm looking to do is the following:
There are 4 machines (A, B, C, and D) that have different target production rates and the machines operate at times 1:00, 2:00, 3:00....10:00. Only one machine is running at a time. The operator fills in the actual production that occurs on a sheet which also contains the targets for each machine. I would like to find the difference between the target production and the actual production of the machines without having to change the formula in the 'Difference' column every time the machine changes.
You'll see in the attached spreadsheet that 'Difference' is calculated by subtracting the target from the actual and varies by subtracting F-(A or B or C or D) depending on the machine that is running. However, the formula is changed manually each time the machine changes. Is there a way to have it automatically change based on certain conditions, etc? The cells have been color-coded to identify which machine is running during a specific time frame.
Thanks in advance and let me know if I should elaborate!
Sample.xlsx
Bookmarks