![]() |
Excel Index Formula
We have one column of data e.g.
A B C D E And we're trying to have a cell that looks up the last cell in that column and display what's in that last cell, in this case, E. I looked up Google, and someone gave this formula: =INDEX(B7:B26,MAX(IF(LEN(B7:B26)>0,ROW(B7:B26),0)) ,1) (And hit Ctrl Shift Enter, not sure what that does, but it doesn't work if we just hit Enter.) It was working on a normal spreadsheet, but for some reason it doesn't work in the work document.. it keeps returning 0. Anyone have any clue what has to happen for that formula to work properly? Or even just explain what Ctrl Shift Enter does? EDIT: There are page breaks involved in this spreadsheet.. if that makes a difference.. |
Ohh found another formula that will work too..
If anyone is interested to know.. this page is useful! http://www.techonthenet.com/excel/qu...last_value.php |
VLOOKUP seems easier than INDEX.
http://img59.imageshack.us/img59/9941/unledhbf.jpg I think INDEX is useful if you need to lookup both a row and a column. But even then, I think it's just easier to use a VLOOKUP and an HLOOKUP. I think there was that one time when I had to use an INDEX function... but I can't remember why... ahaha |
Ahhh... And you need to put in the CTRL+SHIFT+ENTER when you have matrices.
|
I think the LOOKUP formula requires you to sort the column in alphabetical order isnt it?
And that's for looking up a specific text?? We want it to show the last cell of a column... |
Quote:
Quote:
|
this thread just reminded me I had a problem with the vlookup formula a while ago and I wanted to ask on FF but I completely forgot
eeeeeeeeeeeeeeeek |
I'm disappointed in the Excel HHOOKUP command. Never returns what I want it to.
|
asdfdfhjgfjgh LLOOL
|
Quote:
|
All times are GMT. The time now is 09:18 AM. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.