Hi,
I have a Hlookup function which is currently returning me the closest match that is lower.
However, I want it to return the higher value.
I have attached an explanation of what I'm trying to do.
Thanks in advance,
Sam
Hi,
I have a Hlookup function which is currently returning me the closest match that is lower.
However, I want it to return the higher value.
I have attached an explanation of what I'm trying to do.
Thanks in advance,
Sam
wrong infomation
Last edited by pike; 01-10-2010 at 06:07 AM.
the easy way would be to change the values in the quanity rows
Last edited by pike; 01-10-2010 at 06:09 AM.
Hey samlim
use this it will at the correct amount for the item to pull into the next column for the Hlookup
=HLOOKUP($D5+SUMPRODUCT(--(C5={"A","B","C","D"})*({10,20,100,5})),OFFSET($J$3:$O$4,MATCH($C5,$I$5:$I$14),0),2,TRUE)
Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks