Hello Everyone!
I have been at it for atleast 4 hours, no kidding, trying to figure out what to do. I have office 07 version of excel. First off let me explain my situation, I have four columns. The first one is my named 'ABC', the second one is where I want my results to go into, and that is named 'results', and the last two columns are where I get my information from. Are you still with me? Moving on, so here is what I am doing, lets take our first example, ABC 1 (CELL #A2), searches my for a corresonding value located at #C7, and retrieves the price for ABC 1, which is located in D#7, and retrieves my information to my column named 'Results'. Pretty easy huh, the function for that is simply =VLOOKUP(A2, $C$2:$D$7, 2,FALSE).
Now here is what kills me, lets take ABC 6(#A7), if we look it up, it has no price, instead it says call rep.....here is my issue, how can I select the price above it, in this case a price of $20(#D5). I have tried everything to no avail, I would really appreciate the help.
Here is what I have tried
=IF((VLOOKUP(A8,$C$2:$D$11,2,FALSE)="Call Rep"), <-- my condition
OFFSET(D7,-1,0), < -- if true, that means there is no price, just Call Rep, so I'm trying to get the price in the cell above this Call Rep
(VLOOKUP(A8,$C$2:$D$11,2,FALSE))) <-- if false, this will just give me my normal price
here is my image:
I have been at it for atleast 4 hours, no kidding, trying to figure out what to do. I have office 07 version of excel. First off let me explain my situation, I have four columns. The first one is my named 'ABC', the second one is where I want my results to go into, and that is named 'results', and the last two columns are where I get my information from. Are you still with me? Moving on, so here is what I am doing, lets take our first example, ABC 1 (CELL #A2), searches my for a corresonding value located at #C7, and retrieves the price for ABC 1, which is located in D#7, and retrieves my information to my column named 'Results'. Pretty easy huh, the function for that is simply =VLOOKUP(A2, $C$2:$D$7, 2,FALSE).
Now here is what kills me, lets take ABC 6(#A7), if we look it up, it has no price, instead it says call rep.....here is my issue, how can I select the price above it, in this case a price of $20(#D5). I have tried everything to no avail, I would really appreciate the help.
Here is what I have tried
=IF((VLOOKUP(A8,$C$2:$D$11,2,FALSE)="Call Rep"), <-- my condition
OFFSET(D7,-1,0), < -- if true, that means there is no price, just Call Rep, so I'm trying to get the price in the cell above this Call Rep
(VLOOKUP(A8,$C$2:$D$11,2,FALSE))) <-- if false, this will just give me my normal price
here is my image:
Last edited: