+ Reply to Thread
Results 1 to 3 of 3

Count numbers if cell to left has data

  1. #1
    Registered User
    Join Date
    11-17-2011
    Location
    springfield, mo
    MS-Off Ver
    Excel 2007
    Posts
    6

    Count numbers if cell to left has data

    I am trying to count the number of times a number in column G appears IF it has data entered into the cell to the left.

    \1

    So the above example would output 2.


    I have come up with =COUNTIF(G:G, L2) to count all the times 414 is used. What do I need to add to this?

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Count numbers if cell to left has data

    onesojourner,

    Welcome to the forum!
    I see you have Excel 2007 listed as your version. In that case, you can use the CountIfs() formula:
    =COUNTIFS(G:G,L2,F:F,"<>")
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-17-2011
    Location
    springfield, mo
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Count numbers if cell to left has data

    Thanks for the welcome and thanks for the quick help. That is just what I needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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