+ Reply to Thread
Results 1 to 4 of 4

Formula Required Please

  1. #1
    Registered User
    Join Date
    03-29-2006
    Posts
    21

    Formula Required Please

    Hi Guys,

    I hope someone can help.
    I have a spreadsheet which imports an html report.
    In this report contains lists of dates and then a number 2 columns to the right of the date.

    I am looking for a formula that will search the column and everytime the selected date appears will give me a sum of the number 2 columns to the right of each instance.

    Thanks

    Gunny
    Gunny

  2. #2
    Forum Contributor
    Join Date
    08-14-2006
    Location
    USA
    MS-Off Ver
    2019
    Posts
    686
    you said: search the column and everytime the selected date appears

    I don't know how you intend to select the date
    if you're entering a given date into a cell outside of the date column, use the SUMIF function.

    if you want to just click on any date in the date column and make the formula calculate, I can't help you.

  3. #3
    Registered User
    Join Date
    03-29-2006
    Posts
    21

    Sorry did not give enough info

    Sorry here is what im after if at all possible

    Here is my Table

    Arr Date Dep Date
    23/10/06 24/10/06
    23/10/06 25/10/06
    23/10/06 24/10/06
    23/10/06 26/10/06

    Does anyone know of a function I can use to count how many times a person has an arrival date of what is in cell B9 and a departure date of what is in cell C9?

    Thanks in Advance

  4. #4
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    if the arrival dates are in a1:a8, and the departure dates are in b1:b8

    =sumproduct((a1:a8=b9)*(b1:b8=c9))

    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