Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please help..urgent !

Hi,
I need help in constructing a macro which will insert values from tw
sheets present in the same workbook into another according to ite
number and transaction date.Can someone help me in this please ? I
yes,then i can mail you the workbook along with the requirement..i a
sure some of u'll may have a ready-made macro for this requirement...

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Please help..urgent !

How about a formula?

Say your lookup worksheet is named sheet2 with the item number in column A
and the date in B and value in column C.

And the same layout in sheet1 for column A and B:

=INDEX(Sheet2!$c$1:$c$999,
MATCH(1,(Sheet2!$A$1:$A$999=a1)*(Sheet2!$B$1:$B$99 9=b1),0))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)


"debra2468 <" wrote:

Hi,
I need help in constructing a macro which will insert values from two
sheets present in the same workbook into another according to item
number and transaction date.Can someone help me in this please ? If
yes,then i can mail you the workbook along with the requirement..i am
sure some of u'll may have a ready-made macro for this requirement....

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

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
IME MODE FOR EXCEL 2007 (URGENT URGENT) Stella Wong Excel Discussion (Misc queries) 1 August 23rd 08 11:16 PM
Urgent-Urgent VBA LOOP Jeff Excel Discussion (Misc queries) 0 October 6th 05 05:46 PM
Urgent Urgent Excel Discussion (Misc queries) 3 September 10th 05 10:07 AM
Macro help urgent urgent Dave Peterson[_3_] Excel Programming 0 September 4th 03 03:59 PM
Macro help urgent urgent chandra Excel Programming 0 September 4th 03 03:50 PM


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