Hi guys,
First of all I'm sorry the title isn't too descritive (as asked) but I can't quite figure out how to put it!!
so,
I have an excel sheet that allows me to control a series of ongoing operations. These operations consist in a series of events performed by diferent teams. In my sheet I have a control for the events (Collumn D in excel attached) that turns "finished whan all Team 'X' events are finished and shows "Ongoing" when the Team hasn't finished all events. (Please note that in the attached excel the control not working because the tickboxes are not correctly linked to the cells but is working just fine in my excel sheet!)
The problem is that I wanted to introduce a new macro that inserts the following formula in column A:
IF(AND(D3="Finished";D4="Finished";D5="Finished";D6="Finished");"Operation Closed";"Operation Ongoing")
And I can't quite figure it out as the range for the IF statement might be variant allthought it's always the same as the range of the merged cells in column A!!
The attached file might give you a better idea of what I mean:
Book3.xlsx
Can anyone please help on this code??
Many thanks
Bookmarks