Using a formula to search for specific values

magnum55

New Member
Joined
Nov 10, 2005
Messages
24
Hi,
This is my first post...

I've got a list of countries (colA) each with a number (colB) in the adjacent column in Sheet 1. What i want to try and do is put a formula/macro in another sheet (sheet 2) saying something like:

look at sheet1, Look through each country name, move 1 cell the right. If this contains a value >20 display the country name in this sheet (sheet2).

I assume that Ill have to name my list of countries as a range and maybe use an IF / VLOOKUP function but I'm not entirely sure....

Any ideas
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

magnum55

New Member
Joined
Nov 10, 2005
Messages
24
I could but i wanted to be able to change one cell which has the value in and this would change my list. Is there a way to autofilter by referencing a value in a cell?

Thanks
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,489
Messages
5,837,630
Members
430,506
Latest member
TonyIbbs

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
Top