+ Reply to Thread
Results 1 to 2 of 2

Using SMALL with IF possibly??

  1. #1
    Registered User
    Join Date
    09-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Using SMALL with IF possibly??

    HI

    I have log of events in a spreadsheet (small example attached) with data arranged in several groups with a common reference for each group in Column A. Interspersed are single rows of data.

    Column F contains dates and these are time stamps for an entry of data. I need to find the two smallest values in each group and deduct the smaller from the larger to get a response time with a 0 where a row has only a single value.

    I have been trying to use the SMALL and IF functions, but am getting bogged down and suspect my approach is too simple.

    Could anyone help please?

    Eoin Joyce
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Using SMALL with IF possibly??

    Guess what? I solved my own problem. If I make a unique filter to A20 for column A, the formula to enter from B20 for the 2nd lowest value is:

    =SMALL(IF($A$5:$A$18=A20,$F$2:$F$15,""),2)

    I can easily adapt (use 1 as the last digit) to put a lowest value in column C and subtract to D get a response time. Just had to make sure the data in Col A is formatted as text. This is what stopped the calculation driving me to frustration.

    Thanks to me this time!!

    Eoin
    Last edited by Eoin Joyce; 09-21-2011 at 06:16 PM.

+ 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