Solved

formula to count number of accounts a customer has

Posted on 2014-03-06
5
161 Views
Last Modified: 2014-03-11
Hi Experts  Excel 2007

I need a formula t.         10o count how many account a customer has...so assume the following table
Col A.                  Col B.               Col C.           Count
Co.                      A count.          Sort code.      Total
Abc.            12345678.           202020.                1
Edf.              13445892.         102030.                 2    
                    23868908.          102030
Ikb.            23468990.           026978.              1

Etc..
0
Comment
Question by:route217
  • 2
  • 2
5 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 39909794
The data is not aligned best is to post a sample workbook.

Furthermore your data in Col A has only unique items not repetitive ? like Edf. Shows once it is meant for both rows ?

gowflow
0
 
LVL 29

Accepted Solution

by:
gowflow earned 250 total points
ID: 39909822
Don't know if this is what you want

check the file.
gowflow
COUNTIF.xlsx
0
 

Author Comment

by:route217
ID: 39909864
Hi Gowflow..
that's correct dor edf and  let me test the attached workbook.
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 250 total points
ID: 39909963
Enter this ARRAY formula in row 2 of any blank column and then copy it down

=IF(A2="","",IF(A3="",IFERROR(MATCH(TRUE,A3:$A$16<>"",0),1+ROWS(A3:$A$16)),1))

Change both 16s to the last data row.

Do you know how to enter an array formula?
0
 

Author Comment

by:route217
ID: 39917086
Thanks ssaquib
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now