+ Reply to Thread
Results 1 to 4 of 4

vlookup over range of dates

Hybrid View

  1. #1
    Registered User
    Join Date
    11-25-2008
    Location
    Skippack, Pa.
    Posts
    11

    vlookup over range of dates

    Hello.
    I am making a spreadsheet using excel 2003 to calculate sales and tax.
    Column B is formated for date (1/1/2010). Column D,E, and F are formatted for currency with column D=Total Price, column E=sale price, and column F=tax. In column B I type the date the transaction took place and in column D I type total price. Columns E and F are automaticly filled in with the formulas for same. In column H,I J row 9 I would like to calculate 1st Quarter Total Price, Sale Price, and Tax. Row 10 would hold 2nd Quarter info and so on. I searched for info but can't come up with any thing that works. Any suggestions would be greatly appreciated. Thank you very much.
    Last edited by Chuckers; 02-03-2010 at 11:13 AM. Reason: mark as resolved

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: vlookup over range of dates

    See attached example using SUMPRODUCT and Pivot Table (sheet2)
    Attached Files Attached Files
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,785

    Re: vlookup over range of dates

    I recommend you do not put summary data in the same columns as your source data.

    The simplest way to do this is to add a column that gives the quarter, then use SUMIF to total the columns for a given quarter. I have attached an example. It is possible to do it without adding the extra column but I think this makes it clearer.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-25-2008
    Location
    Skippack, Pa.
    Posts
    11

    Re: vlookup over range of dates

    You guy's are good.

    I experimented with both replies. I redid the sumproduct to suit my needs. works perfectly.

    Thank you both very much.

+ 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