Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Another last row in column question - with a twist.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fedude - 30 May 2008 12:25 GMT
OK, I've read ad nauseam all the posts about finding the last row in a column
with data.  I couldn't find what I need.  I have a slightly different
question that I could use some help with.

Lots of columns.  In the "middle" of each column are 48 rows for a test
scores.  They are by date with the earliest date starting at row 14 and the
latest test date at row 61.  If a person did not take the test, the column is
blank, otherwise their score is in the cell.

For each of these students, I need to find the date at which they have the
last score. So I need to search back starting at row 61 to row 14 to find the
first non-blank cell and then record the date somehow.  

Is this something I can do with the existing excel formulas?  If so I came
up empty.  My thought was to insert a custom function in each column.

TIA!
Mike H - 30 May 2008 12:34 GMT
Maybe this

=LOOKUP(10^23,A14:A61)

Format the cell as a date

Mike

> OK, I've read ad nauseam all the posts about finding the last row in a column
> with data.  I couldn't find what I need.  I have a slightly different
[quoted text clipped - 13 lines]
>
> TIA!
fedude - 30 May 2008 12:58 GMT
Mike,

Two other pieces of information:

1) The dates of the tests are in column B, scores start in column C:DZ
2) The scores may be any number from 0 to 100 and not in any sorted order.  
The  highest score may not be the last score.

Maybe I just don't know how the LOOKUP function works, but with only 2
parameters, it's using the array form.  Won't the result be the highest score
not the last score?

> Maybe this
>
[quoted text clipped - 21 lines]
> >
> > TIA!
Don Guillett - 30 May 2008 13:30 GMT
This is an ARRAY formula that must be entered using ctrl+shift+enter

=MAX(IF($B$2:$B$22=H1,$D$2:$D$22))
where h1 has the scorer and col b has the names and col d has the scores
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> OK, I've read ad nauseam all the posts about finding the last row in a
> column
[quoted text clipped - 17 lines]
>
> TIA!
fedude - 30 May 2008 14:11 GMT
Don, you are almost my hero.   This formula looks simple, but..... I probably
wasn't clear in my description

I can't seem to get this to work.  Probably because I don't understand how
array functions work.  Partly because I can't figure out anyway MAX will work
for this problem.  I believe I entered  it properly because I can see the
braces.

In your formula, I don't understand what you use H1 for?  The student names
are in rows 1 and 2 of each column, but I'm not looking for a name.  I'm
looking  for the last cell in the 14:61 range of each column that has
anything in it.  I'll put this formula in row 136 of each column.  This
formula will tell me the date of the last test score in the 14:61 range in
that column

The test dates are in B14:B61.  Only column B has dates in them.
The test scores are in the next 200 columns in the same rows as the dates.

> This is an ARRAY formula that must be entered using ctrl+shift+enter
>
[quoted text clipped - 21 lines]
> >
> > TIA!
Don Guillett - 30 May 2008 14:17 GMT
You may send your workbook to my address below along with a snippet of this
page and I'll take a look.

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Don, you are almost my hero.   This formula looks simple, but..... I
> probably
[quoted text clipped - 46 lines]
>> >
>> > TIA!
Don Guillett - 30 May 2008 15:38 GMT
=IF(ISNA(MATCH(999999,C14:C61)),"",INDEX($B:$B,MATCH(999999,C14:C61)+13))

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> You may send your workbook to my address below along with a snippet of
> this page and I'll take a look.
[quoted text clipped - 54 lines]
>>> >
>>> > TIA!
fedude - 30 May 2008 16:04 GMT
Perfect....  You are my hero!
Don Guillett - 30 May 2008 16:38 GMT
Glad to help
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Perfect....  You are my hero!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.