Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Compliments on a fantastic web site. I have learned so much from my threads and even if sometimes I cannot solve the problem, it gives me the reassurance that I am not the only one putting up with it!..."

Geography

Where in the world do Tek-Tips members come from?

Find markup value in dollar rangeHelpful Member! 

jadams0173 (TechnicalUser)
28 Jun 12 10:58
I'm tring to do something that is similar to thread68-1615386: Range Value but I am not having much luck. I'm using excel 2010 and I am trying to do this.

Given a lookup table

Range markup
0-10 4
11-20 3
etc

I need to take a value and return the markup. So $10.36 would return 4. $11.89 would return 3.

Any ideas how to make this work. I've started down the path in the above thread but I keep getting #N/A or #ref when I try to make it work for me.
Helpful Member!  SkipVought (Programmer)
28 Jun 12 11:18


Make you lookup table have SINGLE VALUES like

Threshhold Markup
0 3
11 4

Then using Named Ranges based on the heading in the lookup table...

=INDEX(Markup,MATCH(E3,Threshhold,1),1)

where E3 contains the Lookup Value.

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

SkipVought (Programmer)
28 Jun 12 11:20

I apologise for the data not lining up in columns. This site is having some formatting problems.

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

jadams0173 (TechnicalUser)
28 Jun 12 11:32
Thanks SkipVought. I have it working now, many thanks!!
SkipVought (Programmer)
28 Jun 12 12:05
Some people like using VLOOKUP with the TRUE in the Range_Lookup argument. But I much prefer using INDEX & MATCH for lookups as it is much more flexible, when using column Named Ranges or Structured Table references in Excel 2007+

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close