+ Reply to Thread
Results 1 to 7 of 7

IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    Morning All,

    I have worked out to do an Index function to return the last name in a column but i need this to be based on the value in column C. This is essentialy an equipment register and we need to track who has what, each tab is a different piece of equipment. Column A has the issued date, column B is the returned date and column D is the current user - each row represents a new lease. What i would like to do is work out with ease who has the equipment, if there is no return date then the last user in cloumn D is responsible?

    =INDEX(D11:D59,COUNTA(D11:D59),1)

    Thanks

  2. #2
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    Re: IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    i tried this too

    =IF(B11:B59,"",INDEX(D11:D59,COUNTA(D11:D59),1))

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

    Re: IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "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
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    =LOOKUP(2,1/(C11:C59="name"),D11:D59)
    Where "name" is your value for column C
    (you can replace that with cell reference) let say A1
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  5. #5
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    Re: IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    Book2.xlsx

    Thanks Martin

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

    Re: IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    maybe
    =IF(A11="","unassigned",IF(INDEX($B$11:$B$58,MATCH(10^99,$A$11:$A$58,1))=0,INDEX($D$11:$D$58,MATCH(10^99,$A$11:$A$58,1)),"unassigned"))

  7. #7
    Registered User
    Join Date
    10-11-2012
    Location
    England
    MS-Off Ver
    MS Office 2016 (Home PC), MS Office (Work PC)
    Posts
    62

    Re: IF & INDEX Formula =INDEX(D11:D59,COUNTA(D11:D59),1)

    I am lost for words!!!!! THANK YOU

+ 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] COUNTA for Indexed cells without solving for the index
    By ScottBeatty in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-25-2013, 04:24 PM
  2. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  3. Replies: 2
    Last Post: 11-21-2012, 12:02 PM
  4. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  5. [SOLVED] help w/formulas (index, counta, and choose)
    By linksavage in forum Excel General
    Replies: 4
    Last Post: 01-23-2011, 01:37 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