+ Reply to Thread
Results 1 to 5 of 5

Sum 52 cells worth of data within a larger range working backwards & excluding blank cells

  1. #1
    Registered User
    Join Date
    04-15-2024
    Location
    Scarborough, England
    MS-Off Ver
    Microsoft 365
    Posts
    2

    Sum 52 cells worth of data within a larger range working backwards & excluding blank cells

    Hello all,

    I have been working on a formula to enable me to sum a total of 52 cells excluding any blank or 0 cells within a row i.e C2 to DC2.

    I need to be able to use a maximum of 52 cells working back from DC2 to get the total, also allowing for rows which may only contain 6 cells worth of data (Employee 4), however every formula I have tried so far has left me with Num, Value, Ref errors along with the totally wrong total figure while using AI to help.

    An example would be that the total worked out manually for Employee 3 should be 2102 after dismissing the 4 blank cells within the full range working backwards.

    If the data needs to be transposed, this is also an option I can work with but since each cells refers to hours worked within a week period, I need the formula to always work from the latest cell, backwards.

    I would greatly appreciate any help or advice!

    Thanks!



    Excel example data 52 cell query.xlsx
    Last edited by Luna_1992; 04-15-2024 at 11:00 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,084

    Re: Sum 52 cells worth of data within a larger range working backwards & excluding blank c

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-15-2024
    Location
    Scarborough, England
    MS-Off Ver
    Microsoft 365
    Posts
    2

    Re: Sum 52 cells worth of data within a larger range working backwards & excluding blank c

    Thank you! I'll try this

  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    252

    Re: Sum 52 cells worth of data within a larger range working backwards & excluding blank c

    Hi Luna,

    I am a bit confused, as you say you want to work back 52 cells from DC2, and you're expecting 2102 for employee 3. But during that time frame, employee 3 only has 568.75 hours.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,084

    Re: Sum 52 cells worth of data within a larger range working backwards & excluding blank c

    It returns 2102 for me, not 1945.
    Attached Files Attached Files

+ 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. Replies: 5
    Last Post: 03-23-2020, 01:28 PM
  2. Replies: 3
    Last Post: 11-05-2018, 04:39 AM
  3. [SOLVED] Sumproduct in combination with other functions but excluding blank cells in range
    By divr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2018, 06:15 AM
  4. get the data of partuclar dates excluding blank cells
    By anwitha in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-02-2015, 11:35 PM
  5. [SOLVED] Looking for final four values in range, excluding any blank cells
    By OffTheFairway22 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-02-2015, 07:32 AM
  6. Excluding blank cells from a range of data
    By Consty1 in forum Excel General
    Replies: 5
    Last Post: 10-11-2012, 03:19 PM
  7. Sorting data excluding blank cells
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2008, 11:09 AM

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