MATCH problem

J

Jan Kronsell

I'm trying to create a spreadsheet for a colleague

I have the follwing numbers placed in Data!C4:L4
20 25 30 35 40 45 50 55 60 65

I use this formula

MATCH(B3,Data!C4:L4,1) to return the column number.

If the user enters anything between for instance 30 and 35 it returns 3 as
it is supposed to.
Unfortunately that is not what my colleague wants. He wants 30, 31, 32 to
return 3 and 33, 34 and 35 to return 4. And same for other values of course.

Is that possible at all using worksheetfunctions or do I have to create my
own UDF?

Jan
 

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