Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
IF cell equals then help
Maybe?? your part numbers should all be in the same column, but maybe not.
Look in the help index for VLOOKUP or use MATCH within and INDEX formula. -- Don Guillett SalesAid Software "joecrabtree" wrote in message oups.com... 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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If a cell equals _, at the next row that equals _, return value fr | Excel Worksheet Functions | |||
If cell is left blank, or equals zero, then cell equals a different cell | Excel Discussion (Misc queries) | |||
How to create/run "cell A equals Cell B put Cell C info in Cell D | Excel Discussion (Misc queries) | |||
if a:a (range) equals january and c:c equals gas then add g:g ($) | Excel Worksheet Functions | |||
custom filter does not work when selecting 'equals' X AND 'equals' | Excel Discussion (Misc queries) |