+ Reply to Thread
Results 1 to 6 of 6

Lookup / Count-Sum

  1. #1
    Registered User
    Join Date
    03-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Lookup / Count-Sum

    I need some Excel Formula Help. 2007.
    Sheet 1:
    Column N3 to N700 - Contains A - M - (Text)
    Columns S3:S700 & T3:T700 - Contains $ Values
    Sheet 2:
    B5:B17 = A (Through M)(Text)
    Sheet 2, C5 Needs to be the Count of Column S minus Count of Column T per Sheet 2, B5 (A)

    I also need the Sum for this same set.

    Thanks in advance.
    Mike

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Lookup / Count-Sum

    Hi Mike, welcome to the forum.

    Can you please provide a small sample workbook? I'm not exactly following what types of data exist and it would be good to see what your expected results would be based on the sample data.

  3. #3
    Registered User
    Join Date
    03-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Lookup / Count-Sum

    N S T
    CAT. Estimated $ Completed $
    B $12,650
    A $5,000 $5,000

    Count the number of "A"s that are Estimated but not Completed

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Lookup / Count-Sum

    Do you see now why trying to do "show" your data within a post doesn't work so well?

    Just a wild guess since I'm still not sure of your data... maybe:

    =COUNTIFS(N:N,"A",T:T,"")

    This counts the number of entries where column N contains the letter A and column T is blank.

  5. #5
    Registered User
    Join Date
    03-27-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Lookup / Count-Sum

    That works good, but I messed up and forgot one more discriminator.
    Column U:U needs to be subtracted from that value.

    =COUNTIFS(N:N,"A",T:T-U:U),"")

    Sorry about that.

  6. #6
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Lookup / Count-Sum

    Again... My formula counts all instances of when column N is the letter "A" and column T is empty/blank. Is it your intention to simply subtract the value in U for those rows from 0 each time? Because that's what is going to happen.

    I seriously, seriously, seriously recommend posting a workbook. It will take you about 30 seconds to create and 30 seconds to post. Show your data as it's currently laid out, and show where you want the results and what those results should be - and why.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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