Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dap1
 
Posts: n/a
Default total cells with text and number EX: GS-5

Want to total cells in which the text is 2 letters followed by a number
between 1 and 15. Example want to know how many GS-4 are in a given range of
cells.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default total cells with text and number EX: GS-5

You can use countif, for example:
=COUNTIF(A1:A20,"GS-4")
The second parameter is the criteria, you can use a cell reference instead,
to make the formula more flexible.

"dap1" wrote:

Want to total cells in which the text is 2 letters followed by a number
between 1 and 15. Example want to know how many GS-4 are in a given range of
cells.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default total cells with text and number EX: GS-5

It seems like you want to count, not total, cells with specific contents. If
that is true, try something like this:

For values in A1:A100
B1: =COUNTIF(A1:A100,"GS-4")

That formula counts the number of cells in A1:A100 that contain "GS-4".

Does that help?
(apologies if this is a dbl-post....network is acting up)

***********
Regards,
Ron

XL2002, WinXP-Pro


"dap1" wrote:

Want to total cells in which the text is 2 letters followed by a number
between 1 and 15. Example want to know how many GS-4 are in a given range of
cells.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dap1
 
Posts: n/a
Default total cells with text and number EX: GS-5

THANK YOU VERY MUCH



"Miguel Zapico" wrote:

You can use countif, for example:
=COUNTIF(A1:A20,"GS-4")
The second parameter is the criteria, you can use a cell reference instead,
to make the formula more flexible.

"dap1" wrote:

Want to total cells in which the text is 2 letters followed by a number
between 1 and 15. Example want to know how many GS-4 are in a given range of
cells.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dap1
 
Posts: n/a
Default total cells with text and number EX: GS-5

THANK YOU VERY MUCH

"Ron Coderre" wrote:

It seems like you want to count, not total, cells with specific contents. If
that is true, try something like this:

For values in A1:A100
B1: =COUNTIF(A1:A100,"GS-4")

That formula counts the number of cells in A1:A100 that contain "GS-4".

Does that help?
(apologies if this is a dbl-post....network is acting up)

***********
Regards,
Ron

XL2002, WinXP-Pro


"dap1" wrote:

Want to total cells in which the text is 2 letters followed by a number
between 1 and 15. Example want to know how many GS-4 are in a given range of
cells.

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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Excell-How to add the number of cells containing text? = a sum aruba64taw Excel Worksheet Functions 2 December 21st 05 09:51 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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