If error vlookup how to get it to skip a cell that does not match

SoozToad

New Member
Joined
Sep 14, 2014
Messages
4
HI everyone, this is my formula which is pretty basic as i am not a super user of excel!! I have this copied down a column so it looks at the next row each time and returns if there is a match - however, i now have a column that has a lot of blank cells where this is no match - is there a way to stop it leaving empty rows please? Thank you very much in advance for all your help - Sue

=IFERROR(VLOOKUP($A$1,'Session Allocation'!E4:F4,2,0),"")
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,
I do not realy get what problem you face. Just to clarify, you pick value from column A you search it then in column E, then the problem you have is: You find that value in column E but the return value from colum F is blank and you' d loke to skip it and to go to another row in colum E with value drom col A where the data in col F is noy blank?
Is it the issue you're facing with?
Regards,
Sebastian
 
Upvote 0
How about the following Array formula
=IFERROR(INDEX('Session Allocation'!$f$2:$f$100,SMALL(IF('Session Allocation'!$e$2:$e$100=$a$1,ROW('Session Allocation'!$e$2:$e$100)-ROW('Session Allocation'!$e$2)+1),ROWS($1:1))),"")

Confirmed with Ctrl Shift Enter, not just Enter
 
Upvote 0
How about the following Array formula
=IFERROR(INDEX('Session Allocation'!$f$2:$f$100,SMALL(IF('Session Allocation'!$e$2:$e$100=$a$1,ROW('Session Allocation'!$e$2:$e$100)-ROW('Session Allocation'!$e$2)+1),ROWS($1:1))),"")

Confirmed with Ctrl Shift Enter, not just Enter


This works perfectly thank you so much
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,313
Members
452,634
Latest member
cpostell

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