Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default vb to copy conditional info.

why won't vlookup("dp301",lookuprange,3,0) for ly and ,4,0 for ty work?

"lylahk" wrote in message
...
I have been banging my head on my desk for the past 3 days
trying to figure this one out. I have 2 worksheets.
In cell b3 on sheet1 I have a dept number. On sheet2, I
want to find cells that match this dept number and copy
info from 2 columns to the right of dept number. ie:

Store Dept LY Sales $ TY Sales $
5899 DP301 SWEATERS 3023 6159
5758 DP301 SWEATERS 3379 2102
5273 DP302 KNITS TOPS 1476 1301
5225 DP302 KNITS TOPS 1386 1528

I want to copy all of LY and TY Sales to another sheet for
the specific Dept given. Any ideas??




  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default vb to copy conditional info.

This is actually a large file that copies multiple depts
on to different sheets and the vlookup links take up to 2
1/2 hours to update all links. Copying and pasting data
shortened process to minutes. Unfortunately, the number
of stores varies weekly and by depts.


-----Original Message-----
why won't vlookup("dp301",lookuprange,3,0) for ly

and ,4,0 for ty work?

"lylahk" wrote in

message
...
I have been banging my head on my desk for the past 3

days
trying to figure this one out. I have 2 worksheets.
In cell b3 on sheet1 I have a dept number. On sheet2, I
want to find cells that match this dept number and copy
info from 2 columns to the right of dept number. ie:

Store Dept LY Sales $ TY Sales $
5899 DP301 SWEATERS 3023 6159
5758 DP301 SWEATERS 3379 2102
5273 DP302 KNITS TOPS 1476 1301
5225 DP302 KNITS TOPS 1386 1528

I want to copy all of LY and TY Sales to another sheet

for
the specific Dept given. Any ideas??




.

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
Copy info into empty cells below info, until finds cell with new d Fat Jack Utah Excel Discussion (Misc queries) 3 November 16th 08 08:34 PM
Compare EE #s & Copy Info Steve C Excel Discussion (Misc queries) 3 July 23rd 08 02:38 AM
Filter - Copy info teach1 Excel Discussion (Misc queries) 4 May 9th 08 10:16 PM
Copy info IF MAX Brian Excel Worksheet Functions 1 August 12th 06 12:08 PM
Copy info in a range that always changes. j. martinez Excel Worksheet Functions 1 January 12th 06 08:49 PM


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