+ Reply to Thread
Results 1 to 4 of 4

Auto update another cell upon data enter

Hybrid View

zonexs123 Auto update another cell upon... 03-14-2012, 01:58 PM
DGagnon Re: Auto update another cell... 03-14-2012, 02:02 PM
roki4 Re: Auto update another cell... 03-14-2012, 05:01 PM
jaslake Re: Auto update another cell... 03-14-2012, 07:47 PM
  1. #1
    Registered User
    Join Date
    08-04-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2003
    Posts
    3

    Auto update another cell upon data enter

    Hello Experts,

    This is my first post in this forum. I am stuck with one of a problem in excel. I have a sheet where some data has been added frequently. I have a column E in which I have to add the "Received Date". I have another column F for "Status" & column G for "Total" which is a formula field.

    What I want that whenever I fill the date in column E, It will update Column F & G with data "Completed" & "Total" value respectively without copying it and pasting manually.

    As I am new to excel function & logic..even handle VBA little bit, please help me out here accordingly.


    I have also attached an sample file ......


    Thanks in advance.

    Santosh
    Attached Files Attached Files

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Auto update another cell upon data enter

    Welcome to the Forums, i would be glad to help you with this, give this a try.

    In column F use this formula

    =IF(E2<>"","Completed","")

    and in G use this

    =IF(E2<>"",C2+D2,"")
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Auto update another cell upon data enter

    Ya, that would do it assuming amount 1, 2, and the date are entered manually.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto update another cell upon data enter

    Hi Santosh
    Try this code in the attached
    Option Explicit
    Private Sub Worksheet_Change(ByVal Target As Range)
        If Not Target.Column = 5 Then Exit Sub
        If Not Target = "" Then
            Target.Offset(0, 1) = "Completed"
            Target.Offset(0, 2) = Target.Offset(0, -1)
        End If
    End Sub
    Let me know of issues.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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