+ Reply to Thread
Results 1 to 10 of 10

Vlookup and sumif formula assist

  1. #1
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,165

    Vlookup and sumif formula assist

    Hi All

    I've posted a very basic spreadsheet to assist with a detailed Debtors Control I'm busy with.

    Sheet 1 is purchases and Sheet 2 is a total of all purchases for all clients.
    Sheet 1 will be daily transactions and Sheet 2 will be a combined total of all individual daily transactions.
    Irrespective of how many different client transactions occur on Sheet 1, Sheet 2 needs to extract the sum of each individual client.

    As per file supplied.

    Any assistance will be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Vlookup and sumif formula assist

    In B1 of the destination sheet enter and copy down:

    =SUMIFS(PURCHASES!B:B,PURCHASES!A:A,A1)

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,165

    Re: Vlookup and sumif formula assist

    Hi Aladin

    Thanks for your speedy assistance. Any idea if there is a way to take the names from Purchases sheet and generate the Names in alphabetical order in destination sheet Column A. There could be 1000's transactions with different names.

    I thank you in advance.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168
    Last edited by sandy666; 12-24-2015 at 02:32 AM. Reason: attachment added

  5. #5
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Vlookup and sumif formula assist

    This should work, but it uses a helper column in A which you can hide. Just make sure the formula is copied down past the last entry in PURCHASES.
    Attached Files Attached Files

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,165

    Re: Vlookup and sumif formula assist

    Hi Beamernsw

    Works perfectly....Thanks for the lesson.

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,165

    Re: Vlookup and sumif formula assist

    Hi Sandy 666

    Thanks for input, however, does not fulfill the required result.I might not have explained myself.
    Beamernsw achieved my result.

    Thanks again

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vlookup and sumif formula assist

    no problem
    I lost "Names in alphabetical order"

  9. #9
    Forum Contributor
    Join Date
    12-23-2003
    Posts
    179

    Re: Vlookup and sumif formula assist

    Quote Originally Posted by sintek View Post
    [...]
    Any idea if there is a way to take the names from Purchases sheet and generate the Names in alphabetical order in destination sheet Column A.
    [...]
    Row\Col
    A
    B
    1
    ADAM
    10.00
    2
    BRIAN
    15.00
    3
    CHARLIE
    20.00
    4
    DEVON
    10.00
    5
    ADAM
    5.00
    6
    JON
    66.45
    7
    DEVON
    10.00
    8
    CHARLIE
    15.00
    9
    EDITH
    20.00
    10
    FRAN
    30.00
    11
    CHARLIE
    85.00
    12
    GOLIATH
    65.00
    13
    HENRY
    25.00


    1. Define PList by means of Formulas | Name Manager as referring to:
    Please Login or Register  to view this content.
    2. Define Ivec as referring to:
    Please Login or Register  to view this content.
    3. Switch to TOTAL PURCHASE OF EACH CUSTOMER...

    Row\Col
    A
    B
    C
    D
    1
    9
    2
    uCustomer Idx
    sCustomer
    Sales
    3
    ADAM
    1
    ADAM
    $15.00
    4
    BRIAN
    2
    BRIAN
    $15.00
    5
    CHARLIE
    3
    CHARLIE
    $120.00
    6
    DEVON
    4
    DEVON
    $20.00
    7
    JON
    9
    EDITH
    $20.00
    8
    EDITH
    5
    FRAN
    $30.00
    9
    FRAN
    6
    GOLIATH
    $65.00
    10
    GOLIATH
    7
    HENRY
    $25.00
    11
    HENRY
    8
    JON
    $66.45
    12


    In A1 control+shift+enter, not just enter:
    Please Login or Register  to view this content.
    In A3 control+shift+enter, not just enter, and copy down:
    Please Login or Register  to view this content.
    In B3 just enter and copy down:
    Please Login or Register  to view this content.
    In C3 just enter and copy down:
    Please Login or Register  to view this content.
    Note. B:C implements the sorting set up, described at:
    http://chandoo.org/wp/2008/10/22/sor...sing-formulas/

    In D3 just enter and copy down:
    Please Login or Register  to view this content.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Vlookup and sumif formula assist

    in TOTAL PURCHASE OF EACH CUSTOMER A2:
    Please Login or Register  to view this content.
    with Control+Shift+Enter
    where defined name: List = PURCHASE!$A$1:$A$12
    no helper column

+ 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] VLookup or something else ..Please assist me.
    By Anvo in forum Excel General
    Replies: 9
    Last Post: 07-14-2014, 11:09 AM
  2. [SOLVED] Please assist with SUMIFS or just SUMIF! Need help!
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-20-2014, 03:56 AM
  3. [SOLVED] Macro to assist on a VLOOKUP
    By Thomas92 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-07-2014, 04:05 PM
  4. PLease assist with a formula
    By nightcrawler-jay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2010, 03:56 AM
  5. Formula Assist
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 07:37 PM
  6. [SOLVED] URGENT ASSIST NEEDED IF POSSIBLE RE VLOOKUP/MATCH
    By Paige in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-02-2006, 11:35 AM
  7. If formula- hoping someone can assist
    By Ntisch in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 07-26-2005, 06:05 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