Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default how do i select the most recent value in a row

I have dept survey results data in 12 columns (Jan - Jun). I am trying to
pull the most recent results for each dept (could be in any of the months)
into another column. I am stumped as to what formula would be? Can anyone
offer assistance?
I am using Excel 2003.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default how do i select the most recent value in a row

It would be helpful if you posted a sample layout

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Darla" wrote in message
...
I have dept survey results data in 12 columns (Jan - Jun). I am trying to
pull the most recent results for each dept (could be in any of the months)
into another column. I am stumped as to what formula would be? Can
anyone
offer assistance?
I am using Excel 2003.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default how do i select the most recent value in a row

Sample of data is:
Depts Jan Feb Mar Apr
6100 67 59
6105 98 93
8150 76

would like to pull in most recent survey results (in month columns) into
separate column

"Don Guillett" wrote:

It would be helpful if you posted a sample layout

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Darla" wrote in message
...
I have dept survey results data in 12 columns (Jan - Jun). I am trying to
pull the most recent results for each dept (could be in any of the months)
into another column. I am stumped as to what formula would be? Can
anyone
offer assistance?
I am using Excel 2003.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default how do i select the most recent value in a row

One way would be to insert a column to the LEFT of your data and using a
formula to match any number larger than possible in your data
=INDEX(2:2,0,MATCH(99999,2:2))
or a macro
Sub lastcol()
For i = 2 To Cells(Rows.Count, "a").End(xlUp).Row
x = Cells(i, Columns.Count).End(xlToLeft)
MsgBox x
Next i
End Sub



--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Darla" wrote in message
...
Sample of data is:
Depts Jan Feb Mar Apr
6100 67 59
6105 98 93
8150 76

would like to pull in most recent survey results (in month columns) into
separate column

"Don Guillett" wrote:

It would be helpful if you posted a sample layout

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Darla" wrote in message
...
I have dept survey results data in 12 columns (Jan - Jun). I am trying
to
pull the most recent results for each dept (could be in any of the
months)
into another column. I am stumped as to what formula would be? Can
anyone
offer assistance?
I am using Excel 2003.




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
recent postings not seen Kim Excel Worksheet Functions 1 June 7th 07 03:13 PM
Select the most recent date dbs Excel Worksheet Functions 4 May 10th 07 04:59 PM
Recent Files Kevin H. Stecyk Excel Discussion (Misc queries) 0 January 31st 07 08:24 PM
most recent date excelFan Excel Discussion (Misc queries) 1 December 21st 06 02:57 PM
~Recent File~ andibevan Excel Worksheet Functions 2 November 19th 04 08:52 PM


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

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

About Us

"It's about Microsoft Excel"