+ Reply to Thread
Results 1 to 6 of 6

If number in sheet is X pull numbers from table in different sheet matching X

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    10

    If number in sheet is X pull numbers from table in different sheet matching X

    If a yield goal (H4) is assigned in sheet 4 or "Input costs" I want to pull information from table in sheet 1 or "fertilizer recommendations" specifically say I pick a yield goal of 140 in "Input Costs" I want to take gallons of 28% and lbs of potash from sheet 1 or "fertilizer recommendations" and put them in the corresponding cell in sheet 3 or "rates" so gal of 28% with a yield goal of 140 will appear in sheet 3 "rates" in cell B4 "gal of 28%" and lbs of potash with yield goal of 140 from sheet one will appear in sheet 3 "rates" B6.

    thanks for any help!
    Attached Files Attached Files
    Last edited by sniderza; 10-24-2012 at 10:01 AM.

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: If number in sheet is X pull numbers from table in different sheet matching X

    How about this?

    Put this in cell B4 in sheet "Rates"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and this in cell B6 in sheet "Rates"
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    10-23-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: If number in sheet is X pull numbers from table in different sheet matching X

    Formula contains an error!!

  4. #4
    Registered User
    Join Date
    10-23-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: If number in sheet is X pull numbers from table in different sheet matching X

    Found this in another thread looks kinda simalr??


    Re: Find production data from one sheet a have it populate on another
    Hard to say without seeing a sample, but this part increments the column return for the VLOOKUP.

    COLUMN(B$1)

    Put the above on your spreadsheet say in A1. The returned result should be 2. Now drag the formula to the right and it will increase up by 1.





    So with the formula I proposed in B2, dragging it to the right it will look like

    B2 =IF($A2<>"",VLOOKUP($A2,'First Page'!$A$1:$C$30,COLUMN(B$1),0),"")
    C2 =IF($A2<>"",VLOOKUP($A2,'First Page'!$A$1:$C$30,COLUMN(C$1),0),"")
    D2 =IF($A2<>"",VLOOKUP($A2,'First Page'!$A$1:$C$30,COLUMN(D$1),0),"")
    etc.

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: If number in sheet is X pull numbers from table in different sheet matching X

    The error is most likely that the ; should be replaced with , .
    Different standards depending on local settings.

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: If number in sheet is X pull numbers from table in different sheet matching X

    Glad to hear it worked! (PM)
    Don't forget to mark it SOLVED when solved. It's under Thread Tools on the top of the thread. Only you or moderator can do it.

+ 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