+ Reply to Thread
Results 1 to 7 of 7

Vlookup, sum, countif

  1. #1
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    281

    Vlookup, sum, countif

    Hi guys, Honestly didn't know how to word the title.

    So how would i go about doing this..

    Please Login or Register  to view this content.
    Will have an outcome of 22, then this to be in the same formula

    Please Login or Register  to view this content.
    =SUM(H5) Was linked to the outcome of the vlookup above(22).

    Which will minus how many times 'H' appears and take it away from the 22

    Any ideas?

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Vlookup, sum, countif

    Are you asking a question or just telling us what you did? What is it that you aim to do but cannot?
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

  3. #3
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    281

    Re: Vlookup, sum, countif

    Oh sorry, Combine them formula's into one.. if possible?

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Vlookup, sum, countif

    Try this:

    =IFERROR(VLOOKUP(H1,REGISTER,8,0),0)-COUNTIF(H397:H762,"H")

    If that doesn't do what you are expecting, consider uploading a small representative sample along with the desired results based on that sample.

  5. #5
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    281

    Re: Vlookup, sum, countif

    Worked perfectly, thanks

  6. #6
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Vlookup, sum, countif

    You may want to consider a SUMIF or SUMIFS, use the same criteria you use for VLOOKUP for the SUMIF/SUMIFS instead.

    So you would end up with a SUMIF-COUNTIF or a SUMIFS-COUNTIF

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Vlookup, sum, countif

    You're welcome. Happy to help.

+ 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] COUNTIF and VLOOKUP
    By BDD2015 in forum Excel General
    Replies: 18
    Last Post: 04-02-2018, 10:19 AM
  2. CountIf / Vlookup ??
    By Kazbell89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2015, 08:16 AM
  3. [SOLVED] What to use Vlookup,Countif or Sum ?
    By b_rianv in forum Excel General
    Replies: 3
    Last Post: 08-12-2014, 08:25 PM
  4. [SOLVED] VLOOKUP and COUNTIF
    By opsanalysis07 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-04-2014, 07:05 PM
  5. Help Please with countif & Vlookup
    By mjs591 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2012, 09:27 PM
  6. Not sure if this is Vlookup, countif or even both...
    By the-kiddy in forum Excel General
    Replies: 7
    Last Post: 11-24-2009, 06:19 PM
  7. [SOLVED] vlookup and countif???
    By Joe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-13-2006, 06:33 AM

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