Microsoft
Software
Hardware
Network
Question : Excel Formula to search 2 lists to produce a 3rd list
Excel:
I have 2 lists:
List 1:
Sydney
Melbourne
Adelaide
Hobart
Melbourne
Adelaide
Sydney
Melbourne
Adelaide
Perth
Perth
Melbourne
Adelaide
Sydney
Melbourne
List 2:
sydney
Melbourne
Adelaide
I need to write an excel formula that will use every string in list 2 and search for the number of instances in List 1 and produce a List 3 which will have something like:
List3:
sydney 3
Melbourne 5
Adelaide 4
Can anyone help?
Answer : Excel Formula to search 2 lists to produce a 3rd list
Try this: =IF(COUNTIF(A:A,B1)=0,"",C
ONCATENATE
(B1," ",COUNTIF(A:A,B1)))))
and drag down the little black box on the corner of the cell to populate as far as you need to go.
Random Solutions
Group Policy Inheritance
BSOD Minidump analysis stop code 19 and BAD_POOL_HEADER
Wireless print server with Windows Server 2003
Function to mark a link as hyper link
WPF: When might I want a class in the toolbar?
c# last execution time of a process and kiling the last process of the same application
Create a shortcut or drive letter for a digital camera
Send mail with classic asp on IIS7 (CDO.Message)
What does "Func<string, int> method = Work;" do?
Boxes not lining up in IE