Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default How do I create a list based on another list?

The second list is based on the first, but only if the items meet a certain
value. I do not want blank cell or N/A in the second list.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default How do I create a list based on another list?

The second list is based on the first, but only if the items meet a certain
value. *I do not want blank cell or N/A in the second list.


In my example, the first list is in A2:A26.

B is a helper column.

I'm not sure what "meet a certain value" means here, so I use an
(arbitrary) criterion that the number in the first list should be
greater than 4.

Leave B1 and C1 empty.

In B2 put:
=IF(A24,MAX(B$1:B1)+1,"")
Note the arbitrary criterion "A24" in this formula. Change it to the
actual criterion for the case at hand.

Then in C2 put:
=IF(ROW()-1MAX(B:B),"",
OFFSET($A$1,MATCH(ROW()-1,B:B,0)-1,0))

Then select B2:C2 and extend down to the end of the list.

The desired result should be in column C.

Column B can be hidden to avoid clutter.

Modify to suit.

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
Create sorted list based on cell values Jon Excel Discussion (Misc queries) 7 October 9th 09 07:30 AM
How To Create a Value Based Upon The Contents of A List jeb Excel Worksheet Functions 2 February 18th 09 07:50 PM
Create list based on data table Jack Excel Discussion (Misc queries) 1 January 22nd 09 08:26 AM
How to create a formula 5 to 10% based on given list of price working on variable Excel Worksheet Functions 1 January 13th 06 07:55 AM
Create List based on cell data CWatsonJr Excel Discussion (Misc queries) 3 September 20th 05 07:10 PM


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