+ Reply to Thread
Results 1 to 6 of 6

Lookup, if, and, or - cell reference

  1. #1
    Registered User
    Join Date
    09-02-2013
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2013
    Posts
    44

    Lookup, if, and, or - cell reference

    Is there any way to lookup if a specific value is found left of my current cell (or another given cell)? I only need to look in one row, not several.

    I would like to use this to decide which cell my current cell should retrieve data from. If the specific value (eg. 12) is found left of mye current cell I would like it to read from D2, if not read from C2.


    Or, any way to lookup and return the cell reference to where a specific value is found (only one row)?!
    Last edited by anghicole; 09-01-2016 at 08:18 AM.

  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,890

    Re: Lookup, if, and, or - cell reference

    I am little bit confused by your explanation. Can you show us a couple of specific examples of what you are trying to do.
    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
    09-02-2013
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2013
    Posts
    44

    Re: Lookup, if, and, or - cell reference

    I've attached a sample workbook. I would like to check row no. 3 for the number "12". If this is found left of my current cell, I would like the current cell to read D2 instead of C2 (which is default).
    Attached Files Attached Files
    Last edited by anghicole; 09-01-2016 at 08:28 AM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Lookup, if, and, or - cell reference

    Because of the merge and center alignment of the month number I couldn't get a formula to work successfully. I did however get the following, pasted in E6 and copied across, to work using the week number.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Notice that the first Monday in 2018 will be January 1st.
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    09-02-2013
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2013
    Posts
    44

    Re: Lookup, if, and, or - cell reference

    Worked like charm! Exactly what I was looking for! :D I couldn't find a way for it work with either the month number or the week number, but this solved it all! Thank you so much!!

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Lookup, if, and, or - cell reference

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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. [SOLVED] Cell Reference Lookup help
    By MitchellG in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-06-2014, 07:17 AM
  2. Lookup within in Same cell as reference
    By Ada01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2008, 02:06 PM
  3. Lookup cell reference
    By Christian411 in forum Excel General
    Replies: 3
    Last Post: 04-09-2008, 07:03 AM
  4. Cell reference of a lookup
    By CraigD in forum Excel General
    Replies: 2
    Last Post: 03-30-2008, 10:44 PM
  5. Lookup and Cell reference
    By nsaint in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2007, 12:33 PM
  6. Row Reference & Cell Lookup
    By T Dot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-26-2006, 12:30 PM
  7. [SOLVED] two way lookup and cell reference
    By Detat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-03-2006, 11:20 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