+ Reply to Thread
Results 1 to 10 of 10

Cross-Sheet Lookup Help

  1. #1
    Registered User
    Join Date
    06-09-2014
    Posts
    4

    Unhappy Cross-Sheet Lookup Help

    kiosk reg.PNGReg Report.PNG

    Hey all:

    So i'll try my best to explain this... Basically, what I'm having trouble doing is matching the site ID's and filling in column E for whatever the first instant date is. For example, site id 22112 in the images has it's first instance on 1/7/2014 in the other image... That being said, I'd like to fill in column E in the first sheet (Tech Launch date) with 1/7/2014 for that row.

    Basically would like the first instance filled in column E for the site ID matching on the other sheet. Not sure if that makes any sense. Any help would be greatly appreciated.

    Thanks!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Cross-Sheet Lookup Help

    Hi and welcome to the forum

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome (manually entered is ok) and how you arrived at that. (Exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you. Also, not all members can upload picture files (Company firewalls, etc.)

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-09-2014
    Posts
    4

    Re: Cross-Sheet Lookup Help

    Hi! Sorry about that. Thank you for clarifying. Attached is the file.

    Again, basically I want to take the first instance date from tab 1, and bring it back into column E on tab 2 (matching by site id)

    Thank you all for your help. I really appreciate it.
    Attached Files Attached Files
    Last edited by karim92; 06-09-2014 at 01:15 PM.

  4. #4
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Cross-Sheet Lookup Help

    You can use this as an ARRAY formula (confirmed by pressing Ctrl+Shift+Enter),
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If date column extends beyond column Y you need to change it accordingly in the above formula. Refer workbook attached.
    Attached Files Attached Files
    Last edited by Saarang84; 06-09-2014 at 02:20 PM.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  5. #5
    Registered User
    Join Date
    06-09-2014
    Posts
    4

    Re: Cross-Sheet Lookup Help

    Saarang: This is really great. Thanks so much, man.
    I have another file in which I want to do the same thing, but in it there are different numeric values for each row (see revised attachment). Is there a way to bring back the first date instance, regardless of what number is there? I see you are looking up the value "1", but what if I just want the first value?
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Cross-Sheet Lookup Help

    I used this Arrayed formula
    =INDEX(Sheet1!$B$1:$Y$1, MATCH(TRUE, ISNUMBER(INDEX(Sheet1!$B$2:$Y$21,MATCH(D2,Sheet1!$A$2:$A$21,0),)),0))
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Registered User
    Join Date
    06-09-2014
    Posts
    4

    Re: Cross-Sheet Lookup Help

    Doesn't seem to be working for me. Keeps altering the phone number section. Could you send me your worksheet with the formula in place?

    Thanks for your time.

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Cross-Sheet Lookup Help

    Here is the sheet with my formula in E2 of Sheet2
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Cross-Sheet Lookup Help

    Quote Originally Posted by karim92 View Post
    I have another file in which I want to do the same thing, but in it there are different numeric values for each row (see revised attachment). Is there a way to bring back the first date instance, regardless of what number is there? I see you are looking up the value "1", but what if I just want the first value?
    More condensed version of my formula is as below (Use it as an array formula by pressing Ctrl+Shift+Enter) :
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If there are no values filled in for a particular Site ID, the IFERROR function will capture it and return a blank value. You may need to change the column ranges on the worksheet as required in your original workbook.
    Last edited by Saarang84; 06-09-2014 at 09:49 PM.

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Cross-Sheet Lookup Help

    To explain Arrayed formulas (to the best of my ability)
    When you signify you want a formula to be an arrayed formula, signified by Excel with {} around the whole formula when you hit CNTRL SHFT ENTER, you tell Excel to assign extra memory to that formula because you are going to be doing some sort of intermediate calculations. With a large amount of data, this can significantly slow down your sheet.

    As a simple example
    {=SUM(IF(A1:A5>0, B1:B5)}
    Normally the first argument in an IF statement is a single cell. Here we want it to look at a range so Excel needs to have extra memory to store the information for each "Sub -IF"
    Let's say A1:A5 = 2, -1, 0, 5, 11 and B1:B5 = 1,2,3,4,5
    So Excel Stores this information
    =SUM(1, FALSE, FALSE, 4, 5) and gives 10
    Try it without using CNTRL SHFT ENTER
    Hope that helps.

+ 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. Cross referencing spreadhseets - lookup help
    By spgprivate in forum Excel General
    Replies: 3
    Last Post: 02-25-2011, 02:57 PM
  2. Cross String Lookup
    By hobman in forum Excel General
    Replies: 5
    Last Post: 01-21-2010, 02:36 PM
  3. cross sheet lookup issues
    By Kynik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2008, 07:59 PM
  4. Cross-referencing Lookup?
    By DentonHTHS in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-31-2008, 09:00 PM
  5. Lookup cross Drop down/scroll box
    By ScottyM in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-08-2006, 09:25 PM

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