Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default rows identification and deletion

I need a function to do the following task.
values in Col A1 to A6 are 2500,0,65,550,0,900
I need a function to transform these vales in Co B1 to B6 like this:

B1=2500
B2=65
B3=550
B4=900
B5=blank
B6=blank
please don't suggest to use filter,sort options or using a macro.
I am not expert in row number identification basing on condition.I think row
and match function will give the appropriate results ,what I need.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default rows identification and deletion

=IF(ISERROR(INDEX($A$1:$A$100,SMALL(IF($A$1:$A$100 <0,ROW($A$1:$A$100)),ROW(1:1)))),"";INDEX($A$1:$A $100,SMALL(IF($A$1:$A$100<0,ROW($A$1:$A$100)),ROW (1:1))))

Insert and hit CTRL+SHIFT+ENTER


"TUNGANA KURMA RAJU" skrev:

I need a function to do the following task.
values in Col A1 to A6 are 2500,0,65,550,0,900
I need a function to transform these vales in Co B1 to B6 like this:

B1=2500
B2=65
B3=550
B4=900
B5=blank
B6=blank
please don't suggest to use filter,sort options or using a macro.
I am not expert in row number identification basing on condition.I think row
and match function will give the appropriate results ,what I need.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default rows identification and deletion

Thank you excelnt.I am curious to know how this formula evaluates the disered
results,can you explain me step by step.You have used small function in this
formula,how it helps to get the results?Thank you so much.

"excelent" wrote:

=IF(ISERROR(INDEX($A$1:$A$100,SMALL(IF($A$1:$A$100 <0,ROW($A$1:$A$100)),ROW(1:1)))),"";INDEX($A$1:$A $100,SMALL(IF($A$1:$A$100<0,ROW($A$1:$A$100)),ROW (1:1))))

Insert and hit CTRL+SHIFT+ENTER


"TUNGANA KURMA RAJU" skrev:

I need a function to do the following task.
values in Col A1 to A6 are 2500,0,65,550,0,900
I need a function to transform these vales in Co B1 to B6 like this:

B1=2500
B2=65
B3=550
B4=900
B5=blank
B6=blank
please don't suggest to use filter,sort options or using a macro.
I am not expert in row number identification basing on condition.I think row
and match function will give the appropriate results ,what I need.



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
Automatic Deletion of Rows ai18ma New Users to Excel 6 April 5th 06 08:25 AM
Protect formulas but allow deletion of rows? Hubitron2000 Excel Discussion (Misc queries) 1 March 21st 06 11:28 PM
On deletion of rows Stephen Howe Excel Discussion (Misc queries) 2 October 7th 05 06:02 PM
Selective deletion of rows containing certain text. Colin Hayes Excel Worksheet Functions 9 June 15th 05 10:41 PM
Deletion of rows where a value is satisfied Larry Wallis Excel Worksheet Functions 1 February 22nd 05 12:41 PM


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