Extract cells from a long list based on conditional formatting

canadian86

Board Regular
Joined
Feb 6, 2011
Messages
53
- In column A, I have list of items that take up 700 cells (i.e. the text is in cells A1, A2... A700).

- I have applied conditional formatting to these 700 cells, so some of them are now highlight YELLOW based on a criteria (i.e. cells A3, A14, A422, A654 are yellow)

- I want to create a list of these yellow cells in column B.

Do u know how I can do that?

Thanks a lot.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Try;

Excel 2007 +, B1, Confirmed with CTRL+SHIFT+ENTER, not just ENTER, copy down...

=IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH("install",$A$1:$A$1000)),ROW($A$1:$A$1000)),ROWS(B$1:B1))),"")

Excel 2003 -,

C1; =COUNTIF(A:A,"*install*")

B1, Confirmed with CTRL+SHIFT+ENTER, not just ENTER, copy down...

=IF(ROWS(B$1:B1)<=$C$1,INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH("install",$A$1:$A$1000)),ROW($A$1:$A$1000)),ROWS(B$1:B1))),"")
 
Upvote 0
I tried this for a similar problem (in Excel 2003) and it works but
I am not sure I entirely understand why.
Won't the "search" always return the same answer - based upon
whether A1 is "install" or not ?

tx
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,700
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top