We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Excel problem

st999
st999 Posts: 1,574 Forumite
Part of the Furniture 1,000 Posts Name Dropper
edited 8 November 2016 at 3:52PM in Techie Stuff
I want to have the date 1st January in cell A1 and the 31st March in cell A90.

I then want the time 16:03 in cell B1 and the time 19:00 in cell B90.

I then want to fill down from cell B2 to cell B89 in equal (or as near equal as possible) increments.

How do I do this?

Comments

  • googler
    googler Posts: 16,103 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Combo Breaker
    You want the equal increments in Col B to be (20:00 - 16:03) / 90, is that it?

    For column A, enter 1 - 5 January in first five cells, select A1 - A90 and hit Ctrl+D to fill down
  • Le_Kirk
    Le_Kirk Posts: 25,892 Forumite
    Part of the Furniture 10,000 Posts Photogenic Name Dropper
    Just put the date in A1, in A2 put =A1+1, press enter. Click on the bottom right hand corner grab handle of cell A2 and drag it down. Repeat for the time. Be wary of calculating with dates and time. Best look up a tutorial or use Excel's own help function.
  • victor2
    victor2 Posts: 8,343 Ambassador
    Part of the Furniture 1,000 Posts Name Dropper
    Seems a bit of an odd sequence, but if I understand your requirement, there's no need to use two columns as the following will do it:
    In A1 enter 01/01/2016 16:03
    In A90 enter 31/01/2016 20:00
    In A2 put this formula: =A1+($A$90-$A$1)/89
    Then copy that formula down as far as A89.
    Job done.
    Can I ask why?

    I’m a Forum Ambassador and I support the Forum Team on the In My Home MoneySaving, Energy and Techie Stuff boards. If you need any help on these boards, do let me know. Please note that Ambassadors are not moderators. Any posts you spot in breach of the Forum Rules should be reported via the report button, or by emailing forumteam@moneysavingexpert.com. 

    All views are my own and not the official line of MoneySavingExpert.

  • st999
    st999 Posts: 1,574 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    In A1 enter 01/01/2016 16:03
    In A90 enter 31/01/2016 20:00
    In A2 put this formula: =A1+($A$90-$A$1)/89
    Then copy that formula down as far as A89.

    Does not give correct sequence
  • victor2
    victor2 Posts: 8,343 Ambassador
    Part of the Furniture 1,000 Posts Name Dropper
    st999 wrote: »
    Does not give correct sequence
    What sequence do you think the OP wants?
    We're left guessing until we hear more.

    I’m a Forum Ambassador and I support the Forum Team on the In My Home MoneySaving, Energy and Techie Stuff boards. If you need any help on these boards, do let me know. Please note that Ambassadors are not moderators. Any posts you spot in breach of the Forum Rules should be reported via the report button, or by emailing forumteam@moneysavingexpert.com. 

    All views are my own and not the official line of MoneySavingExpert.

  • st999
    st999 Posts: 1,574 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    edited 8 November 2016 at 3:51PM
    Jan 1st 16:03
    Feb 1st 16:59
    Mar 1st 17:59
    Apr 1st 19:02
  • googler
    googler Posts: 16,103 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Combo Breaker
    st999 wrote: »
    Jan 1st 16:03
    Feb 1st 16:59
    Mar 1st 17:59
    Apr 1st 19:02

    If you've already worked it out, why do you need Excel to do it?
  • Le_Kirk
    Le_Kirk Posts: 25,892 Forumite
    Part of the Furniture 10,000 Posts Photogenic Name Dropper
    It won't work because all you are trying to do is subtract a date and time from another date and time and divide by 90. There are 90 rows but if you use 2016 for the year, it is a leap year so your dates don't work out. The time is 2 hours 57 minutes and divide that by 90 gives 1.96667 minutes.

    What exactly are you trying to do?
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178K Life & Family
  • 260.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.