+ Reply to Thread
Results 1 to 3 of 3

Using VLOOKUP to pull multiple values from a separate column and calculate sum

  1. #1
    Registered User
    Join Date
    05-31-2022
    Location
    Portland, OR
    MS-Off Ver
    Microsoft 365
    Posts
    1

    Using VLOOKUP to pull multiple values from a separate column and calculate sum

    Hey All,

    Excel rookie here (have some classes lined up to change that but in the meantime...)

    I'm making a Deposits and Expenses workbook for my grandparents' small business and they want it to function in a specific way.
    While I'm sure there are different ways to accomplish this, they have their heart set on something similar to my attached workbook. Specifically the 'Expenses' sheet.

    They have multiple types of expenses and would like those totals to be visible and updated as they add expenses throughout the year.

    Using a key to assign text values to the type of expense incurred I'm trying to:
    - Use VLOOKUP to sort my "Paid For" column for the assigned text
    - Pull each associated "Amount" (value 2 columns over to each assigned text)
    - Calculate the total sum of all selected "Amounts" and display it in an assigned cell

    After some searching, I can find bits and pieces of the answer I'm looking for but am unable to tie it all together properly.

    Thank you for any help you can provide.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,794

    Re: Using VLOOKUP to pull multiple values from a separate column and calculate sum

    try
    =SUMIF($D$5:$D$100,F4,$B$5:$B$100)
    change the rows to meet your real data

    I suspect theres more to this ...
    Attached Files Attached Files
    Last edited by etaf; 05-31-2022 at 01:37 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Using VLOOKUP to pull multiple values from a separate column and calculate sum

    Another way, with Excel 365:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Pull multiple values for a single cell with VLOOKUP (and with wildcard)
    By lanka123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-05-2020, 03:58 PM
  2. [SOLVED] Calculate avg & median hours in a date series based on values in separate column
    By TPower1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-08-2019, 01:53 AM
  3. Formula to pull Top 10 Keywords based on values in a separate column
    By dyljenx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2017, 11:20 AM
  4. Replies: 1
    Last Post: 04-20-2015, 03:18 PM
  5. Use vlookup or formula to pull multiple values
    By jcavigli in forum Excel General
    Replies: 3
    Last Post: 02-06-2013, 03:18 PM
  6. Need to pull multiple values from 1 workbook to another using vlookup?
    By jenmarie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2010, 02:38 PM
  7. Vlookup- multiple corresponding values (2 separate sheets)
    By mitelkm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2008, 12:50 PM

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