Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formula for If - SUMIF

Excel 2003, what is the formula?

I have 2 columns of data. If there are X's in cells in column 1, I need to
count the number of coresponding cells in column 2 that have a specific
criteria (N/A).

Colimn 1 has an X or is blank, column 2 has 1, 2, 3, 4, 5 or N/A.
--
Thanks
Keith L
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Formula for If - SUMIF

Keith, what if you did a "vlookup" first and then sunif. this might be a
longer way round but it may work.

"Keith L" wrote:

Excel 2003, what is the formula?

I have 2 columns of data. If there are X's in cells in column 1, I need to
count the number of coresponding cells in column 2 that have a specific
criteria (N/A).

Colimn 1 has an X or is blank, column 2 has 1, 2, 3, 4, 5 or N/A.
--
Thanks
Keith L

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Formula for If - SUMIF

Is it TEXT N/A or the error value #N/A ?

For TEXT N/A:

=SUMPRODUCT(--(A1:A10="X"),--(B1:B10="N/A"))

For error value #N/A:

=SUMPRODUCT(--(A1:A10="X"),--(ISNA(B1:B10)))

Biff

"Keith L" wrote in message
...
Excel 2003, what is the formula?

I have 2 columns of data. If there are X's in cells in column 1, I need to
count the number of coresponding cells in column 2 that have a specific
criteria (N/A).

Colimn 1 has an X or is blank, column 2 has 1, 2, 3, 4, 5 or N/A.
--
Thanks
Keith L



Reply
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
help with sumif formula with multiple critera Matt Excel Worksheet Functions 4 October 13th 07 06:56 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
formula (perhaps sumif?) redb Excel Discussion (Misc queries) 3 October 3rd 05 01:48 PM
Array Formula w/ Multiple SumIf Criteria Andy Excel Worksheet Functions 3 July 13th 05 08:56 PM


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

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

About Us

"It's about Microsoft Excel"