Lookups?? Obtaining two figures from a table

youngdaniel

New Member
Joined
Jul 26, 2004
Messages
38
I have a table that looks a little like this

Column A - 1 through to 50
Column B - Values such as BHX, CWL, EMA, LGW, LTN randomly placed.
Column C - Random text values, all of which would be different. That may or may not be entered.

First of all I want it to count how many times BHX, CWL, EMA, LGW and LTN appear in the 1-50.I know I do a COUNTIF formula for that. Thats fine.
I however want to know, how many BHX values have an entry in Column C and give me a count up of that.

Is it lookups? arrays? im a little lost?

Some help please.



[/code]
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

KleptoOne

Board Regular
Joined
Nov 18, 2004
Messages
111
Try the Sumproduct Function:
Code:
=Sumproduct(($B$1:$B$50="BHX")*($C$1:$C$50<>""))
 

Forum statistics

Threads
1,147,689
Messages
5,742,633
Members
423,745
Latest member
rtaylor1987

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
Top