+ Reply to Thread
Results 1 to 6 of 6

Look up a column and return a value 1 cell below the word yes

  1. #1
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Look up a column and return a value 1 cell below the word yes

    Can someone give me a formula please that looks up a column of data and finds the word Yes, then returns the value in the cell below Yes.

    Thanks in advance


    Chambo
    Chambo1160

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Look up a column and return a value 1 cell below the word yes

    Try this:

    =INDEX(A:A,MATCH("Yes",A:A,0)+1)

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: Look up a column and return a value 1 cell below the word yes

    INDEX(A1:A20,MATCH("Yes",A1:A20,0)+1)

    Thanks Pete, does that mean the above. Neither formula are working

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Look up a column and return a value 1 cell below the word yes

    Your formula is the same, but just covers the range A1:A20. However, the first range in the formula should be offset by 1 and then you don't need the +1, like this:

    =INDEX(A2:A21,MATCH("Yes",A1:A20,0))

    What does "not working" mean? Are you getting errors returned, or the wrong values? Please post an example workbook so I can see what's happening.

    Pete

  5. #5
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: Look up a column and return a value 1 cell below the word yes

    Thanks Pete, it works in a fresh spread sheet. Not sure whats going on with the original so wont send it in case it has a cold or something.

    Best Regards


    Chambo

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Look up a column and return a value 1 cell below the word yes

    Okay, Martin. Understood. Glad you got it working.

    Pete

+ 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. Replies: 3
    Last Post: 08-03-2013, 03:19 PM
  2. Cateorgise data - If word is in column H, return set value in blank column
    By cork_girl in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-06-2013, 10:38 AM
  3. If one column cell contains "y", return corresponding column word
    By JKK123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2013, 04:32 AM
  4. Replies: 10
    Last Post: 05-31-2012, 12:00 PM
  5. Replies: 5
    Last Post: 11-18-2005, 06:10 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