+ Reply to Thread
Results 1 to 4 of 4

Finding the relative position of the last X

  1. #1
    Registered User
    Join Date
    08-03-2015
    Location
    Peterborough
    MS-Off Ver
    Excel 2007
    Posts
    26

    Finding the relative position of the last X

    Hi,

    One of process lines needs cleaning every 4,24 and 500 times an item goes through it.
    Excel Query 3.xlsx

    So starting at the first point roll one it assumed that all counters have been reset.

    At the end of job 4 the operators are to stop and clean the line. Once complete they are to put an X in that column and they can carry on to item 5.

    What I want to do is get a visual representation of number of jobs to clean.

    Talking now about the attached spreadhseet.

    In Column F the last X is in cell F50, This relates to A50 as it is the 48th item produced. We have then gone on to produce items upto 53. So we have produce 5 items without a clean so we are 1 over due and this number 5 in this case is number that is important to get automatically.

    So my basic understanding of how the formula would work is look up the last cell with X in For Column F this F50, G50 and H2. I then want to know what value is in column A at this point and find out what the highest number(=MaxA:A) is in Column a and subtract the two to give 5,5,53.
    Last edited by Howlin; 09-02-2015 at 08:10 AM. Reason: Name incorrect

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Finding the relative position of the last X

    To find out last X in coloum F and corresponding value in A column =LOOKUP(1,1/(F1:F200<>""),A1:A200)

    if you want row number then =LOOKUP(1,1/(F1:F200<>""),row(A1:A200))

  3. #3
    Registered User
    Join Date
    08-03-2015
    Location
    Peterborough
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Finding the relative position of the last X

    Works perfect thanks!

  4. #4
    Registered User
    Join Date
    08-03-2015
    Location
    Peterborough
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Finding the relative position of the last X

    I can't for the life of me figure out how that works. If you have time could you explain please.

+ 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] Finding position of longest sequence
    By Marvo in forum Excel General
    Replies: 5
    Last Post: 03-09-2015, 09:50 AM
  2. Finding Mouse pointer position
    By fraz627 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2014, 06:33 AM
  3. Finding Date and Position Cursor
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2009, 11:12 AM
  4. finding position of number in text
    By momo123 in forum Excel General
    Replies: 9
    Last Post: 08-07-2009, 07:35 AM
  5. Finding the position of a value in an array
    By Phil_V in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2009, 06:06 AM
  6. Finding the position of a value in a matrix
    By jamesryan in forum Excel General
    Replies: 2
    Last Post: 04-27-2009, 02:47 PM
  7. Finding Column Position
    By Brian Mann in forum Excel General
    Replies: 1
    Last Post: 09-22-2005, 04:26 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