+ Reply to Thread
Results 1 to 2 of 2

Finding data in one sheet and referencing it in another sheet.

Hybrid View

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    31

    Finding data in one sheet and referencing it in another sheet.

    Hi guys I need a bit of help. I have attached an example which should make the following a bit more clear..


    If there is data in one of the 'day' cells in Sheet 1 then I need to find the next available day in Sheet 2 and then highlight it in Sheet 1. The box number (Column A in both sheets) is the reference point.

    For example box 903 has Sat as one of its days in Sheet 1 (G3) so the next day on Sheet 2 is Sun (B25) so I would need the next Sun cell (H3) in Sheet 1 highlighting.

    Another example would be 2794 again as Sat (G5) as one of its days. The next available day in Sheet 2 is Mon (B9) so I5 would need highlighting in Sheet 1.


    It doesn't need highlighting with a color by the way, a letter 'x' will be fine.


    Cheers guys

    exxxxample.xlsx

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Finding data in one sheet and referencing it in another sheet.

    Hi

    In H2 copied across & down

    Formula: copy to clipboard

    =IF(WEEKDAY(H$2)=INDEX(Sheet2!$C:$C,MATCH($A3,Sheet2!$A:$A,FALSE),1),"x","")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Referencing original sheet to copy/paste into new sheet without using file name
    By pgarakani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2012, 02:06 PM
  2. Finding data in sheet and adding data to sheet through vba
    By sukyb1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2010, 10:05 PM
  3. Replies: 8
    Last Post: 02-03-2007, 01:41 AM
  4. Finding data of one sheet in another sheet
    By don in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2006, 09:10 PM
  5. [SOLVED] referencing a sheet named in a cell then using data from that sheet
    By gbeard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-15-2005, 04:06 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