Hello. My new boss threw me a curve yesterday. I need help with this, please! I have programming experience, but Excel is pretty new to me.
I have 2 sheets in the same workbook. Sheet1! has rows with two cells that contain references to Sheet2! like this:
Sheet1
U35 ='Sheet2'!$B$75
V35 ='Sheet2'!$E$75 (different column, same row referenced)
U36 ='Sheet2'!$B$67
V36 ='Sheet2'!$D$67 (different column, same row referenced)
You can see the two columns from each record line above reference the same row in Sheet2!, and this is consistent through all of Sheet1!
The array in Sheet2 is Attached and Highlighted: 'Sheet2'!$B$56:$G$77
***Here is the logic I need help incorporating:***
If U35 = 10, then U35 and V35 remain unchanged - keep the same references
If U35 = 9.5. then both U35 and V35 reference row increments by 1
Else both U35 and V35 reference row increments by 2
The test is against the referenced value in Sheet2! Column B - every time. The values in Column B are: 0, 0.5, 1.0, 1.5...,9.5, 10.0
I know how to write the OFFSET function OFFSET('Sheet2'!$B$75,2,0), but I do not know (sorry) where to place the formula nor do I know how to incorporate the two OFFSET functions in the nested IF statement. Should I use a Helper/Temporary/Hidden cell?
I know OFFSET is volatile, but it is all I know right now.
I am not averse to using VBA if needed, and would like to incorporate a button so the user can update the Sheet1! references (they do it manually now for hundreds of records!)
THANK YOU!
Bookmarks