+ Reply to Thread
Results 1 to 8 of 8

VLOOKUP and SUMPRODUCT Errors

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    Oradell, NJ
    MS-Off Ver
    Excel 2010
    Posts
    45

    VLOOKUP and SUMPRODUCT Errors

    I am looking to do a VLOOKUP and REPLACE within a document and also have a TALLY done.

    1. I would like to search the Activity code from sheet 1 against sheet 2 and spit back the actual name.

    2. The other formula I was working with was trying to give me a tally of the total enrollment: =SUMPRODUCT((LEN(F:F)-LEN(SUBSTITUTE(F:F,F3,"")))/LEN(F3))

    Take a look:
    Screen Shot 2015-12-01 at 2.43.25 PM.png

    and sheet 2:
    Screen Shot 2015-12-01 at 2.43.40 PM.png


    Thanks!
    Attached Files Attached Files
    Last edited by knuckledownlacrosse; 12-01-2015 at 04:53 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need Help with Two Formulas!

    Many members are unable to see images in the *.png format.

    If you need to post an image post it in the *.jpg format.

    Even better than posting images... post a SMALL sample file. That way we can test solutions directly in the file with the relevant data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need Help with Two Formulas!

    Also, please take a few minutes to re-read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    02-24-2014
    Location
    Oradell, NJ
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Need Help with Two Formulas!

    I attached a file to work with.

    Thanks.

  5. #5
    Registered User
    Join Date
    02-24-2014
    Location
    Oradell, NJ
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Need Help with Two Formulas!

    Fixed it.

    Thanks for the heads up on that slip.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need Help with Two Formulas!

    Try this...

    Entered on the Registration sheet in cell G2:

    =IFERROR(INDEX('Tuesday Activities'!A$1:A$32,MATCH(F2,'Tuesday Activities'!C$1:C$32,0)),"")

    Copy down as needed.

    Not sure what you're wanting to count. Here's my best guess...

    Entered on the Registration sheet in cell H2:

    =IF(G2="","",COUNTIF('Tuesday Activities'!C$1:C$32,F2))

    Copy down as needed.

  7. #7
    Registered User
    Join Date
    02-24-2014
    Location
    Oradell, NJ
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: VLOOKUP and SUMPRODUCT Errors

    The first one worked! I was able to work on the second equation and got that one to work too: =SUMPRODUCT((LEN(G:G)-LEN(SUBSTITUTE(G:G,G2,"")))/LEN(G2))

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: VLOOKUP and SUMPRODUCT Errors

    Good deal. Thanks for the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. Replies: 9
    Last Post: 12-04-2015, 05:19 PM
  2. Poll on - Lots of simple formulas vs fewer but more complex formulas
    By gassiusmax in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-20-2014, 08:51 PM
  3. Using Cell references in file paths for formulas to create dynamic formulas
    By MichaelStokesJr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2013, 11:49 AM
  4. Replies: 5
    Last Post: 09-25-2013, 02:51 PM
  5. Ctrl+Shift+Enter (CSE) array formulas in VBA using differing formulas
    By officeguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 04:31 PM
  6. Multiple formulas in selected cell without damaging previous formulas.
    By excel5111987 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-05-2011, 06:15 AM
  7. Replies: 5
    Last Post: 05-05-2008, 02:22 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