Referencing Cell with Excel Function Name in Another Cell

PDNY

New Member
Joined
Jul 26, 2012
Messages
15
I'm creating a table with calculated mortgage payments with principal (PPMT) and interest (IPMT) functions in adjacent columns. I want to be able to change the cell contents at the top of the column, e.g. PPMT to IPMT, and have the cells below it reflect the changed function.

I've used CONCAT, but it only returns the text string and not the calculation.

Code:
=CONCAT(B1,"(Interest_rate/NPER,Period,Term*NPER,-Principal)")

NOTE: The IPMT and PPMT functions use same syntax.

Any suggestions? Thanks.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,376
Messages
6,119,180
Members
448,871
Latest member
hengshankouniuniu

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