Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default IF cell equals then help

To all,

I need help with the following.

I have a list of part numbers in column A. In column D I have a list
of part numbers. In column E I have a price for these part numbers.


Is there anyway that I can loop through column A so that it matches
the part number to that of column D, and then Assigns the price
( Column E) to column B automatically if it matchs,without having to
go through manually and allocating the price?


Please let me know if you need anymore info.

Thanks in advance for your help,

Regards

Joseph Crabtree

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default IF cell equals then help

Hi Joe,

Here's an Index/Match formula. I use these rather than VLOOKUPs because
they're not as particular about your lookup lists.

Try this (assuming that your ranges are A2: E100, with A1:E1 containing the
headings, ie. "Part Numbers"). Put the formula below in cell B2 (again,
assuming the range of values is rows 2 through 100), and drag down to the end
of the range.

INDEX($A$2:$E$100,MATCH(D2,$A$2:$A$100,0),5)

Remeber to observe/include the absolute values ($ signs)

Exceller

"joecrabtree" wrote:

To all,

I need help with the following.

I have a list of part numbers in column A. In column D I have a list
of part numbers. In column E I have a price for these part numbers.


Is there anyway that I can loop through column A so that it matches
the part number to that of column D, and then Assigns the price
( Column E) to column B automatically if it matchs,without having to
go through manually and allocating the price?


Please let me know if you need anymore info.

Thanks in advance for your help,

Regards

Joseph Crabtree


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
If a cell equals _, at the next row that equals _, return value fr CathyH Excel Worksheet Functions 10 May 2nd 07 07:53 PM
If cell is left blank, or equals zero, then cell equals a different cell John McMurry Excel Discussion (Misc queries) 3 April 13th 07 01:14 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM
if a:a (range) equals january and c:c equals gas then add g:g ($) BCOz Excel Worksheet Functions 4 December 29th 05 07:40 PM
custom filter does not work when selecting 'equals' X AND 'equals' plindman Excel Discussion (Misc queries) 1 June 1st 05 11:29 PM


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