Excel Naming usage automation

daniel22bg

New Member
Joined
Nov 21, 2008
Messages
31
Hello,

I need help with the following stuff:

I have named some sells in my worksheet, eg. A1 is named Coupon, A2 is named maturity etc.

Now I need an excel or VBA based function that looks at the value of a given cells and then connects that value with the content of a corresponding named cell.

For example, let's say that A1 is named Coupon, and countains 5.5%.

Then I have the content of B2 is 'Coupon'
function (B2) = 5.5% (which is the content of A1).

Any help will be appreciated.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
No, indirect does not work here. =Coupon works, but it does not achieve the level of automatization that I need. I need a function like indirect(Coupon) that works
 
Upvote 0
If A1 is a named cell, named as Coupon, and B2 has contents of Coupon, I don't see how the INDIRECT could fail. In what way does it not work here?
 
Upvote 0

Forum statistics

Threads
1,214,962
Messages
6,122,482
Members
449,088
Latest member
Melvetica

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