• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

trying to build a count formula based on a condition

ittiams

New Member
I am trying to build a formula to come up with a count or sumif.
If a customer has no sales in 2011, but has sales in 2012 - then it is a new customer. I want to build a column with a count then sum it up to get a count.

I tried the difference of year 2 and year 1 to find out if greater than zero and equal to year 2 value. then if both values were zero - it would throw up a new customer.

Please help.
 

Attachments

  • Sales.xlsx
    9.2 KB · Views: 6
Hi ,

Can you explain what you want to do ?

Do you wish to flag a customer as new ?

If so , a simple IF statement checking for no sales in year 1 , and sales in year 2 will do.

Do you wish to total the sales of new customers ?

If so , can you use SUMIFS ?

Narayan
 
Thanks Narayan. I am trying to compare two points and say if no sales in year 1, but sales in yr 2, then new customer.
 
I am trying to build a formula to come up with a count or sumif.
If a customer has no sales in 2011, but has sales in 2012 - then it is a new customer. I want to build a column with a count then sum it up to get a count.

I tried the difference of year 2 and year 1 to find out if greater than zero and equal to year 2 value. then if both values were zero - it would throw up a new customer.

Please help.
Hi,

Is this what you want? Have a look at the workbook.
Hi Mike.. exact solution I was looking for - this is VERY helpful and an excel learning for me. Thank you very much.
 
Back
Top