Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how to get the value in the upper 5 cell
Dear all,
the purpose is to do a subtract to two cells, which are in the same colume but one is upper 5 to the other. First I have a vlookup string, "=VLOOKUP(B2,sheet2!A:M,3,FALSE)". Suppose that the result of this vlookup value is located in sheet2!C10, I want to get other value which is sheet2!C5. Cause C10 is not stable, it is located by this vlookup string, how can I get the value of C5? P.S. the value of each colume is not continous. If anyone can give some hints, many many thanks to you! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how to get the value in the upper 5 cell
One way:
=INDEX(Sheet2!A:M,MATCH(B2,Sheet2!A:A,0)-5,3) Note that if the lookup_value is in the range Sheet2!A1:A5 you'll get an incorrect result since there aren't 5 cells above. I'm assuming your design and request have taken that into account. Biff "ViestaWu" wrote in message ... Dear all, the purpose is to do a subtract to two cells, which are in the same colume but one is upper 5 to the other. First I have a vlookup string, "=VLOOKUP(B2,sheet2!A:M,3,FALSE)". Suppose that the result of this vlookup value is located in sheet2!C10, I want to get other value which is sheet2!C5. Cause C10 is not stable, it is located by this vlookup string, how can I get the value of C5? P.S. the value of each colume is not continous. If anyone can give some hints, many many thanks to you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change from mixed caps and upper lower to all upper lower case | Excel Worksheet Functions | |||
How can I split one cell into two cell parts (upper & lower)? | Excel Discussion (Misc queries) | |||
How do I convert all upper case excel sheet into upper and lower . | Excel Discussion (Misc queries) | |||
Can you make a cell with a diagonal, so that you can edit the upper and lower part of the cell? | New Users to Excel | |||
How to change location A1 cell from upper right to upper left? | Excel Discussion (Misc queries) |