COUNT VALUE AND BLANK CELLS

sal21

Active Member
Joined
Apr 1, 2002
Messages
283
--------------------------------------------------------------------------------

http://www8.rapidupload.com/d.php?file=dl&filepath=886

I would want with a macro with 2 condition:
1)
Count into column A of RATE how many code are present refered the column into sheet TABELLA
Example:

count all value with code "4500" into column A of sheet RATE and insert the total value foud into range I2 of TABELLA (in this case I2= 66)

count all value with code "4501" into column A of sheet RATE and insert the total value foud into range I3 of TABELLA (in this case I3=7)
....
ecc...

2)
count how many line with code 4500 (in column A) contain a value into range AB of sheet RATE and put into J2 of TABELLA the total (in this case are only 5 cells filled, J2=5)

count how many line with code 4501 (in column A) contain a value into range AB of sheet RATE and put into J3 of TABELLA the total (in this case are only 7 cells filled, J3=7)
.....
ecc...
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,203,524
Messages
6,055,905
Members
444,832
Latest member
bgunnett8

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top