Help with Extracting Formula from another Cell and Incrementing

jkaneff

New Member
Joined
May 12, 2018
Messages
1
I want to extract the formula in a cell of another worksheet and then increment that extracted formula by 1. For instance if the formula in another cell is "=B3" then I want the formula in my current cell to be "=B4".
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
If you have Excel 2013 or later, the below should work:
PHP:
=INDIRECT(MID(FORMULATEXT(A1),2,MIN(FIND({1,2,3,4,5,6,7,8,9},FORMULATEXT(A1)&"123456789"))-2)&1+RIGHT(FORMULATEXT(A1),LEN(FORMULATEXT(A1))-MIN(FIND({1,2,3,4,5,6,7,8,9},FORMULATEXT(A1)&"123456789")-1)))
 
Upvote 0
Welcome to the MrExcel board!

1. I think it would be helpful if you told us a bit more about what you have and what you are trying to do.

2. I suspect that your formula won't always be as simple as the example you have given. For example, could it be like any of the following and, if so, what results would you be expecting?
=B3+1
=SUM(A4:F4)
=B3*K22
etc

3. What do you mean by "my current cell"?

4. For the example you gave, does the formula in your "current cell" have to actually be =B4 or could it be, as Neil has done, another formula that returns the value from B4 but is clearly a much longer formula?

5. Are you trying to do this with a macro?

6. Would a macro be acceptable?

7. What version of Excel are you using?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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