Need assistance with formula

pujo

Well-known Member
Joined
Feb 19, 2009
Messages
605
Morning all.

I cannot seem to figure out the proper syntax for a formula.

I have a named range "Policy_Number" that is A1:A50
In B1:B50 I have the actual policy.

So, on another sheet I am trying to reference the policy using the policy number and getting the policy from B1:B50 adjacent to the named range "Policy_Number"

Here is what I have so for,
Code:
=IF((Policy_Number)=L$6,Offcet(INDIRECT(ADDRESS(ROW(), COLUMN())),0,0,0,1))

The first part of the formula is working in reference to L$6, but cant get the second part of the formula to work.

Please assist.

Thanks,
-PuJo
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

jorismoerings

Well-known Member
Joined
Jul 4, 2014
Messages
1,284
Hi,

Don't know if i understood correctly but think using HLOOKUP would be better fit for purpose.
Haven't tried your formula but the typo in using "Offcet" instead of "Offset" pops up straight away.
 

pujo

Well-known Member
Joined
Feb 19, 2009
Messages
605
No luck with HLOOPUP

Matching value from a named range returning the value in the cell to the right of the match.

Any ideas?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,962
Messages
5,599,065
Members
414,281
Latest member
Engjamal2021

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
Top