If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Last cell with entry

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-21-09, 09:41
Trinsan Trinsan is offline
Registered User
 
Join Date: Oct 2005
Posts: 168
Last cell with entry

This ought to be pretty simple, and worse still, I have done a few spreadsheets with similar functions creating sums.

Nevertheless, I have the following problem, that I just can't seem to solve.

On the left-most sheet, labelled "main sheet" I have a column A containing rows with labels for a series of tasks.

Next to each task there is a cells that ought to contain their respective latest entry in a subsheets.

Each task has a subsheet that contains 2 columns.

A, contains a date, DD:MM
B, contains a variable text, referring to what was done on that dae

My problem is, on the main sheet I can't get the cell related to task to show the latest column B entry.

What function should I use? I try to build an IF statement, but it just doesn't work.

Cheers, and thanks in advance,

Trin
__________________
IT squid: networks, servers, firewalls, routers and I dabble a little with SQL-server and Access as well....
Reply With Quote
  #2 (permalink)  
Old 04-21-09, 09:56
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
Hi Trin,

It sounds like you'll need to use an INDEX() MATCH() combination in your formula such as this:
Code:
=INDEX('Task a'!B:B,MATCH(MAX('Task a'!A:A),'Task a'!A:A,0))
I've attached an example. Is that what you are looking for?
Attached Files
File Type: zip index match example.zip (6.8 KB, 6 views)
Reply With Quote
  #3 (permalink)  
Old 04-22-09, 02:49
Trinsan Trinsan is offline
Registered User
 
Join Date: Oct 2005
Posts: 168
It looks EXACTLY like what I'm looking for!

Brilliant.. hadn't thought of using index for that.

Thank you very much for your time.

Cheers, Trin
__________________
IT squid: networks, servers, firewalls, routers and I dabble a little with SQL-server and Access as well....
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On