+ Reply to Thread
Results 1 to 4 of 4

Quick help with Vlookup

  1. #1
    Registered User
    Join Date
    03-28-2013
    Location
    Irvine, CA
    MS-Off Ver
    Professional Plus 2010
    Posts
    13

    Quick help with Vlookup

    In column A, I have the same text. It may span from A7 one day to A34. The next day, I will update this list from A7 to A24, for example. In column D, I have the cost.

    I need to sum the cost daily and place it in a different tab of excel (which I know how to do).

    The data that I enter (gathered from a different cvs file) daily spits out a "total" line so I don't want to just sum column D from A7 - A100 ( to cover myself if rows increase or decrease) since there is a always total line automated from the cvs file I get.

    I am doing this action for several different tabs every day, so I don't want to always delete the total line and update the spreadsheet in order to work.

    How do I automate this? Someone suggested vlookup, but I don't know how to do that.

    Here is a visual of what I mean (attached)
    Attached Files Attached Files

  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,521

    Re: Quick help with Vlookup

    One way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or just:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    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
    01-04-2013
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Quick help with Vlookup

    Hi

    You could try this code =SUMIFS(D:D,A:A,"Product A")

    This will sum only the rows where there is a product thus not counting the Total row. This wont work if you have different products in the same tab however.

    You could try this in that case =SUMIFS(D:D,A:A,"<>Total") this will sum every line in column D were there isn't the word total in column A

    Regards

    Matt

  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,521

    Re: Quick help with Vlookup

    Or, given that it is a Total row and you want the total, maybe just:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

+ 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] Quick VLOOKUP help
    By gtudor in forum Excel General
    Replies: 5
    Last Post: 01-06-2015, 12:44 PM
  2. VLookUp trouble - Quick Fix?
    By b.delinski.01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2012, 02:34 PM
  3. Quick help wit #N/A vlookup
    By paul700grizzly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2011, 09:39 AM
  4. Quick VLOOKUP question
    By bsquishy in forum Excel General
    Replies: 4
    Last Post: 02-19-2011, 07:16 AM
  5. Couple of quick questions - VLOOKUP maybe?
    By Bakks in forum Excel General
    Replies: 8
    Last Post: 06-03-2008, 10:50 PM

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