+ Reply to Thread
Results 1 to 2 of 2

Placing a value into a range of cell based on two dates

  1. #1
    Registered User
    Join Date
    03-31-2006
    Posts
    27

    Placing a value into a range of cell based on two dates

    I have dates in columns like this:

    25/09/06 02/10/06 09/10/06 16/10/06 23/10/06 etc


    And on another worksheet I have:
    5000 in cell A1 and then 02/10/06 in cell B1 and 16/10/06 in cell C1

    I would like 5000 to appear under the column headings for 02/10/06, 09/10/06, and 16/10/06 in my first worksheet - based on the values in cell A1 and the date range in B1 and C1.

    Is there a formula that can do this?

    Any help would be very much appreciated. Thanks.

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    if dates are in a1:e1 on the first sheet

    in a2 put if(and(a1>=sheet2!$b$1,a1<=sheet2!$c$1),sheet2!$a$1,"")

    Then copy accross for the other columns

    Regards

    Dav

+ 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