Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help please to match data in a range, get the next column's value.

Hi everyone,
I'm preparing some sort of a price list and I'm trying to find a way
to match a cell's value within a range and get the next column's
value. Let's say I have the value 4550 in A4 value of worksheet 1, and
a range of numbers with prices next to them in an other worksheet.
What I need should sound like this:

IF THE VALUE OF A4 (of SHEET1) EXISTS IN RANGE A1..A1000 (of SHEET2)
THEN B4 (of SHEET1) = B??? (of SHEET2) WHERE ??? IS THE ROW NUMBER
WHERE THE VALUE OF A4 IS MATCHED

I hope I didn't sound out of my mind :) Thanks for any help.

All best!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Help please to match data in a range, get the next column's value.

Look in HELP how VLOOKUP() works

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Alper" wrote in message
om...
Hi everyone,
I'm preparing some sort of a price list and I'm trying to find a way
to match a cell's value within a range and get the next column's
value. Let's say I have the value 4550 in A4 value of worksheet 1, and
a range of numbers with prices next to them in an other worksheet.
What I need should sound like this:

IF THE VALUE OF A4 (of SHEET1) EXISTS IN RANGE A1..A1000 (of SHEET2)
THEN B4 (of SHEET1) = B??? (of SHEET2) WHERE ??? IS THE ROW NUMBER
WHERE THE VALUE OF A4 IS MATCHED

I hope I didn't sound out of my mind :) Thanks for any help.

All best!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Help please to match data in a range, get the next column's value.

Alper,

Not tested, but this is the sort of thing that you want

=IF(ISERROR(MATCH(A4,Sheet2!A1:A1000,0)),"",VLOOKU P(A1,Sheet2!A1:B1000,2,FAL
SE))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Alper" wrote in message
om...
Hi everyone,
I'm preparing some sort of a price list and I'm trying to find a way
to match a cell's value within a range and get the next column's
value. Let's say I have the value 4550 in A4 value of worksheet 1, and
a range of numbers with prices next to them in an other worksheet.
What I need should sound like this:

IF THE VALUE OF A4 (of SHEET1) EXISTS IN RANGE A1..A1000 (of SHEET2)
THEN B4 (of SHEET1) = B??? (of SHEET2) WHERE ??? IS THE ROW NUMBER
WHERE THE VALUE OF A4 IS MATCHED

I hope I didn't sound out of my mind :) Thanks for any help.

All best!



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
Creating a report sheet based on 1 column's data dunnowhatimdoin Excel Worksheet Functions 1 September 18th 10 10:08 AM
AVERAGE a range in a column if another column's range equals a val bob$ Excel Discussion (Misc queries) 3 February 24th 09 07:42 AM
How to specify 2nd column data depending on 1st column's data? Eleanor Excel Discussion (Misc queries) 1 February 13th 07 05:43 PM
How do I get the current column's data from that cell to another? CB Excel Worksheet Functions 0 January 24th 07 06:51 PM
How do I collate (match-up) one column's data with another? Mark Excel Worksheet Functions 2 March 16th 06 04:21 PM


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