Update the output cells so each row in column E shows the correct item code. If the Flag in column D is "Yes", replace only the second occurrence of the letter "x" in column C with "z". If the Flag is "No" or the text has fewer than two "x" characters, return the original text from column C. See Examples
Your solution should use cell references so it updates automatically if the input cells change values.
This cell cannot be edited
Update the output cells so each row in column E shows the correct item code. If the Flag in column D is "Yes", replace only the second occurrence of the letter "x" in column C with "z". If the Flag is "No" or the text has fewer than two "x" characters, return the original text from column C.