|
-
Aug 21st, 2008, 03:54 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Excel Match
Hello
I have 2 spreadsheets.
Spreadsheet 1, Column "D" lists my unique job numbers. If the job number is found in Spreadsheet 2, column "G", then i need to copy the contents of Column "L" from Spreadsheet 1 over to the corresponding/matched Job number in Sheet 2 and paste the contents from Column "L" Sheet1, into Column "CI" in SHeet 2.
I'm lost....please help!!
thanks
-
Aug 21st, 2008, 04:01 AM
#2
Re: Excel Match
you can achieve it with or without code. how do you want to achieve it?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Aug 21st, 2008, 04:10 AM
#3
Thread Starter
Fanatic Member
Re: Excel Match
I don't mind. I need to do this on a weekly basis so whatever you think is best - easiest method possible....without code probably would be easier for me!
-
Aug 21st, 2008, 04:14 AM
#4
Re: Excel Match
It's quite simple with VLOOKUP() formula on sheet, no need VBA code.
If I understand you correctly:
In cell "CI2" of Sheet2, enter: =VLOOKUP($G2, Sheet1!$D:$L, 9, 0)
(replace Sheet1 with your actual sheet name)
then copy cell CI2 downward.
If a job number in column G of Sheet2 not found, #N/A will displays.
-
Aug 21st, 2008, 04:34 AM
#5
Thread Starter
Fanatic Member
Re: Excel Match
amazing!!!
Exactly what i needed....works brilliant
Thank you very much for your time.
-
Aug 21st, 2008, 04:35 AM
#6
Thread Starter
Fanatic Member
Re: Excel Match
what does the 9,0 at the end of your formula mean?
-
Aug 21st, 2008, 04:52 AM
#7
Re: Excel Match
=VLOOKUP($G2, Sheet1!$D:$L, 9, 0)
 Originally Posted by gilly
what does the 9,0 at the end of your formula mean?
9 : counting number of columns from D to L
0 (or FALSE) : Exactly match
Search Help for VLOOKUP function to learn more.
-
Aug 21st, 2008, 04:56 AM
#8
Re: Excel Match
If you are happy with the solution please mark your thread as resolved.
-
Aug 21st, 2008, 05:19 AM
#9
Addicted Member
Re: [RESOLVED] Excel Match
I tend to use an Index Match combination, will give you the same results as above
But thought it worth posting anyway
=INDEX(Sheet2!$D:$L,MATCH($A1,Sheet2!$A:$A,0),2)
0 in this formula again means exact match
and 2 returns the 2nd column. i.e. column E
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|