Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default When data match, copy adjacent value to adjacent column

Say I have two columns entered on worksheet 1.

Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

On a different worksheet, or within the same worksheet, I want to be able to
type in a cell the Model, and have it search the Model column, and if it
finds identical entry, copy the value in Pwr column to the cell next to it.
Like in cell K1 I enter DL 385, and it will automatically copy 260 to cell L2.

Is this possible? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 341
Default When data match, copy adjacent value to adjacent column

VLOOKUP

Sheet1
Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

Sheet2 Formula in cell L2
=VLOOKUP(K1,Sheet1!A:B,2,0)

if your sheet is not called Sheet1, replace as appropriate.
if you have spaces in it, you may need something like 'My Worksheet'!A:B

if you are doing in in the same sheet, it is just
=VLOOKUP(K1,A:B,2,0)
--
Allllen


"slimbim" wrote:

Say I have two columns entered on worksheet 1.

Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

On a different worksheet, or within the same worksheet, I want to be able to
type in a cell the Model, and have it search the Model column, and if it
finds identical entry, copy the value in Pwr column to the cell next to it.
Like in cell K1 I enter DL 385, and it will automatically copy 260 to cell L2.

Is this possible? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default When data match, copy adjacent value to adjacent column

Great! Awesome! Thank you!

"Allllen" wrote:

VLOOKUP

Sheet1
Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

Sheet2 Formula in cell L2
=VLOOKUP(K1,Sheet1!A:B,2,0)

if your sheet is not called Sheet1, replace as appropriate.
if you have spaces in it, you may need something like 'My Worksheet'!A:B

if you are doing in in the same sheet, it is just
=VLOOKUP(K1,A:B,2,0)
--
Allllen


"slimbim" wrote:

Say I have two columns entered on worksheet 1.

Model Pwr
DL 360 180
DL 385 260
ML 375 300
MSA 30 400

On a different worksheet, or within the same worksheet, I want to be able to
type in a cell the Model, and have it search the Model column, and if it
finds identical entry, copy the value in Pwr column to the cell next to it.
Like in cell K1 I enter DL 385, and it will automatically copy 260 to cell L2.

Is this possible? Thanks.

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
PivotTable - Where have the units/records gone? Epinn Excel Worksheet Functions 8 October 29th 06 05:03 AM
Otto M. - Data Matching Gilly Excel Worksheet Functions 0 May 12th 06 06:29 PM
specify date source for x-axis (adjacent to data column in Excel) retired general Charts and Charting in Excel 1 March 9th 06 12:06 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM


All times are GMT +1. The time now is 01:39 AM.

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

About Us

"It's about Microsoft Excel"