#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Count IF

Hi,

I have a massive spreadsheet that has a number of coloums
the two main coloums are (Column B = Amount £) & (Column F
= Company). e.g.
Column B Column F
£100 Blogg Ltd
£200 Smith PLC
£300 Smith PLC
£400 Jones Ltd

I would like a macro that when clicked will look down
coloumn F and total the amount for each company e.g.

Blogg Ltd = 1
Smith PLC = 2
Jones Ltd = 1

I would also like the macro to then add the amounts for
each of the companies e.g.

Blogg Ltd = £100
Smith PLC = £500
Jones Ltd = £400

Is this possible,

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Count IF

Hi
instead of using a macro have a look at pivot tables who
will create such a report for you with nearly no effort.
See:
http://www.cpearson.com/excel/pivots.htm
http://peltiertech.com/Excel/Pivots/pivotstart.htm
http://www.contextures.com/xlPivot02.html
http://www.ozgrid.com/Excel/excel-pivot-tables.htm

-----Original Message-----
Hi,

I have a massive spreadsheet that has a number of coloums
the two main coloums are (Column B = Amount £) & (Column

F
= Company). e.g.
Column B Column F
£100 Blogg Ltd
£200 Smith PLC
£300 Smith PLC
£400 Jones Ltd

I would like a macro that when clicked will look down
coloumn F and total the amount for each company e.g.

Blogg Ltd = 1
Smith PLC = 2
Jones Ltd = 1

I would also like the macro to then add the amounts for
each of the companies e.g.

Blogg Ltd = £100
Smith PLC = £500
Jones Ltd = £400

Is this possible,

Thanks
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count Employee Work Time - Don't Count Duplicates J Excel Worksheet Functions 3 May 1st 07 10:47 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"