Results 1 to 7 of 7

Need to count if the difference in values between two arrays is less than 5

Threaded View

italianiceman Need to count if the... 09-07-2012, 01:22 PM
ConneXionLost Re: Need to count if the... 09-07-2012, 01:42 PM
NBVC Re: Need to count if the... 09-07-2012, 01:46 PM
tigeravatar Re: Need to count if the... 09-07-2012, 01:46 PM
Teethless mama Re: Need to count if the... 09-07-2012, 01:50 PM
italianiceman Re: Need to count if the... 09-07-2012, 01:55 PM
italianiceman Re: Need to count if the... 09-07-2012, 03:08 PM
  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    MD, USA
    MS-Off Ver
    Excel:Mac 2011
    Posts
    3

    Need to count if the difference in values between two arrays is less than 5

    I have three columns, which I have simplified for this problem, but they are team, start and finish. They are located in another workbook, so i cannot generate a fourth column to produce the differences between the start and finish.

    I would like to count if the difference between (Finish-Start) is less than 5, and team equals 2.

    In my example worksheet (attached), the answer should be 2, but I can only get that by generating the fourth column "difference" first and using "=COUNTIFS(A3:A22, "=2", D3:D22, "<=5")" (cell D23), which I can't do in my original problem, because I can't generate that column in the new workbook, or original workbook.

    I have tried "=countifs(A3:A22, "=2", b3:b22-c3:c22, "<=5")" but this doesn't work . . . but that may explain better the logic I am trying to introduce into a cell.

    Thank you in advance.
    Attached Files Attached Files

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