Updating a formula Len(VLookup

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,079
Office Version
  1. 365
Platform
  1. Windows
=IFERROR(IF(LEN(VLOOKUP($H3,'Data (2)'!$D$2:$AH$204,2,0))=0,"",VLOOKUP($H3,'Data (2)'!$D$2:$AH$204,2,0)),"")

I use this formula above now to pull in numbers from the sheet called Data (2). If H3 Matches - D:AH on Data (2). It returns what's in column ,2 as you see.

I need to update this though.

I am looking now to match column H and Column B on current sheet to match D and H on Data (2) To Return what's in ,2
So H on current sheet needs to match D on Data (2) sheet which it does already but also need B on current sheet to match H on Data (2) in order to return what's in column ,2.

What I am trying to do here is have two matches before the returned results thanks.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
How about
Excel Formula:
=FILTER('Data (2)'!$F$2:$F$204,($H3='Data (2)'!$D$2:$D$204)*($B3='Data (2)'!$H$2:$H$204),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
Hi I ran into something with the formulas twice. If I add both below it works fine but if there is zero I get #Value. Anyway i can get just blank if nothing is found.

=FILTER('Paychex (2)'!$M$2:$M$204,($H3='Paychex (2)'!$D$2:$D$204)*($B3='Paychex (2)'!$AM$2:$AM$204),"")+FILTER('Paychex (2)'!$AB$2:$AB$204,($H3='Paychex (2)'!$D$2:$D$204)*($B3='Paychex (2)'!$AM$2:$AM$204),"")


Also i used this in a column and it pulls in a date for me, but i need the date to be 2 days later. So I put +2 which it works, but if nothing is found i get #value again. Can i get just blank also if nothing is found?

=FILTER('Paychex (2)'!$E$2:$E$204,($H3='Paychex (2)'!$D$2:$D$204)*($B3='Paychex (2)'!$AM$2:$AM$204),"")+2
 
Upvote 0
Glad it's sorted & thanks for letting us know.
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,699
Members
449,048
Latest member
81jamesacct

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