Refering the formula cell in the formula

Gokhan_ciftcioglu

New Member
Joined
Mar 24, 2017
Messages
30
Are there any way to refer to the formula cell in the written formula. For example, I want to write the below formula in
CELL B1;

=IF(A1="";"cell is blank";ROW(B1))

I want to fill the dotted place in the formula with a function that gives the rownumber of the Cell B2. My purpose is not to write there Row(B1). I need a way or function that I can refer to "formula cell". VBA is useless for this problem.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hello.

I am a little confused. Can you provide and example of a few cells worth of dummy data and where/what you want your formula to accomplish?

Based on how this is written up so far...the results are what that particular formula would return. If cell A1 is empty it would return "cell is blank" if that cell is NOT empty then it would return a 1 as that is the row number of cell B1.
 
Upvote 0
I am not entirely clear about what you are after either, but perhaps the following with help.

If you use the ROW function without an argument, like this ROW(), it will return the row number of whatever row the formula is found in.
So, if you put =ROW() in cell A14, it would return 14.
Is that what you are after?
 
Upvote 0
I am not entirely clear about what you are after either, but perhaps the following with help.

If you use the ROW function without an argument, like this ROW(), it will return the row number of whatever row the formula is found in.
So, if you put =ROW() in cell A14, it would return 14.
Is that what you are after?

Thank you body, This is what I am exactly looking for.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top