Require formula

Ron99

Active Member
Joined
Feb 10, 2010
Messages
347
Office Version
  1. 2016
Platform
  1. Windows
Hello,

The header is the advance filter, where I can select part number from the drop down, and below that is the data with part numbers and the remarks column showing excess and nil stock.
When I select the part number in the header from the drop down, I want the NIL STOCK part numbers to appear under the nil stock column in 1 cell.

[TABLE="width: 111"]
<colgroup><col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;"><colgroup><col width="64" style="width: 48pt;"><tbody>[TR]
[TD="width: 84, bgcolor: #44546A"]Part number[/TD]
[TD="width: 64, bgcolor: #44546A"]nil stock[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1465[/TD]
[TD="bgcolor: transparent"]
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: #44546A"]Part number[/TD]
[TD="bgcolor: #44546A"]remarks[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1465[/TD]
[TD="bgcolor: transparent"]excess[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]856[/TD]
[TD="bgcolor: transparent"]nil
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]158[/TD]
[TD="bgcolor: transparent"]excess[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]984[/TD]
[TD="bgcolor: transparent"]nil[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]156[/TD]
[TD="bgcolor: transparent"]nil[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1984[/TD]
[TD="bgcolor: transparent"]excess[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent"]nil[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]14[/TD]
[TD="bgcolor: transparent"]excess
[/TD]
[/TR]
</tbody>[/TABLE]

In the header Nil stock the formula should show all nil stock part numbers (856,984,156,1)

Regards,
Ron
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hello,

Instead of selecting a part number in your advanced filter, have you tried to type in nil in the appropriate column ?

It should produce the expected result ...

HTH
 
Upvote 0

Book1
ABCDEF
1Part numberremarksnil
21465excess
3856nilFALSE
4158excessPart numberremarks
5984nil856nil
6156nil984nil
71984excess156nil
81nil1nil
914excess
Sheet1


E3 contains the following formula:

=B2=$E$1

You can now run Advanced Filter with $E$2:$E$3 as Criteria range.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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