+ Reply to Thread
Results 1 to 8 of 8

need help when a condition is met change the value of a cell , and copy contents to a cell

  1. #1
    Registered User
    Join Date
    04-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    30

    need help when a condition is met change the value of a cell , and copy contents to a cell

    I want that when if selected absent code : ( V or S ) for either vacation or sick automaticlly on column F where the reg hours go, to insert a number 8 , and that coresponding date is copied to either the vacaction
    or sick balance table with also the number 8 in the hours colmun

    the absent colum has a drop list to choose the V or S code

    note: but also need that the hours column that has a formula , to be usable in case the number 8 is removed using the blank option in the drop list : (

    included is the file
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    As per the request I have made to insert the data in the Vacation column and Sick Column. Please have a check with attached file.

    Here on the Cell Change I check if the value is V or S and then insert the data in the Vacation Column or Sick Column

    ______________________________________________________________________________________________________
    If you feel this has helped, please add to reputation

  3. #3
    Registered User
    Join Date
    04-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    shyamhappy thanks for the response check the included file you sent me : ) , the are in blue is great that is what i wanted but the reg hours column that is in yellow you see it has a formula : check f7 , f8, f9 , etc , in K10 its vacation code and i need a number 8 to go in reg hours column that is in yellow where there is a formula , is there a way to put the 8 there when the code is either V or S only when that condition is met , without afecting the formula in other words if by error i selected V or S and the 8 apears there i can select the blank from the drop list and the formula apears again ? : (

  4. #4
    Registered User
    Join Date
    04-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    shyamhappy thanks for the response check the included file you sent me : ) , the are in blue is great that is what i wanted but the reg hours column that is in yellow you see it has a formula : check f7 , f8, f9 , etc , in K10 its vacation code and i need a number 8 to go in reg hours column that is in yellow where there is a formula , is there a way to put the 8 there when the code is either V or S only when that condition is met , without afecting the formula in other words if by error i selected V or S and the 8 apears there i can select the blank from the drop list and the formula apears again ? : (
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    Attachment 256248

    please check now.

  6. #6
    Registered User
    Join Date
    04-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    ok checked it but supose i entered by error V code on 7-25-2013 and want to reset the reg hrs cell - (F 13 ) so it can have the formula again to use the in-out data entries, because once the 8 is entered upon selecting the V or S code the formula disapears : ( , is there any way that if i select the blank option in the drop list the formula can apear again to be used : ( ?
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    Could you please check this?


    Attachment 256497

  8. #8
    Registered User
    Join Date
    04-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: need help when a condition is met change the value of a cell , and copy contents to a

    that is just perfect just as needed thank you very much shyamhappy : )

+ 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. Insert Column Adjacent to Cell If Cell Contents Anything Other Than Condition
    By Jrub in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-20-2013, 03:45 PM
  2. Change cell color based upon partial cell contents
    By msmick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2012, 01:24 AM
  3. Checking cell contents against a list as a condition
    By Pads in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2011, 07:48 AM
  4. Macro to copy the contents of a cell based on certain condition
    By Newbiee in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-09-2009, 01:29 AM
  5. Change cell colour based on contents of adjacent cell
    By guitar@imms12.w in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2008, 11:24 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