tbakbradley
Board Regular
- Joined
- Sep 24, 2010
- Messages
- 142
Good afternoon all. I wasn't expecting this issue, but now that it happens, I should have expected it.
I have a worksheet "FIM Data" with hardcoded data in columns A through L. This is sent to another Employee who performs a System run and Copies/Pastes their Data into Columns M through Z.
Once that is sent back to me, I click a Macro button that I created that Adds THREE new columns to the left of column M and then I force the Heading Names for the NEW columns M, N and O. That all works fine. I have to send this to another employee who runs this through another system to provide extra data and pastes it into the new M-O Columns.
On another worksheet, that performs many different calculations, Prior to the need for a Macro to add Columns M-O on the "FIM Data" Sheet, it was this:
=IFERROR(IF('FIM Data'!S2="","",'FIM Data'!S2),"")
Because I'm now going to be inserting Columns M-O, I changed to this:
=IFERROR(IF('FIM Data'!S2="","",IF('FIM Data'!M2="Yes", 200, 'FIM Data'!S2)),"")
However, what happens is that because I insert the Rows, the Column references change in the formula above. I need it to Automatically change for S2, but NOT M2. I always need this formula to point to M (I copy it down to rows below, so could be M2, M3, M4....). I have no idea how to LOCK the M and allow the S to remain relative to where that data is now located after the column adds.
Any ideas?
I have a worksheet "FIM Data" with hardcoded data in columns A through L. This is sent to another Employee who performs a System run and Copies/Pastes their Data into Columns M through Z.
Once that is sent back to me, I click a Macro button that I created that Adds THREE new columns to the left of column M and then I force the Heading Names for the NEW columns M, N and O. That all works fine. I have to send this to another employee who runs this through another system to provide extra data and pastes it into the new M-O Columns.
On another worksheet, that performs many different calculations, Prior to the need for a Macro to add Columns M-O on the "FIM Data" Sheet, it was this:
=IFERROR(IF('FIM Data'!S2="","",'FIM Data'!S2),"")
Because I'm now going to be inserting Columns M-O, I changed to this:
=IFERROR(IF('FIM Data'!S2="","",IF('FIM Data'!M2="Yes", 200, 'FIM Data'!S2)),"")
However, what happens is that because I insert the Rows, the Column references change in the formula above. I need it to Automatically change for S2, but NOT M2. I always need this formula to point to M (I copy it down to rows below, so could be M2, M3, M4....). I have no idea how to LOCK the M and allow the S to remain relative to where that data is now located after the column adds.
Any ideas?