Hi
Could anyone tell me why my calculation in the attached spreadsheet is returning the wrong result please?
I am trying to return a value from a table identifying the range. Sheet 2 has the formula with a lookup to prov bands
Thanks
Hi
Could anyone tell me why my calculation in the attached spreadsheet is returning the wrong result please?
I am trying to return a value from a table identifying the range. Sheet 2 has the formula with a lookup to prov bands
Thanks
Last edited by Pickygame; 02-03-2014 at 06:32 AM.
a slight change to the table and you can use
=INDEX('Prov bands'!D1:D9,MATCH(Sheet2!B6,'Prov bands'!B1:B9,1))
this will look for the lowest nearest value - and so only uses column B
and will look for the lowest nearest value
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Hi
One way is using this ARRAY formula.
Formula:Please Login or Register to view this content.
-- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
Not just Enter.
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
i'll answer the question you asked!!!!
The bit that would give C
=AND(VLOOKUP(3,'Prov bands'!A1:B8,2,0)<=B1,VLOOKUP(3,'Prov bands'!A1:C8,3,0)>B1)
the vlookup
VLOOKUP(3,'Prov bands'!A1:C8,3,0)
returns 2000 which is NOT > than B1
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
You are checking
VLOOKUP(3,'Prov bands'!D1:F8,3,0)>B1
and 2000>2000 is false
that's why
to get what you claim is a good result use
VLOOKUP(3,'Prov bands'!D1:F8,3,0)>=B1
Best Regards,
Kaper
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks