Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Finding the first and last column with values

I had a list in an excel sheet ordered by name and months. Each column (B..M)
represent a month (Jan thru Dec).

I'm trying to identify the first month of each person that has any value
"0" or <"", and also the last month, but at this point I don't have any
clue.

Any support? thnx
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Finding the first and last column with values

Hi,

Try this:

First change your months into real dates if they are not already and format
as months. I suggest the first of each month. Then use these formulas:

=MIN(IF((B2:M2<"")*(B2:M2<0),B1:M1))
=MAX(IF((B2:M2<"")*(B2:M2<0),B1:M1))

both formula needs to be entered with Ctrl+Shift+Enter

HTH
Jean-Guy
"Epmo" wrote:

I had a list in an excel sheet ordered by name and months. Each column (B..M)
represent a month (Jan thru Dec).

I'm trying to identify the first month of each person that has any value
"0" or <"", and also the last month, but at this point I don't have any
clue.

Any support? thnx

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



All times are GMT +1. The time now is 02:04 AM.

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"