Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Show the latest Cell Value of a column in the other cell of worksh

Hello to alll
I have 5 codes (contain text and number) in a column:
A1= F 01 01
A2= F 01 02
A3= F 01 03
A4= F 01 04
A5= F 01 05
But they are not completed at one time. they are completed at some times
orderly.
I need to see the latest filled cell (Latest code) in a cell on the other
worksheet.
Is there a function for it?
Much thnaks
Amir

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Show the latest Cell Value of a column in the other cell of worksh

I have two answers for you:

1. the numbers are always entered in order a1,a2,a3,a4. In this case the
latest entered value is at the bottom of the column and the formula is:

=INDEX(A:A,MATCH(REPT("z",10),A:A,1),1)
will return the bottom value



2. the numbers are randomly updated. In this case you could use an event
macro:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Range("A1:A5"), Target) Is Nothing Then
Else
Application.EnableEvents = False
Sheets("Sheet2").Range("A1").Value = Target.Value
Application.EnableEvents = True
End If
End Sub

or something similar.
--
Gary''s Student - gsnu200719

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a pivot table to show the count of blank cells in a worksh Robbo Excel Discussion (Misc queries) 1 November 21st 06 02:56 AM
Reading the Latest Value into a cell lee Excel Worksheet Functions 1 October 26th 06 03:15 AM
How can I show in a given cell a lowest number in a column? Charles Drummer Excel Discussion (Misc queries) 2 March 25th 06 07:14 AM
Selecting any cell in a column I want my ComboBox to show. How? ABP MLundqvist Excel Discussion (Misc queries) 4 March 1st 06 01:15 PM
show latest date input only Nigel Excel Discussion (Misc queries) 1 December 1st 05 11:55 AM


All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"