Good morning.
I have created a custom function that is used in many columns. What I need the function to do is reference the value in row 1 of whatever column is calling the function. Can anyone tell me how to pull the cell information that is calling the formula?
So right now, in cell D8, I have the formula =FG($A8,$D8), and I want it to also use the value in D1. I could add it as a 3rd variable, but I also want to be able to use the exact same function in cell E8, but have it pull the value from E1.
Is there any way to do this?
Thanks in advance
I have created a custom function that is used in many columns. What I need the function to do is reference the value in row 1 of whatever column is calling the function. Can anyone tell me how to pull the cell information that is calling the formula?
So right now, in cell D8, I have the formula =FG($A8,$D8), and I want it to also use the value in D1. I could add it as a 3rd variable, but I also want to be able to use the exact same function in cell E8, but have it pull the value from E1.
Is there any way to do this?
Thanks in advance