Macro countif in 1st sheet and Vlookup in 2nd sheet result should be last row of each part number

dharmadme

New Member
Joined
Mar 19, 2014
Messages
17
Hi friends,

I am trying to create set of macro functions for my work.

part of macro i need countif function in sheet 1

sheet 1

A column L Column
Part Number Countif
N8081159 5
N8081159 5
N8081159 5
N8081159 5
N8081159 5
N2080649 4
N2080649 4
N2080649 4
N2080649 4
G3070199 3
G3070199 3
G3070199 3
52119612 2
52119612 2
0339350 1
0.015.3550 4
0.015.3550 4
0.015.3550 4
0.015.3550 4


in sheet 2 same part numbers with different count
but i need sheet 1 count in last row of each part number in sheet 2 with vlookup...

Sheet 2

A column L column
Part Number vlookup with sheet1
N8081159
N8081159
N8081159 5
N2080649
N2080649 4
G3070199
G3070199 3
52119612 2
0339350
0339350
0339350 1
0.015.3550
0.015.3550 4


Part Numbers are in sorted so it will be ordered set.

i hope you can understand.
please provide solution
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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