LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default CountIF Statement combining 2 different pieces of data

I have a spreadsheet with many columns, the two I need to use are Tier and
Type -
I am trying to write a COUNTIF statement that finds a single tier such as
"US Regional: and find two types i.e. ("Airline" and "R4"). I want to find
all the entries
for "US Regional" that contain both the "airline" and "R4" types.

My Example =COUNTIF(K1:K78, "US Regional") AND COUNTIF(G1:G78, "Airline").

Explanation: I may have 12 entries for US Regional and 1 entry for
"Airline" and 8 entries for "R4". So I would like to see 9 lines showing up,
US Regional, Airline
and 8 US Regional entries and 8 entries for "R4".

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting 2 different pieces of data in 2 different columns Cindyt Excel Worksheet Functions 5 September 29th 09 11:43 PM
How to display 2 pieces of data on one bar of a Pivot Chart? J741 Excel Discussion (Misc queries) 1 June 19th 09 03:56 PM
Lookup Multiple Pieces of Data... Alan[_4_] Excel Discussion (Misc queries) 8 March 28th 07 09:18 AM
70 WORKBOOKS - NEED PIECES OF DATA FROM EACH TO FORM LIST aggie mom in dallas Excel Discussion (Misc queries) 5 September 19th 06 10:13 PM
combining 2 pieces of text from 2 columns alexy Excel Worksheet Functions 3 September 15th 05 10:35 AM


All times are GMT +1. The time now is 01:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"