+ Reply to Thread
Results 1 to 3 of 3

Auto populating cells with data

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    Langley, BC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Auto populating cells with data

    I have a spreadsheet which involves a lot of data entry. What I am trying to do is have as much info automatically entered as possible.
    Some of the columns include: date, week in year, period, and period/week
    If I enter the date as say Jan 6th, how to I get the cell in the "period" column to know that since jan 6 is between jan 1-jan28 that it falls in period 1 week 1?
    This is really confusing to explain what I'm trying to do, but please help. Thanks

  2. #2
    Registered User
    Join Date
    03-09-2012
    Location
    Langley, BC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Auto populating cells with data

    All I can think of is using an if function: if(a1=date between jan 1 and jan 28, then "period 1"
    Except I don't know how to write that

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto populating cells with data

    Hi

    In D1=06/01/12
    In E1=28/01/12

    In A1, put the formula.

    =IF(AND(A1<E1,A1>=D1),"period 1","if not period 1??")


    Hope to helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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