+ Reply to Thread
Results 1 to 5 of 5

Automatic Formula for 1 column

Hybrid View

  1. #1
    Registered User
    Join Date
    12-29-2008
    Location
    bronx
    MS-Off Ver
    Excel 2002
    Posts
    3

    Automatic Formula for 1 column

    I have two colums as shown below:
    Shift Time In
    Day

    The SHIFT column has the word DAY under it. The TIME IN column is empty.

    In the Shift column below if the value entered is "Day" I want the Time In column to say "1pm",
    If the value entered is "Night", I want the Time In column to say "7pm",

    I need a formula that will fill in the TIME IN column automatically based on whats on the SHIFT column. Please help me!

    Thanks!
    Last edited by nessadiaz; 12-29-2008 at 07:56 PM. Reason: solved

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    12-29-2008
    Location
    bronx
    MS-Off Ver
    Excel 2002
    Posts
    3
    thanks for the information.
    i really do not know what the help i need is called but i changed the title thanks!

  4. #4
    Forum Contributor
    Join Date
    06-29-2008
    Location
    Grand Rapids, MI
    MS-Off Ver
    Office 2010
    Posts
    127
    assuming column a for shift, and b for time in

    place in b2 and copy down:

    =if(a2="day","1pm","7pm")
    and then you could use a data validation list for all of column a to only allow the values "Day" or "Night"

  5. #5
    Registered User
    Join Date
    12-29-2008
    Location
    bronx
    MS-Off Ver
    Excel 2002
    Posts
    3
    thank you very much!

    Quote Originally Posted by robert_shindorf View Post
    assuming column a for shift, and b for time in

    place in b2 and copy down:

    =if(a2="day","1pm","7pm")
    and then you could use a data validation list for all of column a to only allow the values "Day" or "Night"

+ 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