LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default macro to copy numbers based on criterias

Hello guys,

I'm looking for a macro to do the following:

in sheet1, I have column A which contains the row numbers.
I have a column B with the names of persons in it (a certain person can
have multiple lines). I want the macro to go and find all the
rownumbers (in column a) where the name of the person (column b) is
equal to the name given in e.g. cell a1(criteria1) and where column c
fullfils the criteria in cell a2(criteria2). Then all the rownumbers
have to be copied to sheet2 in column A. If the above criteria or not
fullfilled then the rownumber may not be copied to sheet2.


Is this possible ?

Thanks

 
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
Summarizing up cells based on two different criterias Ruslan Excel Worksheet Functions 4 March 15th 10 02:58 PM
How to add data from cells based on different criterias? Peter Gonzalez[_2_] Excel Worksheet Functions 2 February 6th 10 03:50 PM
sum based on 4 criterias freebee Excel Discussion (Misc queries) 4 June 28th 09 03:38 AM
Insert values based on 2 criterias wamz Excel Discussion (Misc queries) 3 September 14th 07 12:02 PM
Counting instances based on two criterias [email protected] Excel Worksheet Functions 7 June 5th 06 07:18 PM


All times are GMT +1. The time now is 08:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"