+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Help needed to create a lookup

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Help needed to create a lookup

    Hi all, first post on this forum.

    I have a spreadsheet with two sheets, where the first sheet has a column (Product Profit) that relies on a cell in sheet 1-1 for a value as follows:

    =((I2-G2*'Sheet 1-1 - Table 1'!C2))

    On Sheet 1-1, Column B and C are Product and Cost respectively, sample data:

    Product Cost
    Aciclov 1.45

    How would I create a lookup, to replace the above formula referring to C2, that does a lookup on the E column on Sheet 1, matches it with the Product column (B) on Sheet 1-1 and uses the corresponding value in the Cost column (C). I would like ALL formulae in the column to follow the same format (which I hope they will if we copy formats)

    Many thanks,

    Jaybee.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help needed to create a lookup

    Perhaps?

    =I2-G2*VLOOKUP(E2,'Sheet 1-1 - Table 1'!B:C,2,FALSE)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Help needed to create a lookup

    Fraid not, that just shows the value 'True'.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help needed to create a lookup

    That should look up the value found in E2 of your current sheet, find it in column B of the lookup sheet and return what is in column C of the same row where the match was found.

    It then should multiply by the G2 value, and subtract that result from I2.

    Not sure how it gets you "TRUE" result?

  5. #5
    Registered User
    Join Date
    09-22-2011
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Help needed to create a lookup

    Much appreciate the efffort, but the boss has already solved the issue. Don't know how!!

    Cheers,

    Jaybee

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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