+ Reply to Thread
Results 1 to 3 of 3

Count based on data in column to left

  1. #1
    Registered User
    Join Date
    04-07-2008
    Posts
    27

    Count based on data in column to left

    All,

    I'm attempting to count numbers in cells d9:d13 only if a number occurs to the left of it.

    Please refer to spreadsheet.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by VBA Noob; 08-29-2008 at 12:55 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Does this help

    =SUMPRODUCT((D9:D12<>"")*(E9:E12<>""))
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    04-07-2008
    Posts
    27
    Perfect!

    Thank you, sir!

+ 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. Sum Column based on Ajacent Column
    By dziw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-13-2007, 03:02 PM
  2. Massive Sorting question.
    By Rgaherty in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 11-07-2007, 02:15 PM
  3. Source Data to Expand Contract based on UserForm Entry
    By AlvaroSiza in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-01-2007, 02:29 AM
  4. Pasting data in every other column
    By oakman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2007, 04:04 PM
  5. Combine a Matching Column Headings' data in 2 Worksheets to 1
    By ravdog44 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2006, 03:42 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