Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default New to Excel 2007 with a perplexing MACRO question

I am working on a sheet for an employer who wants to be able to run a macro
and find duplicate entries and in put the correct price based on the search
criteria.
He wants only one sheet and the sheet must be dynamic as updates will be
occurring weekly.
The data is in the form of a parts descriptions and prices . so for
instance...
If there is an 8 In Flange any where in the parts list it should be linked
to the cost on an 8 in flange. And when ever an 8 in flange is entered the
cost should populate. There are about 29 individual parts so the macro should
be able to search for duplications of all 30 parts..
Is this possible???


Thanks in advance
--
Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default New to Excel 2007 with a perplexing MACRO question

Perhaps you could accomplish this with a VLOOKUP function instead of a macro.

VLOOKUP looks down the first column for a matching value and returns a value
from a column to its right. You could place all the part numbers down column
A and their corresponding price in column B and lookup values with a function.
--
Kevin Backmann


"Tangohammerli" wrote:

I am working on a sheet for an employer who wants to be able to run a macro
and find duplicate entries and in put the correct price based on the search
criteria.
He wants only one sheet and the sheet must be dynamic as updates will be
occurring weekly.
The data is in the form of a parts descriptions and prices . so for
instance...
If there is an 8 In Flange any where in the parts list it should be linked
to the cost on an 8 in flange. And when ever an 8 in flange is entered the
cost should populate. There are about 29 individual parts so the macro should
be able to search for duplications of all 30 parts..
Is this possible???


Thanks in advance
--
Jim

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default New to Excel 2007 with a perplexing MACRO question

Can you use Vlookup in a Macro to search for duplicates of all 30 parts? Or
would you run the VL 30 times, once for each part??
Told ya I was new at this...
--
Jim


"Kevin B" wrote:

Perhaps you could accomplish this with a VLOOKUP function instead of a macro.

VLOOKUP looks down the first column for a matching value and returns a value
from a column to its right. You could place all the part numbers down column
A and their corresponding price in column B and lookup values with a function.
--
Kevin Backmann


"Tangohammerli" wrote:

I am working on a sheet for an employer who wants to be able to run a macro
and find duplicate entries and in put the correct price based on the search
criteria.
He wants only one sheet and the sheet must be dynamic as updates will be
occurring weekly.
The data is in the form of a parts descriptions and prices . so for
instance...
If there is an 8 In Flange any where in the parts list it should be linked
to the cost on an 8 in flange. And when ever an 8 in flange is entered the
cost should populate. There are about 29 individual parts so the macro should
be able to search for duplications of all 30 parts..
Is this possible???


Thanks in advance
--
Jim

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
2007 question - Macro Security Otto Moehrbach Excel Discussion (Misc queries) 2 October 28th 07 07:40 PM
Excel 2007 question? Dan the Man[_2_] Excel Worksheet Functions 4 July 8th 07 11:28 PM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
Excel 2007 Macro Question vtec Excel Discussion (Misc queries) 4 April 19th 07 02:14 PM
Macro question in 2007 soza Excel Discussion (Misc queries) 1 December 12th 06 03:06 PM


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