View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Simon Lloyd[_1076_] Simon Lloyd[_1076_] is offline
external usenet poster
 
Posts: 1
Default Extract data from one range and place in the same sheet


tkraju, your data hasn't travelled well it seems, do you just want to
retrieve data from columns D:E32 for every instance of Apr-09?, could
you explain a little more clearly?

tkraju via OfficeKB.com;304223 Wrote:
Col A-------------------Col
B------------------ColC---------------------------
Col D-----------------------ColE
Name-------------------Date-------------------Amount----------------------"
Mary"-------------------- Apr-09
John------------------01-Apr-09--------------$100
------------------------
01-Apr-09---------------$125
Mary------------------01-Apr-09--------------$125-----------------------------
02-Apr-09---------------$567
Raj--------------------02-Apr-09---------------$50----------------------------
--04-Apr-09---------------$321
Mary------------------02-Apr-09---------------$567
John-------------------03-Apr-09---------------$213
Bill--------------------03-Apr-09----------------$456
Mary-----------------04-Apr-09-------------------$321
Cathy----------------06-Apr-09---------------$310
Mary------------------01-May-09--------------$78
Raj---------------------02-May-09--------------$567

D1 has dropdown list of Names,and E1 has drop down list of Mon-YY.
I need a macro code to get Mary's Apr-09 data from the used range A1:C
to
D2:E32.
If I select Mary(cell D1) and Apr-099Cell E1) ,the output should
display like
above.

--
Message posted via OfficeKB.com
'Excel - programming Excel using VBA or XLM macros'
(http://www.officekb.com/Uwe/Forums.a...mming/200904/1)



--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=85079