multiple criteria in one column VBA urgent need!

B

barkiny

hi,

i need a vba code

for simple purposes, i create a worksheet

in column A : Company Names
in column B: The sector, company belongs
in column C: Net sales

i want to filter net sales according to multiple criteria

if the sector is food and beverage then show the row if the net sale
above 200
if the sector is Textile then show the row if the net sales above 60
or any other criteria

how do you set multiple criteria in the same column?

thanx in advanc

+-------------------------------------------------------------------
|Filename: sectordata.zip
|Download: http://www.excelforum.com/attachment.php?postid=3697
+-------------------------------------------------------------------
 
N

Norman Jones

Hi Barkiny,

As DM Unseen says, use the Advanced Filter feature.

To employ multiple criteria for a single field, simply use multiple criteria
rows.

If this is not immediately obvious, see Debra Dalgleish at:

http://www.contextures.com/xladvfilter01.html

See particularly, the section entitled: 'Setting up the Criteria Range'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top