Hello,
I am a novice in VBA and trying to solve a problem in excel using VBA. Any hints or suggestions would be very helpful.
I have two sheets in a workbook. One sheet (Database) has the database of products, time and costs. Cost is a function of time and product names.
Second sheet (Sheet 2) is which a user wants to calculate cost of a particular combination of product and time. The user can put 3 product names or 4 product names, so number of rows are variable in this sheet. He will also input the time for each product.
What I need is: to find the product (from sheet 2 as provided by the user) in the sheet 1(database) and replace the time with the time value provided by the user. Based on it, I need to bring back the corresponding cost to sheet 2.
The sheet 2 can have same products with different time.
I am wondering if anyone can help me on this. Any kind of hints would be helpful.
Thanks
Bookmarks