Results 1 to 8 of 8

Q: Find cell reference containing specific value from current position up

Threaded View

  1. #1
    Registered User
    Join Date
    01-29-2009
    Location
    Haugesund, Norway
    MS-Off Ver
    Excel 2007
    Posts
    12

    Q: Find cell reference containing specific value from current position up

    Hi.

    I'm having some difficulties in defining my formula. I'm pretty sure that this should be possible.
    I have a table containing values and dates. For each change in dates, I should summarize every value for that date. I cannot use the autosummarize function, because I do not want the sum to be beneath the values, rather in a column to the right of the values.

    I have created a formula which checks for a change in date: =IF(C15=C16;0;1) where the C column contains the dates. Basically I say that the Index column should contain a 0 if the date is the same as previously registered, 1 if it is a new date.

    The index column is used in some conditional formatting rules, so I would like to keep it anyway.

    Example of the table:
    Date         Val     Index   Sum
    26.01.2009   167,1   0
    26.01.2009    13,3   0
    26.01.2009    58,6   0       Should contain sum of day
    27.01.2009   233,2   1
    It is in the Sum column I want this function. I need a function that does something like this (pseudo code):
    =IF("Val" column.nextRow contains a "1") 
     THEN 
    Summarize all "Val" cells from the current row and up to (not counting with) either the first blank cell or a cell containing "1")
     ELSE
    Display empty string
    Can this be done?
    Last edited by Greffin; 02-02-2009 at 03:25 PM.

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