Count

hardeep.kanwar

Well-known Member
Joined
Aug 13, 2008
Messages
693
Hi

I have List of Numbers some have Repeated

Now , i want to count the Numbers but not Including No. 40


Excel Workbook
ABCD
1Nos**Expected Result Should Be
2120**19
390***
490***
580***
680***
760***
860***
960***
1050***
1150***
1250***
1350***
1440***
1540***
1630***
1730***
1830***
1920***
2020***
2120***
2210***
Sheet1


How can i Do this Using Formula?

Regards
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
try...if you are using 2003 or older, as Peter has covered 07 and newer
Code:
=SUMPRODUCT(--(A2:A22<>40),--(A2:A22<>50))
 
Upvote 0
try...if you are using 2003 or older, as Peter has covered 07 and newer
Code:
=SUMPRODUCT(--(A2:A22<>40),--(A2:A22<>50))


First of All, Thanks a Lot Both of You

Yes, Michael m Using 2003 in Office

I Apologies for not Mentioned the Version

Thanks Again
 
Upvote 0
Yep, beat me to an answer.....and can read posts better than me too.....LOL !!
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,921
Latest member
BBQKING

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