Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PSL PSL is offline
external usenet poster
 
Posts: 8
Default List the last amount that is state

I have a worksheet where each month I add data and have rows Jan-Dec listed.
I add data to the worksheet each month. I want a formula where it will look
at the data and the results would be the last month I have data in it. So
for example, I now have Jan-Jun data listed. I want the result to be what is
stated for June as that is the last month where I have data in it. If I have
Jan-Sept data listed, I want the result to be what is stated in Sept. Etc.
I have tried using the formula:
=index(C5:C17,CountA,(C5:C17)).
This works if there is an amount stated in C5:C17, but does not work if
there is formulas stated in C5:C17. HELP!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default List the last amount that is state

On Mar 26, 7:59*am, PSL wrote:
I have a worksheet where each month I add data and have rows Jan-Dec listed. *
I add data to the worksheet each month. *I want a formula where it will look
at the data and the results would be the last month I have data in it. *So
for example, I now have Jan-Jun data listed. *I want the result to be what is
stated for June as that is the last month where I have data in it. *If I have
Jan-Sept data listed, I want the result to be what is stated in Sept. *Etc.
I have tried using the formula:
=index(C5:C17,CountA,(C5:C17)).
This works if there is an amount stated in C5:C17, but does not work if
there is *formulas stated in C5:C17. *HELP!


This is an ARRAY formuls

It needs Ctrl-Shift-Enter to activate

=INDIRECT("C"&MAX(IF($C$35:$C$52<0,ROW($C$35:$C$5 2))))


"C" is the column set your range
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default List the last amount that is state

=index(C5:C17,CountA,(C5:C17)).
This works if there is an amount stated in C5:C17


I take it that "amount" means the data is numeric?

Try this...

=IF(COUNT(C5:C17),LOOKUP(1E100,C5:C17),"")

--
Biff
Microsoft Excel MVP


"PSL" wrote in message
...
I have a worksheet where each month I add data and have rows Jan-Dec
listed.
I add data to the worksheet each month. I want a formula where it will
look
at the data and the results would be the last month I have data in it. So
for example, I now have Jan-Jun data listed. I want the result to be what
is
stated for June as that is the last month where I have data in it. If I
have
Jan-Sept data listed, I want the result to be what is stated in Sept.
Etc.
I have tried using the formula:
=index(C5:C17,CountA,(C5:C17)).
This works if there is an amount stated in C5:C17, but does not work if
there is formulas stated in C5:C17. HELP!



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
replace state names with state code abbreviations se7098 Excel Worksheet Functions 3 July 25th 09 06:41 PM
Compare City and State to Master List Not Excelerated[_2_] Excel Worksheet Functions 2 May 30th 07 01:44 AM
Converting State Names to State Abbreviations aznate Excel Discussion (Misc queries) 1 October 20th 06 06:52 AM
create a list box in one cell of state abbreviations spitcher Excel Worksheet Functions 1 March 27th 06 11:01 AM
US State Abbreviations List DTTODGG New Users to Excel 1 November 16th 05 01:36 PM


All times are GMT +1. The time now is 04:47 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"