We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Excel help please

Hoping there is an Excel guru online this evening as my spreadsheet is driving me potty. :o

I need a formula which will count the number of populated cells in column E if the date in column C is between the range specified in F3 and G3.

I've been trying variations of Counta, Countif etc with no joy so far. Anyone have any ideas?
Debt at 1/5/09 £21,996 _pale_
Current debt- 0 :j Final payment made October 2012. :D

Comments

  • WTFH
    WTFH Posts: 2,266 Forumite
    Can you explain in English what you want to achieve as a final result - just wondering if the way you're going about it maybe isn't the best.
    1. Have you tried to Google the answer?
    2. If you were in the other person's shoes, how would you react?
    3. Do you want a quick answer or better understanding?
  • stevemcol
    stevemcol Posts: 1,666 Forumite
    I would use a blank column which populates 'true' or '1' or similar if column 'c' in that row falls within the date range AND the row in colum E is populated. Then countif that new colunm for 'true' or whatever you used. Do you need more detail?
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
  • Mirno
    Mirno Posts: 219 Forumite
    edited 13 January 2014 at 12:45PM
    =sum(e:e)-sumif(c:c,concatenate("<",$f$3),e:e)-sumif(c:c,concatenate(">",$g$3),e:e)
  • stevemcol
    stevemcol Posts: 1,666 Forumite
    the OP was asking for a count not a sum.
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
  • Giddytimes wrote: »
    Hoping there is an Excel guru online this evening as my spreadsheet is driving me potty. :o

    I need a formula which will count the number of populated cells in column E if the date in column C is between the range specified in F3 and G3.

    I've been trying variations of Counta, Countif etc with no joy so far. Anyone have any ideas?

    Looks like:

    =COUNTIFS(E:E,"<>",C:C,">"&F3,C:C,"<"&G3)

    The above assumes you do literally mean between the dates (ie not equal to either date (replace "<" with "<=" etc if so)) and that you are using at least xl2007
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.