+ Reply to Thread
Results 1 to 5 of 5

Thread: Formula Needed for Dates and Sales Figures

  1. #1
    Registered User
    Join Date
    01-15-2010
    Location
    Atlanta
    MS-Off Ver
    Excel 2003
    Posts
    6

    Exclamation Formula Needed for Dates and Sales Figures

    In column A:A are a list of dates beginning Sunday, 1/3/10.
    In column B:B are a list of the sales amounts associated with each date in column A:A.

    I need a formula that I can drag and drop in columd E:E and F:F that will show the dates for Sunday ONLY in column E:E and the corresponding sales for those Sundays in column F:F.

    Please see attached .pdf file for an example.

    THANKS!
    Attached Files Attached Files
    Last edited by dcm6276; 04-14-2010 at 03:18 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Formula Needed for Dates and Sales Figures

    I didn't look at file.. should be a .xls file.....

    Adjust as necessary...

    , In C2: =IF(WEEKDAY(A2)=1,COUNT($C$1:C1)+1,"") copied down

    Then in D2: =MAX(C:C)

    Then in E2: =IF(ROWS($A$1:$A1)>$D$2,"",INDEX(A:A,MATCH(ROWS($A$1:$A1),$C:$C,0))) copied to next column and down as far as you want..
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    01-15-2010
    Location
    Atlanta
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Formula Needed for Dates and Sales Figures

    I have attached an excel spreadsheet file
    Attached Files Attached Files

  4. #4
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Formula Needed for Dates and Sales Figures

    Have you tried the formulas?

    I just copied and pasted them as I wrote them and presto!
    Attached Files Attached Files
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Registered User
    Join Date
    01-15-2010
    Location
    Atlanta
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Formula Needed for Dates and Sales Figures

    Works perfectly.

    Thank you much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0