Remove blank rows on an IF/ISNUMBER/SEARCH formula

dezibluenose

New Member
Joined
Oct 6, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hope someone can help here.

I'm creating a sheet where if a certain cell shows (for example) Yes, all the details from that row get pulled back onto a separate sheet.

I've used an IF/ISNUMBER/SEARCH combo and it seems to work however, when using this, on my second sheet it's leaving blank rows. So if row one fits my criteria it shows details but row 2 is left blank. If row 3 or 4 fit my criteria the details are pulled back but then I'm left with blank rows.

I don't want to leave a row blank. Is there a way I can change my formula so that if the second row doesn’t fit my criteria it pulls back what's in the next row and so on and so on?

The attached picture probably explains what I'm trying to do better.


1633527148732.png
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi & welcome to MrExcel.
How about
Excel Formula:
=FILTER(A16:C18,D16:D18="Yes")
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=FILTER(A16:C18,D16:D18="Yes")
Absolutely fantastic - worked perfectly.

Show's there is always something new to learn. Thanks again. Really appreciate it.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,175
Members
448,870
Latest member
max_pedreira

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