I have the same number series need to find the smallest number.
I have the same number series need to find the smallest number.
Last edited by sanju2323; 03-24-2015 at 09:07 AM.
Not quite sure whats required..
Try using the Min function..
Cheers!
Deep Dave
Sanju,
Try this code: (In VBA editor you will need to go to Tools>References, and check the box next to "Microsoft Scripting Runtime" to use the code)
Please Login or Register to view this content.
Please help by:
Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know
There are 10 kinds of people in this world... those who understand binary, and those who don't.
Sir, your VBA code, the error appears.
Sanju, did you read my whole post? You need to add a reference to the Microsoft Scripting Runtime
in VBA editor->Tools->References, and check the box next to "Microsoft Scripting Runtime"
How about just a formula?
=MIN(IF($B$3:$B$66=B3, $C$3:$C$66))
Confirmed with Ctrl+Shift+Enter.
Or a pivot table:
Row\Col G H 2Min of Value 3Equal Total 4 0 17 5 1000 5 6 2000 14 7 3000 32 8 4000 -2 9 5000 1 10 6000 -53
Entia non sunt multiplicanda sine necessitate
Maybe:
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks