Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Only Cells with positive answer to IF formula

I have an IF formula in Column A that puts a number from another cell if
positive or
"" if negative. I want to put in say column B a formula that will bring all
the positive responses in order to the top of Column B, instead of just
spread out in A, is this possible or is their another solution
Regards David
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Only Cells with positive answer to IF formula

=IF(ROWS($1:1)<=COUNTA($A$1:$A$500),INDEX($A$1:$A$ 500,SMALL(IF($A$1:$A$500<"",ROW($A$1:$A$500)-MIN(ROW($A$1:$A$500))+1),ROWS($1:1))),"")

This is an array formula that must be inserted with:
CNTRL-SHFT-ENTER
rather than the
ENTER key


(from a Ron Coderre post)
--
Gary''s Student - gsnu200803


"Davidm" wrote:

I have an IF formula in Column A that puts a number from another cell if
positive or
"" if negative. I want to put in say column B a formula that will bring all
the positive responses in order to the top of Column B, instead of just
spread out in A, is this possible or is their another solution
Regards David

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Only Cells with positive answer to IF formula

This works well is their anyway of having it so #NUM! doesnt appear in cells
after the numbers are in order

Thanks David

"Gary''s Student" wrote:

=IF(ROWS($1:1)<=COUNTA($A$1:$A$500),INDEX($A$1:$A$ 500,SMALL(IF($A$1:$A$500<"",ROW($A$1:$A$500)-MIN(ROW($A$1:$A$500))+1),ROWS($1:1))),"")

This is an array formula that must be inserted with:
CNTRL-SHFT-ENTER
rather than the
ENTER key


(from a Ron Coderre post)
--
Gary''s Student - gsnu200803


"Davidm" wrote:

I have an IF formula in Column A that puts a number from another cell if
positive or
"" if negative. I want to put in say column B a formula that will bring all
the positive responses in order to the top of Column B, instead of just
spread out in A, is this possible or is their another solution
Regards David

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Only Cells with positive answer to IF formula

Su

=IF(ISERROR(originalformula),"",originalformula)
--
Gary''s Student - gsnu200803


"Davidm" wrote:

This works well is their anyway of having it so #NUM! doesnt appear in cells
after the numbers are in order

Thanks David

"Gary''s Student" wrote:

=IF(ROWS($1:1)<=COUNTA($A$1:$A$500),INDEX($A$1:$A$ 500,SMALL(IF($A$1:$A$500<"",ROW($A$1:$A$500)-MIN(ROW($A$1:$A$500))+1),ROWS($1:1))),"")

This is an array formula that must be inserted with:
CNTRL-SHFT-ENTER
rather than the
ENTER key


(from a Ron Coderre post)
--
Gary''s Student - gsnu200803


"Davidm" wrote:

I have an IF formula in Column A that puts a number from another cell if
positive or
"" if negative. I want to put in say column B a formula that will bring all
the positive responses in order to the top of Column B, instead of just
spread out in A, is this possible or is their another solution
Regards David

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
rounding down to positive when adding cells billatmei Excel Worksheet Functions 2 August 30th 06 06:04 PM
blank cells in a formula gives me an answer not acceptable to prin AL VEGA New Users to Excel 2 June 20th 06 01:06 AM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
formula to copy last positive number in range of cells rolan Excel Worksheet Functions 6 May 14th 05 02:27 PM
how can i create a formula or format the cells so the answer is a. jenniss Excel Discussion (Misc queries) 5 January 6th 05 04:50 PM


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