ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Using match (https://www.excelbanter.com/excel-discussion-misc-queries/148556-using-match.html)

Oldjay

Using match
 
I have the following table

sheets
hits 5 10 15
1 a b c
2 d e f
3 g h i


hits 3
sheets 7

I want to this match to output of "h"
How do I do this?

oldjay



T. Valko

Using match
 
Since you seem to want the next higher sheet number when the value is
between an interval you need to reverse the order of your table:

Screencap:

http://img165.imageshack.us/img165/7803/lookupkh0.jpg

Biff

"Oldjay" wrote in message
...
I have the following table

sheets
hits 5 10 15
1 a b c
2 d e f
3 g h i


hits 3
sheets 7

I want to this match to output of "h"
How do I do this?

oldjay





Oldjay

Using match
 
Thanks

"T. Valko" wrote:

Since you seem to want the next higher sheet number when the value is
between an interval you need to reverse the order of your table:

Screencap:

http://img165.imageshack.us/img165/7803/lookupkh0.jpg

Biff

"Oldjay" wrote in message
...
I have the following table

sheets
hits 5 10 15
1 a b c
2 d e f
3 g h i


hits 3
sheets 7

I want to this match to output of "h"
How do I do this?

oldjay






T. Valko

Using match
 
You're welcome!

Biff
Microsoft Excel MVP

"Oldjay" wrote in message
...
Thanks

"T. Valko" wrote:

Since you seem to want the next higher sheet number when the value is
between an interval you need to reverse the order of your table:

Screencap:

http://img165.imageshack.us/img165/7803/lookupkh0.jpg

Biff

"Oldjay" wrote in message
...
I have the following table

sheets
hits 5 10 15
1 a b c
2 d e f
3 g h i


hits 3
sheets 7

I want to this match to output of "h"
How do I do this?

oldjay









All times are GMT +1. The time now is 08:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com