#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default 'If' query

Following on from my spreadsheet issues just now - i also need to add up on
each sheet how many in column W = N and how many = U. These need to be
converted into number form (ie 4 Ns and 15 Us) on the month end sheet. By
the way, the month end sheet is a summary which has the 1 -31 days totals on
it. HELP pleeeease!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 'If' query

On 11 May, 10:35, englishrose4719
wrote:
Following on from my spreadsheet issues just now - i also need to add up on
each sheet how many in column W = N and how many = U. These need to be
converted into number form (ie 4 Ns and 15 Us) on the month end sheet. By
the way, the month end sheet is a summary which has the 1 -31 days totals on
it. HELP pleeeease!!


Hi

You need to use the countif function. This formula will count the
number of instances a peice of data occurs within a set range.

There are two possibilties

1) If the cells in column W will only contain either U, or N or any
other single digit then you type:

=countif(W1:W?,"N") - obviously the question
mark represents the end cell of your W column. You can then do the
same for the Us.

2) However, if the cells may contain other pieces of data, as well as
either the U or the N, then you need to add the wildcard symbol which
is *. This will find the desired data amongst other pieces of data
should there be any. so then you must type

=countif(W1:W?,"*N*")

Hope this helps

Rory


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default 'If' query

Hi

="there are "&COUNTIF(W:W,"N")&" N's and "COUNTIF(W:W,"U")&" U's)

--
Regards

Roger Govier


"englishrose4719" wrote in
message ...
Following on from my spreadsheet issues just now - i also need to add
up on
each sheet how many in column W = N and how many = U. These need to
be
converted into number form (ie 4 Ns and 15 Us) on the month end sheet.
By
the way, the month end sheet is a summary which has the 1 -31 days
totals on
it. HELP pleeeease!!



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
Importing Data via Web Query - Can values be passed to query? [email protected] Excel Discussion (Misc queries) 5 May 9th 06 06:21 PM
Save data retreived from query without saving query Anthony Excel Discussion (Misc queries) 0 January 25th 06 07:17 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
Microsoft Query rejects "nz" function in Access Query Vaughan Excel Discussion (Misc queries) 0 May 4th 05 05:20 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 10:22 PM.

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"