Return several text and values that are in an interval

danielhn

New Member
Joined
Jun 13, 2013
Messages
5
Hi

I am trying to create a formula/VBA that will return the values (text and numbers) that are within a interval.

Fx

[TABLE="width: 120"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Adress [/TD]
[TD] Yield[/TD]
[/TR]
[TR]
[TD]test1[/TD]
[TD="align: right"]1%[/TD]
[/TR]
[TR]
[TD]test2[/TD]
[TD="align: right"]2%[/TD]
[/TR]
[TR]
[TD]test3[/TD]
[TD="align: right"]3%[/TD]
[/TR]
</tbody>[/TABLE]

If I search in the interval: 0.5% - 2% it should return
Adress Yield
test1 1%
test2 2%


Is there any way you can help me. Thank in advance
Daniel
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello,

What about AutoFilter, would that help?

Choose Data, Filter then AutoFilter to get the drop-down arrows. In the Yield column, click on the arrow, choose Custom, and change to "Greater than or equal to" 0.5% AND "Less than or equal to" 2%.
 
Upvote 0
Hi - thanks for the answer.

Thanks, that would fix the problem but I am searching for something more user-friendly for novice users at my work who will be confused by all the steps = Need idiot-proof :)
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,636
Members
452,662
Latest member
Aman1997

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