+ Reply to Thread
Results 1 to 4 of 4

Gathering data based on a adjacent cells name.

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    404

    Gathering data based on a adjacent cells name.

    I am trying to gather values from column B that have the same corresponding shift.

    In column A are different shifts, in column B are amounts for corresponding shifts.

    I want to get a total of all shifts in cells b2 to b4.

    Attached is a sample.

    Thanks for any help creating this formula.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Gathering data based on a adjacent cells name.

    Put this formula in cell B2:

    =SUMIF($A$8:$A$13,A2,$B$8:$B$13)

    then copy down into B3:B4. Format the cells in the style you prefer.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    404

    Re: Gathering data based on a adjacent cells name.

    Perfect! thank you Pete_UK!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Gathering data based on a adjacent cells name.

    You're welcome, Nick - thanks for the rep.

    Pete

+ 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. [SOLVED] Gathering data based on date and time of cells in column
    By avidcat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2017, 10:50 PM
  2. [SOLVED] Trying to add data to cells based on criteria from adjacent cells
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-27-2015, 02:46 PM
  3. Gathering the sum of cells based on the text
    By out2late in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2014, 04:46 PM
  4. Gathering the sum of cells based on the text in the adjacent cell
    By avidcat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-19-2014, 03:58 PM
  5. Gathering Data based on Top 10
    By JoshuaGA in forum Excel General
    Replies: 3
    Last Post: 11-29-2013, 07:57 AM
  6. Average cells based on data in adjacent cells.
    By dwright1020 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2013, 01:22 PM
  7. Gathering data based on Date & Time in cells.
    By avidcat in forum Excel General
    Replies: 7
    Last Post: 08-07-2011, 08:22 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