3
0
I am attempting to use Excel (2013) to look up whether the value 1 turns up in a given set (using the CHOOSE()
function, then, if so, printing the value in the cell directly to the right of it using the VLOOKUP()
function. Why would this formula yield two different results in different cells when the formula itself is identical?
=IF(CHOOSE(1, $A$4:$A$17) = 1, VLOOKUP(1, $A$4:$C$17, 2, FALSE), "?")
Cells V4 to V7 in my sheet all have the exact same formula (the one printed above), yet they are returning different values. V4's returned value is the type I would like (i.e., the value of cell B4, which is a number), yet the others are returning "?"
. Why is this and how can I fix it? Thanks in advance for any help.
Okay, this is correct, but I still don't understand why. Do you have any more clarification?
choose(1,A$1,A$4)
inb1
=a1
; same formula inb4
=a4
. I guess what I'm saying is, good question, good answer, any sources as to why it evaluates based on position? – Raystafarian – 2014-02-09T12:52:02.9931
It's "impicit intersection" - see this link http://www.myonlinetraininghub.com/excel-implicit-intersection ......or google for others
– barry houdini – 2014-02-09T13:20:58.880@Raystafarian See barry's link above this comment for explanation. And I just realised I didn't really address the 'how can I fix it' part, especially since
CHOOSE
isn't the appropriate function, but then, barry has it already down. – Jerry – 2014-02-09T13:40:10.600@barryhoudini that is blowing my mind, I'm going to have to find out why MS thinks this is a good thing. Thanks! – Raystafarian – 2014-02-10T13:37:18.473