+ Reply to Thread
Results 1 to 4 of 4

Reference cell, based on other cell value

  1. #1
    Registered User
    Join Date
    04-21-2009
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    66

    Reference cell, based on other cell value

    Hi All,
    I have atttached a sample of my spreadsheet.

    What I need ti to do, is enter the next date from column A - in cell F6 - dependant on the value of column C.

    So, if column C is uncompleted (No "X") I want F6 to show the first date matching the uncompleted cell - in this example A98.

    Anyone have an idea on formula of macro to do this?
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,406

    Re: Reference cell, based on other cell value

    =index(a2:a2000;countif(c2:c2000;"x")+1; )

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Reference cell, based on other cell value

    =index(a:a,match("*",c:c,-1)+1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    04-21-2009
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Reference cell, based on other cell value

    Thnaks both - very helpful

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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