+ Reply to Thread
Results 1 to 2 of 2

Tracking items in columns

  1. #1
    Registered User
    Join Date
    05-06-2015
    Location
    Dallas, TX
    MS-Off Ver
    2010
    Posts
    1

    Tracking items in columns

    Hello,

    I'm a pretty lousy programmer and I'm not sure if this is possible but here's my problem:

    I have three columns:

    Trial, TreeID, Nback


    So the value in Nback should be equal to the difference in trial numbers between the current TreeID and the last time that same ID occured. So it should look like this:

    Trial, TreeID, Nback
    1 1 0
    2 2 0
    3 3 0
    4 3 1
    5 2 3
    6 1 5
    7 2 2
    8 3 4


    So the number in the TreeID can be anything in a certain range, with no set order. Is there anyway to make a function for the Nback column so that I don't have to go through and calculate each cell myself or this not possible in excel?

    Thanks!

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Tracking items in columns

    VBA?

    Formula in C1:
    =IF(COUNT(A1:B1),A1-B1,"")
    then copy down....

+ 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. Applying Conditonal Formatting which allows Tracking of items
    By rachael.wright in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2015, 03:12 AM
  2. Tracking Items in Excel
    By maclopez in forum Excel General
    Replies: 1
    Last Post: 07-25-2014, 08:41 PM
  3. Tracking based on values in different columns
    By bigbrain in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2013, 07:46 PM
  4. Excel 2007 : Tracking Action Items
    By marcusmccown in forum Excel General
    Replies: 2
    Last Post: 02-14-2010, 05:33 PM
  5. Replies: 1
    Last Post: 10-29-2008, 12:12 PM

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