Excel novice- help required

Roc

New Member
Joined
Nov 25, 2005
Messages
32
I have sheet reading external text data updating every second. This is placed in say A1:A3000. I need function/formula in B1 to show latest reading in range (constantly updating). Many thanks in advance.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Roc

Welcome to the Mr Excel board!

Try =LOOKUP("zzzzz",A:A)
 
Upvote 0
Apologies for not being clear enough, my first post.
Latest reading = most recent reading from range. Have played with OFFSET but doesn't like blanks.
 
Upvote 0
I take it then that the most recent reading does not go at the bottom of the column list? Where does it go? How would you find the most recent reading if you were doing it manually?
 
Upvote 0
I was going to suggest:

=INDIRECT("A"&COUNTA(A:A))

But this will only work if every row is populated down to the last reading you are after.

BrianB's suggestion works perfectly

=LOOKUP(9.99999999999999E+307,A:A)

I'll have to remember that one!! :cool:
 
Upvote 0
BrianB's suggestion works perfectly
Except that Brian's suggestion will find the last NUMBER in the column, whereas the OP indicated his data is TEXT and therefore my (similar) formula should do the trick provided there isn't any real data starting with more z's than I put in the formula.
 
Upvote 0
Hi Roc,

If "reading" means last change in a cell, I suggest to put this into your worksheet module :
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then ActiveSheet.Cells(1, 2) = Target.Address & " at " & Date & "/" & Time
End Sub

If "reading" means last selection of cell for looking its value then :
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 1 Then ActiveSheet.Cells(1, 2) = Target.Address & " at " & Date & "/" & Time
End Sub


Hope this helps
 
Upvote 0
Sorry for delay in replying. I'm trying these ideas out as we speak. Takes time as it requires realtime updates.
Range is filled in order down rows A1:A3000, cells blank until data input. Most recent data will always be at bottom of current range and all rows above most recent data will have text returned. (e.g. with update every second, row 1 will return first data, row 10 returns data after 10 secs etc). B1 needs to return current data and may change every second. I am having prob with blanks at bottom of range (not yet filled) being returned.
 
Upvote 0

Forum statistics

Threads
1,203,605
Messages
6,056,254
Members
444,853
Latest member
sam69

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top