+ Reply to Thread
Results 1 to 8 of 8

Looking up data in one sheet for a different layout on another sheet

  1. #1
    Registered User
    Join Date
    03-08-2018
    Location
    New York
    MS-Off Ver
    2013
    Posts
    9

    Lightbulb Looking up data in one sheet for a different layout on another sheet

    Hello,

    I have a workbook that's is pulling pricing data from 3 others sheets, On one of the sheets, the data is formatted into rows and can't seem to get it to work using vlookup.

    Main Sheet.png


    I need to take data from the table below and have it display into the "site 2" column in the table above. I can't seem to figure out how to make that work with Vlookup, perhapse its not the best formula to use. I'm a little lost, any help would be greatly appreciated

    Source.png
    Last edited by 6StringJazzer; 03-08-2018 at 10:42 AM. Reason: Title

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Looking up data in one sheet for a different layout on another sheet

    Welcome to the Forum jaycre8tive!

    As a new member, please take the time to review our rules. There aren't many, and they are all important.

    Rule #1 requires good thread titles. Your title didn't tell us anything at all about your question. I have updated for you because you are a new member.

    Also, an image attachment has very little value. Just attach the Excel file. It's easier than taking a screenshot first and then attaching that. It will be much easier to understand your problem if you provide your file. This allows us to see and experiment with your data, layout, formulas, code, and possibly attach a file with a completed solution. If you are looking for formulas to produce a desired result, it helps if you create a mock-up of what you want the result to look like. Otherwise we would have to build something from scratch, trying to guess what you want it to look like.

    The paper clip icon does not work for attachments. Instead, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.

    Your problem is probably straightforward but you have not included nearly enough information to help.

    What VLOOKUP formula did you try?
    What result did you want, and what result did you actually get?
    You have four blocks of data that each have Site 2. How do you determine what data should go in each of those four blocks?
    Your data table has nothing to identify which site the data is for. How to you determine which data is for Site 2?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-08-2018
    Location
    New York
    MS-Off Ver
    2013
    Posts
    9

    Re: Looking up data in one sheet for a different layout on another sheet

    Hello, Thank you for the reply, I attached the workbook, I removed most of the data just to drill down to the core issue.

    The Problem that I'm having is:

    I have 3 sheets on that workbook

    Main - Site 2 - Site 3

    I'm trying to pull data ( prices ) from Site 2 & Site 3 into the Main sheet, The data on the "site 2" is formatted into rows
    while the data from "Site 3" is formatted into columns.

    The Vlookup function was working but it seems to be returning N/A.

    Let me know if this is clearer,


    I appreciate the help, sorry about not reading through the rules
    Attached Files Attached Files
    Last edited by jaycre8tive; 03-08-2018 at 01:01 PM.

  4. #4
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Looking up data in one sheet for a different layout on another sheet

    on the main sheet for site 3 column, you can use this

    =IFERROR(INDEX('Site 3'!$A:$J,MATCH($A3,'Site 3'!$A:$A,0),MATCH(SUBSTITUTE(Main!C$1,"ricing Level ",""),'Site 3'!$A$1:$J$1,0)),"")

    copy paste for all pricing level site 3.


    For the site 2, how do you differentiate which of it belows to Pricing Level 1, Level 2, Level 3 etc .. ??
    Last edited by finalazy; 03-08-2018 at 02:35 PM.

  5. #5
    Registered User
    Join Date
    03-08-2018
    Location
    New York
    MS-Off Ver
    2013
    Posts
    9

    Re: Looking up data in one sheet for a different layout on another sheet

    Quote Originally Posted by finalazy View Post
    on the main sheet for site 3 column, you can use this

    =IFERROR(INDEX('Site 3'!$A:$J,MATCH($A3,'Site 3'!$A:$A,0),MATCH(SUBSTITUTE(Main!C$1,"ricing Level ",""),'Site 3'!$A$1:$J$1,0)),"")

    copy paste for all pricing level site 3.


    For the site 2, how do you differentiate which of it belows to Pricing Level 1, Level 2, Level 3 etc .. ??
    There displayed in order: I added 1 more column to show Example.png

  6. #6
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Looking up data in one sheet for a different layout on another sheet

    try pasting this on site 2 column on main sheet for pricing 1.

    Then copy paste for the rest.

    =IFERROR(INDEX('Site 2'!$D:$D,MATCH(1,INDEX(('Site 2'!$A:$A=Main!$A3)*('Site 2'!$E:$E=SUBSTITUTE(C$1,"Pricing ","")),),0)),"")
    Last edited by finalazy; 03-08-2018 at 03:14 PM.

  7. #7
    Registered User
    Join Date
    03-08-2018
    Location
    New York
    MS-Off Ver
    2013
    Posts
    9

    Re: Looking up data in one sheet for a different layout on another sheet

    Thank you a million, that worked like a charm!

  8. #8
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Looking up data in one sheet for a different layout on another sheet

    You are welcome. Glad it work out for you.

+ 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. Lost spaces and Zeros lost when replacing text
    By renshawk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2013, 04:50 AM
  2. always lost
    By john/nyc in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-05-2012, 03:45 PM
  3. Lost
    By RSGREINER in forum Excel General
    Replies: 2
    Last Post: 04-19-2010, 02:06 PM
  4. [SOLVED] How do I keep a running total of pounds lost and percentage lost
    By angel5959 in forum Excel General
    Replies: 4
    Last Post: 01-26-2006, 05:20 PM
  5. I'm Lost!!!
    By AceAlmighty82 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-14-2006, 10:29 AM
  6. [SOLVED] Ok IM REALLY LOST.. PLEASE HELP
    By NIKKI NEEDS HELP! in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2005, 05: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