Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sir Lancelot
 
Posts: n/a
Default count G4:G51 for critera only if D4:D51 contains text data

How can I make this work? I want the answer to be a number.

Column D contains individual names
Column G contains certain criteria.
I can count the criteria in column G with countif, but I only want it to
total if column D contains text data. For an example,
If d17 has no data, do not count what is in G17.

IDEAS???
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default count G4:G51 for critera only if D4:D51 contains text data

See answer to your previous post, it is always better to wait a little while
to check answers to your post

--
Regards,

Peo Sjoblom

(No private emails please)


"sir Lancelot" wrote in message
...
How can I make this work? I want the answer to be a number.

Column D contains individual names
Column G contains certain criteria.
I can count the criteria in column G with countif, but I only want it to
total if column D contains text data. For an example,
If d17 has no data, do not count what is in G17.

IDEAS???


  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default count G4:G51 for critera only if D4:D51 contains text data

=SUMPRODUCT(--(NOT(ISNUMBER(D1:D100))),--(D1:D100<""),--(G1:G100="criteria"
))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"sir Lancelot" wrote in message
...
How can I make this work? I want the answer to be a number.

Column D contains individual names
Column G contains certain criteria.
I can count the criteria in column G with countif, but I only want it to
total if column D contains text data. For an example,
If d17 has no data, do not count what is in G17.

IDEAS???



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
get SQL Server text data type into Excel pivot table Lee@360Commerce Excel Discussion (Misc queries) 0 August 19th 05 11:37 PM
Search/Extract Data w/in Text File D.Parker Excel Discussion (Misc queries) 4 June 21st 05 07:33 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 06:56 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"