Need assistance with formula

pujo

Well-known Member
Joined
Feb 19, 2009
Messages
708
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
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
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
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.
 
Upvote 0
No luck with HLOOPUP

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

Any ideas?
 
Upvote 0
Maybe...

=INDEX(OFFSET(Policy_Number,,1),MATCH(L$6,Policy_Number,0))

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,214,568
Messages
6,120,278
Members
448,953
Latest member
Dutchie_1

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