+ Reply to Thread
Results 1 to 2 of 2

formula to subtract the days in two dates

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    13

    formula to subtract the days in two dates

    Any way to make a formula like a default Ex:
    =b2-c2 where b2 and c2 can be any cell, without typing every time = the cell and the minus sign, I need to subtract the dates of two adjacent cells, I need to do this about 6000 times
    Last edited by hcastro; 08-08-2013 at 08:53 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: formula to subtract the days in two dates

    Type the formula ONCE, exactly like you've shown.

    Now you can copy that cell and paste it over the other cells where you need the formula. As long as the relationship between where the reference cells are and the formula cell is stays constant.

    FOr instance, you put that formula in D2, the copy D2 down column D and it would adjust itself for each of the rows below that.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. if cell is blank, can u make it say something by default using a formula?
    By teenyjem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-07-2012, 01:04 AM
  2. Make XL 2003 Default Instead of XL 07/10
    By MrBill in forum Excel General
    Replies: 3
    Last Post: 12-06-2010, 04:11 PM
  3. [SOLVED] How do I make make comment format default?
    By delta_charm in forum Excel General
    Replies: 1
    Last Post: 07-10-2006, 03:29 AM
  4. [SOLVED] Make textbox1.value default
    By Dr.Schwartz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-17-2005, 09:05 AM
  5. Make the default always with a Footer
    By hsjj in forum Excel General
    Replies: 2
    Last Post: 01-27-2005, 09:06 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