Alternative lookup function

dustinp

New Member
Joined
Sep 1, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hello all, I’m trying return the value of column J in “weekly time list” to column B in worksheet “ryan”. Due to the duplicates in in both columns H & J of weekly time list the formula

=INDEX('Weekly Time list'!$J$2:$J$600,MATCH(ryan!$B$1639,'Weekly Time list'!$H$2:$H$600,0))

Doesn’t seem to be a viable solution. Is there a better way to write this formula to where I ignore all of the duplicates?
1630514234144.png
1630514264448.png
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Are you trying to get all the distinct names from col J where B1639 matches col H?
 
Upvote 0
Ok, how about
Excel Formula:
=UNIQUE(FILTER('Weekly Time list'!$J$2:$J$600,'Weekly Time list'!$H$2:$H$600=$B$1639))
 
Upvote 0
unfortunately no, that formula gives me a #value! error
 
Upvote 0
Ok, what happens if you try this
Excel Formula:
=FILTER('Weekly Time list'!$J$2:$J$600,'Weekly Time list'!$H$2:$H$600=$B$1639)
 
Upvote 0
Solution
What is the answer to my question?
 
Upvote 0
Ok, what happens if you try this
Excel Formula:
=FILTER('Weekly Time list'!$J$2:$J$600,'Weekly Time list'!$H$2:$H$600=$B$1639)
thank you so much! gives me exactly the the return I was looking for
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

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