I know that in some situations that where if in 1 column (up to down), there is a box that can only be 4 or 7, and if you go up to a box in same column and has 3, 4 or 7, that if another box in same row (left to right) to the right also has a setup of only 4 or 7, that I can erase the 4 and 7 from the box that could only be 2, 4 or 7. Because it is in same path as two boxes that can only have 4 or 7.

I know this technique only erases like numbers in some situations, in this case only the 4 and 7. But, I was wondering if the exact same technique works, but the 4 or 7, is in same row, but the other in same 9x9 box. See picture:

I want to know if I can erase the 7 from the 3 or 7, because a 4 or 7 is in same row (to the right), and a 4 or 7 is in same 9x9 box? In this particual case, there happens to be a 4 or 7 in the bottom middle 9x9 box, and 2nd one in top left 9x9, I only added those to see if they can possibly be used somehow?

I am 90% sure I can erase the 3 from the top middle box that says 3 or 7, because there are two boxes with 4 or 7 in its path? Am I right? If need to see rest of boxes I posted the second photo below with more info. Sorry it is a little cut off, the top right is 4 or 7, below it is 8, and below it is 9.