+ Reply to Thread
Results 1 to 4 of 4

Formula to count/total items in non-adjacent cells

  1. #1
    Registered User
    Join Date
    09-23-2013
    Location
    Vancouver
    MS-Off Ver
    Office 365
    Posts
    12

    Formula to count/total items in non-adjacent cells

    Cell A2 is a product description. Cell B3:B5 contain the individual transactions, B6 is the total of B3:B5. I would like the totals (B6) to calculate in a cell adjacent to A2 (description). The problem is the data extracted is an inconsistent number of rows; sometimes it is 2 rows with a total and sometimes it is a single row without a total. My file is extracted from another program.
    I've attached a sample workbook. The cells referenced above do not refer to the cells in the workbook.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Formula to count/total items in non-adjacent cells

    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Formula to count/total items in non-adjacent cells

    Pl see attached file with formula
    IN G2, then dragdown.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Formula to count/total items in non-adjacent cells

    using a helper column
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. how to count total no.of items in the column
    By Kaleemuddin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2013, 04:41 AM
  2. [SOLVED] Formula needed to only count total cells entered and not count adjacent text entered cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-07-2013, 06:22 PM
  3. Replies: 0
    Last Post: 05-08-2013, 05:41 AM
  4. Count the total items in a column
    By aleben in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-05-2013, 10:54 AM
  5. count total of items with multiple condition
    By only_lonely in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-11-2007, 07:06 AM

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.6.0 RC 1