# Referencing tabs Driven by data

#### danman5005

##### New Member
I want to reference a specific tab, but allow the data to drive the formula. I.e. If the number shows up in my the data then go to 15yr conditions. If the number is 30 then go to 30yr conditions. When writing out the formula the results come back as a text and don't reference the data.

Current formula:
="='"&LEFT(B3,2)&"yr Current Conditions'!H9"
Cell Result:
='15yr Conditions'!H9

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.
try:
=indirect(LEFT(B3,2)&"yr Current Conditions'!H9")

Replies
5
Views
544
Replies
5
Views
167
Replies
9
Views
210
Replies
2
Views
509
Replies
2
Views
216

1,203,462
Messages
6,055,562
Members
444,799
Latest member
CraigCrowhurst

### 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.

### Which adblocker are you using?

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

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