Results 1 to 3 of 3

Create persistent data field with if statement?

Threaded View

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Create persistent data field with if statement?

    I work in a school and am creating a template that allows teachers to track the behaviour of the kids over the days, weeks, terms.

    On one worksheet they type in the week number, and then the daily totals, from 0-100.
    The data is then posted to a second worksheet. Pictures, below:


    Daily Tracking:
    Daily track.png

    Term Tracking:
    Term Track.png


    On the second worksheet, as shown below, I wrote an if statement

    Formula: copy to clipboard

    =IF('Daily Behaviour Tracking'!F8=1,'Daily Behaviour Tracking'!E39,)


    Which takes the value from the daily totals and posts it into the weekly totals, depending on the week number.

    The problem is, when the second weeks data is entered, then the first week reverts back to '0'.

    Is there any way for the data to persist after the function is changed?



    PS. I left the 'value_if_false' area blank as an attempted fix, but it didn't work.

    Also I felt like I didn't explain that very well, so I'll link the excel work book to play around with. Try adding data for week 1 in the Daily Behaviour Tracking worksheet, then set it to week 2 (F8) and week one will disappear in the Weekly Behaviour Tracking worksheet.

    Dynamic Template Test.xlsx

    Thanks,

    any suggestions are more than welcome.
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] how to create a "persistent" variable definition?
    By MCCCLXXXV in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-04-2013, 07:25 AM
  2. Persistent data across changing calendar?
    By geox123 in forum Excel General
    Replies: 0
    Last Post: 04-23-2013, 11:11 AM
  3. Count property not sequential and persistent data question
    By dystopianprotagonist in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2013, 03:37 AM
  4. [SOLVED] Array Data Not Persistent
    By Edd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2006, 02:47 PM
  5. Persistent Data in a Combo Box
    By The Hawk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2005, 06:06 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