Filtering out returned empty formula cells

Hapakaya

New Member
Joined
Jul 13, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
I need some help filtering out cells that a formula returns as "". I want to organize my cells so that cells that a formula returns data to is at the top and there are no empty "" cells above.
The following is how my sheet looks:
1626217103766.png

and I am using match/index formulas to return the values I want.

My question is how to take the Model# I have found at the bottom right and organize them so they are at the top with no empty cells above.

Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Welcome to the MrExcel forum!

I think I get the gist of what you're doing, with the additional context. (You might consider looking into the XL2BB tool in this forum. It allows you to copy part of your sheet to the forum in a way that's easy for the helpers here to copy and work with. It's easy to download, install, and use. Look at the link in the reply box.)

Since you have Excel 365, this type of problem is ideally suited to the new FILTER function. Here's an example:

Book1
AXAYAZBABBBC
1ManufacturerValue1Value2ManufacturerValue1Value2
2Ace1aTrane4d
3Ace2b5e
4Carrier3c6f
5Trane4d7g
6Trane5e9i
7Trane6f
8Trane7g
9Something else8h
10Trane9i
11Xteam10j
12Xteam11k
13
Sheet1
Cell Formulas
RangeFormula
BB2:BC6BB2=FILTER(AY2:AZ12,AX2:AX12=BA2)
Dynamic array formulas.


You give it the range, the filter condition, and it creates a list of matching entries. See if it works for your case. There are ways to make it do some more complicated things too if your sheet requires it.
 
Upvote 0
Solution
Welcome to the MrExcel forum!

I think I get the gist of what you're doing, with the additional context. (You might consider looking into the XL2BB tool in this forum. It allows you to copy part of your sheet to the forum in a way that's easy for the helpers here to copy and work with. It's easy to download, install, and use. Look at the link in the reply box.)

Since you have Excel 365, this type of problem is ideally suited to the new FILTER function. Here's an example:

Book1
AXAYAZBABBBC
1ManufacturerValue1Value2ManufacturerValue1Value2
2Ace1aTrane4d
3Ace2b5e
4Carrier3c6f
5Trane4d7g
6Trane5e9i
7Trane6f
8Trane7g
9Something else8h
10Trane9i
11Xteam10j
12Xteam11k
13
Sheet1
Cell Formulas
RangeFormula
BB2:BC6BB2=FILTER(AY2:AZ12,AX2:AX12=BA2)
Dynamic array formulas.


You give it the range, the filter condition, and it creates a list of matching entries. See if it works for your case. There are ways to make it do some more complicated things too if your sheet requires it.
Yup filter ended up working out, I used this filter to get multiple criteria in to filter out the info.
=FILTER(E3:E289,(D3:D289=$BG$3)*(C3:C289=$BH$3))
Thanks for the help
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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