+ Reply to Thread
Results 1 to 11 of 11

VLOOKUP functions to generate report

  1. #1
    Registered User
    Join Date
    09-19-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    3

    VLOOKUP functions to generate report

    I have a below table:
    table.jpg

    And need report like below in another sheet:
    report.jpg

    Please help!

    Regards,
    Attached Images Attached Images
    Last edited by vishiabj; 09-19-2019 at 09:20 AM.

  2. #2
    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,428

    Re: VLOOKUP functions to generate report

    Use a Pivot Table.
    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


  3. #3
    Registered User
    Join Date
    09-19-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    3

    Re: VLOOKUP functions to generate report

    Thanks TMS, but I need without pivot table as I want to add more columns to report and to link with online app.

    Regards,

  4. #4
    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,428

    Re: VLOOKUP functions to generate report

    If you only provide part of your requirement, I’m afraid you're not going to get a solution that meets all your needs.

    I would probably use an Advanced Filter to extract the relevant unique entries and the SUMIFS to get the totals. You can't use VLOOKUP for what you want.

  5. #5
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Re: VLOOKUP functions to generate report

    Pivot is your best option along with sumifs or use calculated fields from the pivot

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: VLOOKUP functions to generate report

    Too bad you dont attach the excel file, so i retype your table, and hope this works, put this on cell E3 and ENTERED as ARRAY FORMULA then copied down and cross to F3 :

    =IFERROR(INDEX(CHOOSE({2\1},SUMIF($B$3:$B$18,$B$3:$B$18,$C$3:$C$18),A$3:A$18),MATCH(LARGE(IF(FREQUENCY(MATCH(SUMIF($B$3:$B$18,$B$3:$B$18,$C$3:$C$18)&$B$3:$B$18,SUMIF($B$3:$B$18,$B$3:$B$18,$C$3:$C$18)&$B$3:$B$18,),ROW($B$3:$B$18)-MIN(ROW($B$3:$B$18))+1),SUMIF($B$3:$B$18,$B$3:$B$18,$C$3:$C$18)+ROW($B$3:$B$18)/10000),ROWS($A$1:A1)),SUMIF($B$3:$B$18,$B$3:$B$18,$C$3:$C$18)+ROW($B$3:$B$18)/10000,),COLUMNS($A1:A1)),"")

    And put this on G3 and copied down:

    =IFERROR(SUMIFS($C$3:$C$18,$A$3:$A$18,$E3,$B$3:$B$18,$F3),"")
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-19-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    3

    Re: VLOOKUP functions to generate report

    Hi Azumi,

    I attached excel file having actual problem and report needed.

    Thanks.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: VLOOKUP functions to generate report

    In K5, copied across and dnown:

    =SUMIFS(D:D,$B:$B,$I5,$C:$C,$J5)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: VLOOKUP functions to generate report

    @vishiabj

    What happened when you tried to use the formulae given to you in post #6? Please don't expect any further help until you have (a) tried them and (b) reported back on any problems.

    We help you, we don't do it all for you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  10. #10
    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,428

    Re: VLOOKUP functions to generate report

    Am I missing something here? Picking up on a thread over 12 months on like we've not slept.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: VLOOKUP functions to generate report

    Hahaha. That's Covid lockdown for you!!

    Imprisoned in Belfast....

+ 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. Need help to Generate Report
    By kunal.patni in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2018, 08:12 AM
  2. VBA : Displays blank report after click "Generate Report" from excel to Word document
    By suchetherrah in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2016, 08:00 AM
  3. Generate Report using vba
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-07-2010, 10:22 AM
  4. Excel 2007 : Need to generate a report
    By Zipmeister in forum Excel General
    Replies: 0
    Last Post: 01-20-2010, 08:51 AM
  5. [SOLVED] Generate Report
    By Peter Carlson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2006, 01:00 AM
  6. Generate Report
    By Peter Carlson in forum Excel General
    Replies: 0
    Last Post: 04-10-2006, 01:55 PM
  7. generate report
    By raisin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-07-2005, 01:47 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