View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bobak Bobak is offline
external usenet poster
 
Posts: 1
Default extract names based on conditions

In Excel I have a long list of names. I want to write a macro to extract all
those names that are a certain age into a new list

eg if my spreadsheet shows

A B
1 Name Age
2 Adam 40
3 Eve 28
4 Frank 40
5 John 43

I want to create the list of people aged 40 ie Adam, Frank in 2 new cells

Any ideas?