+ Reply to Thread
Results 1 to 3 of 3

Trying to create a simple costing model on excel

  1. #1
    Registered User
    Join Date
    03-29-2017
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2011 Mac
    Posts
    2

    Trying to create a simple costing model on excel

    So basically this is what I'm trying to do.

    I have a worksheet that has specific column headers e.g A1=Model, B1=Size, C1=Speed etc.

    I need to create a formulae that automatically locates the column header and goes through the column (starting at row 2) and searches its corresponding value from a master sheet database which contains all the values.

    I already use a vlookup formulae to lookup the value in A2, A3..... which looks like =vlookup(A2,Model!C:D,2,FALSE). The problem is the lookup value has to be in the same column every time (Column A) and I have to manually drag the formulae down to the number of rows that match however many models there are (The rows will change every time but the Column headers will remain the same). Is there a way the I can automatically lookup the values from my Model sheet given a Column with the header Model and every time I change the amount of rows it automatically re adjusts?

    E.G. sheet

    A
    1 Model
    2 Ford
    3 Dodge
    4 Ferrari
    5 Porsche
    6 Ford

    =vlookup(automatically go into Model column and start at row 2,Model!C:D,2,False)
    =vlookup(automatically go into Model column row 3,Model!C:D,2,False)
    =vlookup(automatically go into Model column row 4,Model!C:D,2,False)
    .
    .

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Trying to create a simple costing model on excel

    Hi, welcome to the forum

    Sounds like you need to look at the INDEX/MATCH/MATCH combo for this, but to give more precise help, I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-29-2017
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2011 Mac
    Posts
    2

    Re: Trying to create a simple costing model on excel

    Thanks for the quick reply. I've uploaded a sample workbook of what I want my costing model to look like.

    The only thing changing in this example would be the supplier sheet which I would upload every time but the column headers on each supply sheet would remain the same.

    Also, if for some reason the Model is not found using the vlookup in the database than it would be great if it showed me what the model was on the costing page. I've attempted to do this myself but again, it is not automated and will required me to drag the formula down to match the number of rows.

    Thanks for your help and look forward to the response
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple Optimization Model - Help Needed
    By afgallday in forum Excel General
    Replies: 3
    Last Post: 04-09-2015, 02:32 AM
  2. Excel Costing Model
    By wonderwife2008 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2013, 08:12 AM
  3. Create a model that will generate a column of numbers based on model parameters
    By tncanoeguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 05:47 PM
  4. Create object model diagram using excel
    By naflas in forum Excel General
    Replies: 0
    Last Post: 11-22-2010, 12:13 AM
  5. data validation-creating a costing model
    By molly147 in forum Excel General
    Replies: 2
    Last Post: 09-14-2008, 06:14 PM
  6. [SOLVED] How do I create a Kano graph/model in excel?
    By Jerby in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-10-2005, 01:10 PM
  7. [SOLVED] any hint for using excel to create a model?
    By gipsassignment in forum Excel General
    Replies: 1
    Last Post: 10-19-2005, 10:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1