+ Reply to Thread
Results 1 to 8 of 8

Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

  1. #1
    Registered User
    Join Date
    03-31-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    17

    Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    Hi;
    I am preparing sheet for document controller;
    I want to put time stamp automatically with this =IF(F6<>"",IF(B6="",NOW(),B6),"") function.
    but when I post data to new row the time of all rows refresh automatically.

    I want it to pick time while posting in particular row and keep it forever.
    and only update the row in which i am posting info.
    Please help me to fix this function or any other solution for static time stamp.

    Regards
    Last edited by waqarhq; 04-05-2015 at 09:18 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    You will need VBA to do this. With your formula, the NOW() is a volatile function so anytime a change is made on the spreadsheet, the NOW() will update. NOW() returns the day along with the time.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    03-31-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    17

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    I tried a code to fix it
    but still....

    this was the code

    Please Login or Register  to view this content.
    Last edited by jeffreybrown; 04-05-2015 at 09:30 AM. Reason: Please use code tags when posting code

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    You can get it to work witout VBA, if you enable iterative calculations. When that's done, this will give you a non-updating datestamp in B2 as soon as anything is entered in A2.

    =IF(A2="","",IF(B2="",NOW(),B2))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    03-31-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    17

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    Thanks glenn
    but same issue
    as soon as i post in new row
    all cells of time stamp show new time

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    You're doing something wrong. see attached sheet.

    Have you enabled iterative calculations?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-31-2015
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    17

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    Wow perfect
    thanks

    according to this i will put my data before the formula cell, right

    or i can populate data on both sides of formula cell?
    I am asking this to prepare my tamplate

    thanks again boss

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Having issue in =IF(F6<>"",IF(B6="",NOW(),B6),"") function

    It's up to you. I mrmally ise this so that as soon as the first entry is mafe in a row (usually column A), then the datestamp updates. If you run into problems, do ssk.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  4. Replies: 5
    Last Post: 06-26-2006, 09:23 PM
  5. Replies: 7
    Last Post: 05-13-2006, 05:02 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